diff options
author | adamw <adamw@FreeBSD.org> | 2004-02-20 06:58:22 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2004-02-20 06:58:22 +0800 |
commit | 753479392b64d2576a3f71f3bf0547ddc740a5a1 (patch) | |
tree | b5282e5dd6af0a87dce5a7f3efe3038b38f74585 /devel | |
parent | 2e0e78e553b6372274880e1b2e58165ddd467c72 (diff) | |
download | freebsd-ports-gnome-753479392b64d2576a3f71f3bf0547ddc740a5a1.tar.gz freebsd-ports-gnome-753479392b64d2576a3f71f3bf0547ddc740a5a1.tar.zst freebsd-ports-gnome-753479392b64d2576a3f71f3bf0547ddc740a5a1.zip |
Correct the some hardcoded paths that rendered the application
useless for anything except browsing uncompiled po files.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/gtranslator/Makefile | 8 |
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> |