summaryrefslogtreecommitdiffstats
path: root/www/amyc/Makefile
diff options
context:
space:
mode:
authordwcjr <dwcjr@FreeBSD.org>2001-07-08 04:34:18 +0000
committerdwcjr <dwcjr@FreeBSD.org>2001-07-08 04:34:18 +0000
commit5a5aa75de05e3d46e95dd8605bd44ff6a63630a3 (patch)
treee67cf5b81e43caea3b9c5444ad716eaa5db0f764 /www/amyc/Makefile
parent7fa97c8d0b4e0591726eebf91aa34a718c2405d1 (diff)
downloadFreeBSD-ports-5a5aa75de05e3d46e95dd8605bd44ff6a63630a3.zip
FreeBSD-ports-5a5aa75de05e3d46e95dd8605bd44ff6a63630a3.tar.gz
Fix locale
Fix pkg-plist and installation of binary that depends on GTK if installed PR: 28804 Submitted by: maintainer
Diffstat (limited to 'www/amyc/Makefile')
-rw-r--r--www/amyc/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/www/amyc/Makefile b/www/amyc/Makefile
index c334105..d5c0841 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>
OpenPOWER on IntegriCloud