diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2003-12-09 20:13:44 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2003-12-09 20:13:44 +0000 |
commit | 814bf4b0b1d493769e0c9214e729098b251a63f6 (patch) | |
tree | 2987140fdae8deb84582df625f3cb381e697932a /x11 | |
parent | - Update to version 0.7 (diff) |
- Fix build against new version of libepplet
PR: 60072
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=95499
Diffstat (limited to 'x11')
-rw-r--r-- | x11/ebuttons/Makefile | 14 | ||||
-rw-r--r-- | x11/ebuttons/files/Makefile | 10 | ||||
-rw-r--r-- | x11/ebuttons/pkg-descr | 3 |
3 files changed, 8 insertions, 19 deletions
diff --git a/x11/ebuttons/Makefile b/x11/ebuttons/Makefile index e0221bd347c0..b1af8fbbf393 100644 --- a/x11/ebuttons/Makefile +++ b/x11/ebuttons/Makefile @@ -1,4 +1,4 @@ -# New ports collection makefile for: E-Buttons 0.2 +# New ports collection makefile for: E-Buttons # Date created: 30 March 2000 # Whom: jhb # @@ -7,6 +7,7 @@ PORTNAME= E-buttons PORTVERSION= 0.2 +PORTREVISION= 1 CATEGORIES= x11 MASTER_SITES= http://www.moodfarm.demon.co.uk/download/ EXTRACT_SUFX= .tgz @@ -14,17 +15,18 @@ 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/epplets +LIB_DEPENDS= epplet.1:${PORTSDIR}/x11-wm/libepplet WRKSRC= ${WRKDIR}/E-buttons USE_X_PREFIX= yes -pre-patch: - ${CP} ${FILESDIR}/Makefile ${WRKSRC} +CPPFLAGS= -I${X11BASE}/include ${PTHREAD_CFLAGS} +LDFLAGS= -L${X11BASE}/lib -lepplet ${PTHREAD_LIBS} -pre-build: - @(cd ${WRKSRC} && ${MAKE} clean) +do-build: + cd ${WRKSRC} && ${CC} ${CFLAGS} ${CPPFLAGS} -o E-Buttons.epplet \ + ${PORTNAME}.c ${LDFLAGS} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/E-Buttons.epplet ${PREFIX}/bin diff --git a/x11/ebuttons/files/Makefile b/x11/ebuttons/files/Makefile deleted file mode 100644 index 8066ac80978e..000000000000 --- a/x11/ebuttons/files/Makefile +++ /dev/null @@ -1,10 +0,0 @@ -LIBS = -L${X11BASE}/lib -lepplet -CFLAGS += -I${X11BASE}/include - -all: E-Buttons.epplet - -E-Buttons.epplet: E-buttons.c - ${CC} ${CFLAGS} ${.ALLSRC} ${LIBS} -o ${.TARGET} - -clean: - rm -f E-Buttons.epplet E-buttons.epplet diff --git a/x11/ebuttons/pkg-descr b/x11/ebuttons/pkg-descr index f13d230d0e8f..3802076e357d 100644 --- a/x11/ebuttons/pkg-descr +++ b/x11/ebuttons/pkg-descr @@ -2,6 +2,3 @@ A simple epplet for Enlightenment that provides several buttons used to launch applications. It is modeled on asbutton. WWW: http://www.moodfarm.demon.co.uk/download/#ebuttons - -- John -jhb@FreeBSD.org |