aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2001-07-08 04:34:18 +0000
committerDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2001-07-08 04:34:18 +0000
commit667ad27b5dab0fa234be3c08b315f114e32db20a (patch)
tree94ebd3b211558117da0b1eed7e7840f0e1225d83 /www
parent9586c38ddb8bcab7e03c56365baa21bdf877be53 (diff)
downloadports-667ad27b5dab0fa234be3c08b315f114e32db20a.tar.gz
ports-667ad27b5dab0fa234be3c08b315f114e32db20a.zip
Notes
Diffstat (limited to 'www')
-rw-r--r--www/amyc/Makefile6
-rw-r--r--www/amyc/pkg-plist5
2 files changed, 9 insertions, 2 deletions
diff --git a/www/amyc/Makefile b/www/amyc/Makefile
index c3341059fd70..d5c0841d8777 100644
--- a/www/amyc/Makefile
+++ b/www/amyc/Makefile
@@ -7,6 +7,7 @@
PORTNAME= amyc
PORTVERSION= 0.9.159
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://www.crevola.com/about/current/
@@ -26,8 +27,13 @@ WANT_GTK= yes
.if defined(HAVE_GTK)
PLIST_SUB= WITH_GTK=""
+USE_GTK= yes
.else
PLIST_SUB= WITH_GTK="@comment "
.endif
+post-patch:
+ @${PERL} -pi -e 's!\(datadir\)/locale!(prefix)/share/locale!' \
+ ${WRKSRC}/po/Makefile.in.in
+
.include <bsd.port.post.mk>
diff --git a/www/amyc/pkg-plist b/www/amyc/pkg-plist
index ac5fe751a762..115e943325a5 100644
--- a/www/amyc/pkg-plist
+++ b/www/amyc/pkg-plist
@@ -1,5 +1,6 @@
bin/amyc
%%WITH_GTK%%bin/amycg
share/locale/fr/LC_MESSAGES/amyc.mo
-@unexec rmdir share/locale/fr/LC_MESSAGES 2>/dev/null || true
-@unexec rmdir share/locale/fr 2>/dev/null || true
+@unexec rmdir %D/share/locale/fr/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/fr 2>/dev/null || true
+@unexec rmdir %D/share/locale 2>/dev/null || true