aboutsummaryrefslogtreecommitdiff
path: root/editors/gmanedit/Makefile
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2007-10-24 23:37:25 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2007-10-24 23:37:25 +0000
commit4acc6fb2a411b291c9c210d82bafe7c62e71c77d (patch)
treebc16420eb52d65511ceb520c00171d219210a473 /editors/gmanedit/Makefile
parent97dfcc1b41c5b4581b1d73128a866beec069c5bf (diff)
downloadports-4acc6fb2a411b291c9c210d82bafe7c62e71c77d.tar.gz
ports-4acc6fb2a411b291c9c210d82bafe7c62e71c77d.zip
Notes
Diffstat (limited to 'editors/gmanedit/Makefile')
-rw-r--r--editors/gmanedit/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/editors/gmanedit/Makefile b/editors/gmanedit/Makefile
index 4c2f73ac4427..5db734dde6e4 100644
--- a/editors/gmanedit/Makefile
+++ b/editors/gmanedit/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gmanedit
PORTVERSION= 0.3.1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= editors gnome
MASTER_SITES= http://gmanedit.sourceforge.net/files/ \
${MASTER_SITE_SOURCEFORGE}
@@ -28,9 +28,12 @@ ALL_TARGET= clean all
post-extract:
@${RM} -rf ${WRKSRC}/config.cache
+ @${FIND} ${WRKSRC} -name Makefile | ${XARGS} ${RM} -f
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
- s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+ s|DATADIRNAME=lib|DATADIRNAME=share|g ; \
+ s|PACKAGE_PIXMAPS_DIR=".*/pixmaps|PACKAGE_PIXMAPS_DIR="${PREFIX}/share/pixmaps|g' \
+ ${WRKSRC}/configure
.include <bsd.port.mk>