ports/60073: Update port: x11/efancylauncher
KATO Tsuguru
tkato at prontomail.com
Tue Dec 9 14:20:32 UTC 2003
>Number: 60073
>Category: ports
>Synopsis: Update port: x11/efancylauncher
>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
- Fix pkg-plist
Remove file:
files/patch-aa
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/x11/efancylauncher/Makefile x11/efancylauncher/Makefile
--- /usr/ports/x11/efancylauncher/Makefile Mon Oct 27 19:12:54 2003
+++ x11/efancylauncher/Makefile Tue Dec 9 00:37:53 2003
@@ -7,6 +7,7 @@
PORTNAME= E-FancyLauncher
PORTVERSION= 0.7
+PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= http://user.it.uu.se/~adavid/Epplets/
EXTRACT_SUFX= .tgz
@@ -14,16 +15,28 @@
MAINTAINER= ports at FreeBSD.org
COMMENT= A flexible and easily configurable button bar for Enlightenment
-LIB_DEPENDS= epplet.1:${PORTSDIR}/x11-wm/epplets # XXX
+LIB_DEPENDS= epplet.2:${PORTSDIR}/x11-wm/libepplet
WRKSRC= ${WRKDIR}/E-FancyLauncher
-USE_GMAKE= yes
USE_X_PREFIX= yes
-ALL_TARGET= clean all
+CPPFLAGS= -I${X11BASE}/include ${PTHREAD_CFLAGS}
+LDFLAGS= -L${X11BASE}/lib -lepplet ${PTHREAD_LIBS}
-post-patch:
- ( cd ${WRKSRC} ; ${MV} makefile Makefile )
+E_ROOT= ${PREFIX}/share/enlightenment
+
+do-build:
+ cd ${WRKSRC} && ${CC} ${CFLAGS} ${CPPFLAGS} -o ${PORTNAME}.epplet \
+ ${PORTNAME}.c ${LDFLAGS}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}.epplet ${PREFIX}/bin
+ @${MKDIR} ${E_ROOT}/epplet_data/${PORTNAME}
+ ${TAR} -C ${WRKSRC} -cf - E-FancyLauncher.ABOUT 1.gif 2.gif 3.gif | \
+ ${TAR} -C ${E_ROOT}/epplet_data/${PORTNAME} --unlink -xf -
+ @${CHOWN} -R ${SHAREOWN}:${SHAREMODE} ${E_ROOT}/epplet_data/${PORTNAME}
+ @${MKDIR} ${E_ROOT}/epplet_icons
+ ${INSTALL_DATA} ${WRKSRC}/E-FancyLauncher.icon ${E_ROOT}/epplet_icons
.include <bsd.port.mk>
diff -urN /usr/ports/x11/efancylauncher/files/patch-aa x11/efancylauncher/files/patch-aa
--- /usr/ports/x11/efancylauncher/files/patch-aa Sat Apr 1 03:28:30 2000
+++ x11/efancylauncher/files/patch-aa Thu Jan 1 09:00:00 1970
@@ -1,32 +0,0 @@
---- makefile.orig Sat Mar 11 12:05:21 2000
-+++ makefile Fri Mar 31 09:45:06 2000
-@@ -5,6 +5,8 @@
- DOC = $(NAME).ABOUT
- DATA = 1.gif 2.gif 3.gif
- DOC_OR_DATA = 1
-+EBIN = ${PREFIX}/bin
-+EROOT = ${PREFIX}/share/enlightenment
- DATAPATH = ${EROOT}/epplet_data/$(NAME)
-
- all: $(EPPLET)
-@@ -13,10 +15,7 @@
- @make -i -s pack
-
- %.epplet: %.c
-- @echo Compiling $@
-- @gcc -Wall -O2 -I/usr/X11R6/include -o $@ $< -lepplet
-- @strip $@;
-- @if [ ! -z "`which sstrip`" ]; then sstrip $@; fi;
-+ ${CC} ${CFLAGS} -I${PREFIX}/include -o $@ $< -L${PREFIX}/lib -lepplet
-
- install: $(EPPLET)
- @if [ -z "${EROOT}" -o -z "${EBIN}" ]; then\
-@@ -52,7 +51,7 @@
- @echo $(NAME) "uninstalled :("
-
- clean:
-- rm $(EPPLET) *~
-+ rm $(EPPLET)
-
- pack: $(EPPLET)
- rm *~
diff -urN /usr/ports/x11/efancylauncher/pkg-plist x11/efancylauncher/pkg-plist
--- /usr/ports/x11/efancylauncher/pkg-plist Sat Apr 1 03:28:29 2000
+++ x11/efancylauncher/pkg-plist Tue Dec 9 00:22:29 2003
@@ -11,6 +11,8 @@
share/enlightenment/epplet_data/E-FancyLauncher/E-FancyLauncher.ABOUT/bg.jpg
share/enlightenment/epplet_data/E-FancyLauncher/E-FancyLauncher.ABOUT/config_window.png
share/enlightenment/epplet_data/E-FancyLauncher/E-FancyLauncher.ABOUT/verdana.ttf
+share/enlightenment/epplet_icons/E-FancyLauncher.icon
+ at unexec rmdir %D/share/enlightenment/epplet_icons 2>/dev/null || true
@dirrm share/enlightenment/epplet_data/E-FancyLauncher/E-FancyLauncher.ABOUT
@dirrm share/enlightenment/epplet_data/E-FancyLauncher
-share/enlightenment/epplet_icons/E-FancyLauncher.icon
+ at unexec rmdir %D/share/enlightenment/epplet_data 2>/dev/null || true
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list