aboutsummaryrefslogtreecommitdiffstats
path: root/x11/ebuttons/Makefile
blob: 20f76e2c050e9b99e026ec4dea72b3e4441747e7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# New ports collection makefile for:    E-Buttons
# Date created:     30 March 2000
# Whom:         jhb
#
# $FreeBSD$
#

PORTNAME=   E-buttons
PORTVERSION=    0.2
PORTREVISION=   2
CATEGORIES= x11
MASTER_SITES=   http://www.moodfarm.demon.co.uk/download/
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    A simple epplet that contains several buttons used to launch programs

LIB_DEPENDS=    epplet.1:${PORTSDIR}/x11-wm/libepplet

PLIST_FILES=    bin/E-Buttons.epplet

WRKSRC=     ${WRKDIR}/E-buttons

USE_X_PREFIX=   yes

CPPFLAGS=   -I${X11BASE}/include ${PTHREAD_CFLAGS}
LDFLAGS=    -L${X11BASE}/lib -lepplet ${PTHREAD_LIBS}

do-build:
    cd ${WRKSRC} && ${CC} ${CFLAGS} ${CPPFLAGS} -o E-Buttons.epplet \
        ${PORTNAME}.c ${LDFLAGS}

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/E-Buttons.epplet ${PREFIX}/bin

.include <bsd.port.mk>