aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/zhcon
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2004-08-05 08:13:49 +0800
committerleeym <leeym@FreeBSD.org>2004-08-05 08:13:49 +0800
commit1eddd1c08614f8fd1c79241c6bf6546cfbb6b51f (patch)
tree01fc2d15bf3623f1ad1f0b9e85298b8e8215c854 /chinese/zhcon
parentf1ceb5932e09e24e6405fa82bbaea3f41edece5a (diff)
downloadfreebsd-ports-gnome-1eddd1c08614f8fd1c79241c6bf6546cfbb6b51f.tar.gz
freebsd-ports-gnome-1eddd1c08614f8fd1c79241c6bf6546cfbb6b51f.tar.zst
freebsd-ports-gnome-1eddd1c08614f8fd1c79241c6bf6546cfbb6b51f.zip
set localedir to PREFIX/share/locale to be synchronized with PLIST
Diffstat (limited to 'chinese/zhcon')
-rw-r--r--chinese/zhcon/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/chinese/zhcon/Makefile b/chinese/zhcon/Makefile
index 112bc493a1a8..a914e96c643c 100644
--- a/chinese/zhcon/Makefile
+++ b/chinese/zhcon/Makefile
@@ -25,6 +25,7 @@ ONLY_FOR_ARCHS= i386
MAN1= zhcon.1
post-patch:
- ${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -Ee 's,(\s*=\s*)("?)/usr/local([^"]*)("?),\1\2${PREFIX}\3\4,g' \
+ ${WRKSRC}/${CONFIGURE_SCRIPT}
.include <bsd.port.mk>