Date: Tue, 9 Dec 2003 23:15:11 +0900 From: KATO Tsuguru <tkato@prontomail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/60072: Update port: x11/ebuttons Message-ID: <20031209231511.2686992e.tkato@prontomail.com> Resent-Message-ID: <200312091420.hB9EK42T026406@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 60072 >Category: ports >Synopsis: Update port: x11/ebuttons >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Dec 09 06:20:04 PST 2003 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.9-RELEASE-p1 i386 >Organization: >Environment: >Description: - Fix build ageinst newer version of libepplet Remove file: files/Makefile >How-To-Repeat: >Fix: diff -urN /usr/ports/x11/ebuttons/Makefile x11/ebuttons/Makefile --- /usr/ports/x11/ebuttons/Makefile Mon Oct 27 19:12:54 2003 +++ x11/ebuttons/Makefile Tue Dec 9 19:09:45 2003 @@ -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 @@ 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 -urN /usr/ports/x11/ebuttons/files/Makefile x11/ebuttons/files/Makefile --- /usr/ports/x11/ebuttons/files/Makefile Sat Apr 1 03:23:14 2000 +++ x11/ebuttons/files/Makefile Thu Jan 1 09:00:00 1970 @@ -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 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031209231511.2686992e.tkato>