aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-05-23 22:23:23 +0800
committermiwi <miwi@FreeBSD.org>2009-05-23 22:23:23 +0800
commit62ef6444ceaec033c59b50333ad5f80701577893 (patch)
tree16b7044995dc8688b1e215d0200a9d80292ac4b8
parent885085bc986e916db83d3c85f1f761b4285053ec (diff)
downloadfreebsd-ports-gnome-62ef6444ceaec033c59b50333ad5f80701577893.tar.gz
freebsd-ports-gnome-62ef6444ceaec033c59b50333ad5f80701577893.tar.zst
freebsd-ports-gnome-62ef6444ceaec033c59b50333ad5f80701577893.zip
- Update to 3.03
PR: 134630 Submitted by: Ports Fury
-rw-r--r--x11/xnee/Makefile19
-rw-r--r--x11/xnee/distinfo6
2 files changed, 16 insertions, 9 deletions
diff --git a/x11/xnee/Makefile b/x11/xnee/Makefile
index c7b5e6099748..b29e92ee3c23 100644
--- a/x11/xnee/Makefile
+++ b/x11/xnee/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= xnee
-PORTVERSION= 3.02
+PORTVERSION= 3.03
CATEGORIES= x11
MASTER_SITES= GNU
@@ -17,7 +17,7 @@ OPTIONS= GNEE "Build the GUI frontend" off \
PNEE "Build the Gnome Panel frontend" off
USE_XORG= xtst
-USE_GNOME= gnomehack gnometarget
+USE_GNOME= gnomehack
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-cli --disable-doc
@@ -25,12 +25,12 @@ CONFIGURE_ARGS= --enable-cli --disable-doc
MAN1= cnee.1 xnee.1
INFO= xnee
PLIST_FILES= bin/cnee \
+ share/pixmaps/xnee.png \
+ share/pixmaps/xnee.xpm \
%%DATADIR%%/example1.xns \
- %%DATADIR%%/pixmaps/xnee.png \
- %%DATADIR%%/pixmaps/xnee.xpm \
%%DATADIR%%/simple_bash.sh \
%%DATADIR%%/xnee.sh
-PLIST_DIRS= %%DATADIR%%/pixmaps %%DATADIR%%
+PLIST_DIRS= ${PNEE_DIR} %%DATADIR%%
.include <bsd.port.pre.mk>
@@ -51,6 +51,7 @@ PLIST_FILES+= libdata/bonobo/servers/pnee.server \
%%DATADIR%%/pixmaps/pnee-replay.png \
%%DATADIR%%/pixmaps/pnee-stop-mini.png \
%%DATADIR%%/pixmaps/pnee-stop.png
+PNEE_DIR= %%DATADIR%%/pixmaps
.else
CONFIGURE_ARGS+= --disable-gnome-applet
.endif
@@ -59,7 +60,7 @@ post-patch:
@${REINPLACE_CMD} -e \
's|$${libdir}/gnome-panel|$${prefix}/libexec|g ; \
s|$${libdir}/bonobo/|$${prefix}/libdata/bonobo/|g ; \
- s|CCC||g' ${WRKSRC}/configure
+ s|"CCC"|""|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e \
's|@PIXMAP_DIR@|pixmap|g ; \
s|@DOC_DIR@||g' ${WRKSRC}/Makefile.in
@@ -68,9 +69,15 @@ post-patch:
@${REINPLACE_CMD} -e \
's|: install-docDATA|:|g' ${WRKSRC}/cnee/src/Makefile.in
@${REINPLACE_CMD} -e \
+ 's|src test|src|g' ${WRKSRC}/libxnee/Makefile.in
+ @${REINPLACE_CMD} -e \
+ 's|ap=NULL;|ap;|g' ${WRKSRC}/libxnee/src/feedback.c
+ @${REINPLACE_CMD} -e \
's|cp pnee|$$(INSTALL_DATA) pnee|g' ${WRKSRC}/pnee/Makefile.in
@${REINPLACE_CMD} -e \
's|cp $$(PNEE)|$$(INSTALL_PROGRAM) $$(PNEE)|g' ${WRKSRC}/pnee/src/Makefile.in
+ @${REINPLACE_CMD} -e \
+ '/<gnome.h>/d' ${WRKSRC}/pnee/src/pnee_impl.h
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/xnee.info ${PREFIX}/${INFO_PATH}
diff --git a/x11/xnee/distinfo b/x11/xnee/distinfo
index 7ebd6138d876..1a5877f84f5f 100644
--- a/x11/xnee/distinfo
+++ b/x11/xnee/distinfo
@@ -1,3 +1,3 @@
-MD5 (xnee-3.02.tar.gz) = 55a287c8468bb8ed3d6ad21e66aa379f
-SHA256 (xnee-3.02.tar.gz) = fe348f343d1c380d0cf5e51b007dd891f81095beca670b50725ca0ccad12918e
-SIZE (xnee-3.02.tar.gz) = 1714690
+MD5 (xnee-3.03.tar.gz) = 0020331fc6e66292cd613b308119ee48
+SHA256 (xnee-3.03.tar.gz) = 7d6448fa4457d1f058912727af673b8b84ce19f1a96568fad1a920a6201cf489
+SIZE (xnee-3.03.tar.gz) = 4362344