aboutsummaryrefslogtreecommitdiff
path: root/devel/gtranslator
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2004-02-19 22:58:22 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2004-02-19 22:58:22 +0000
commit005311198f7a1f9c89c8d82c2a862c4d01b3daf3 (patch)
treec70861ab9b545c9c289dab7d1a22aa5e87291cb0 /devel/gtranslator
parent358739bf3ad822e472386ee9090a9619622cc9db (diff)
downloadports-005311198f7a1f9c89c8d82c2a862c4d01b3daf3.tar.gz
ports-005311198f7a1f9c89c8d82c2a862c4d01b3daf3.zip
Notes
Diffstat (limited to 'devel/gtranslator')
-rw-r--r--devel/gtranslator/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/gtranslator/Makefile b/devel/gtranslator/Makefile
index 5284840153ab..05c62b17e116 100644
--- a/devel/gtranslator/Makefile
+++ b/devel/gtranslator/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gtranslator
PORTVERSION= 1.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel gnome
MASTER_SITES= http://www.gtranslator.org/download/releases/${PORTVERSION}/ \
${MASTER_SITE_SOURCEFORGE}
@@ -23,8 +23,14 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lgnuregex"
CONFIGURE_ARGS= --disable-debug
+USE_REINPLACE= yes
MAN1= gtranslator.1 pozilla.sh.1
MANCOMPRESSED= yes
+post-patch:
+ @${REINPLACE_CMD} -e "s|/usr/share/gtranslator|${DATADIR}|g; \
+ s|/usr/share/pixmaps|${PREFIX}/share/gnome/pixmaps|g" \
+ ${WRKSRC}/src/defines.h
+
.include <bsd.port.mk>