diff options
author | ben <ben@pkgsrc.org> | 2004-03-03 21:14:41 +0000 |
---|---|---|
committer | ben <ben@pkgsrc.org> | 2004-03-03 21:14:41 +0000 |
commit | 08689988c948c45cc6a3dd21367e472579e9c897 (patch) | |
tree | 4b307a8f258f0a19df0c49f24c88ad72b042e2de /www | |
parent | 4d1f71b8d6c9fb413a6a4ae6d72e081b08e9c9c0 (diff) | |
download | pkgsrc-08689988c948c45cc6a3dd21367e472579e9c897.tar.gz |
Fix Chinese PO file.
Diffstat (limited to 'www')
-rw-r--r-- | www/lynx/Makefile | 10 | ||||
-rw-r--r-- | www/lynx/PLIST | 3 |
2 files changed, 8 insertions, 5 deletions
diff --git a/www/lynx/Makefile b/www/lynx/Makefile index 7a42db44945..7fb95efbe61 100644 --- a/www/lynx/Makefile +++ b/www/lynx/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.67 2004/03/03 14:01:00 adam Exp $ +# $NetBSD: Makefile,v 1.68 2004/03/03 21:14:41 ben Exp $ # DISTNAME= lynx2.8.5 @@ -108,9 +108,11 @@ CONFIGURE_ARGS+= --with-socks5 CONFIGURE_ARGS+= --enable-ipv6 .endif -# problem encountered with zh_TW.po, maybe it will be fixed in the future -post-extract: - ${RM} ${WRKSRC}/po/zh_TW.po +SUBST_CLASSES+= gettext +SUBST_MESSAGE.gettext= "Fixing Chinese PO file." +SUBST_STAGE.gettext= post-patch +SUBST_FILES.gettext= po/zh_TW.po +SUBST_SED.gettext= '/^msgstr/s/\(\\[^"[:alpha:]]\)/\\\1/g' post-install: ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/lynx diff --git a/www/lynx/PLIST b/www/lynx/PLIST index 594ee308924..6b062044404 100644 --- a/www/lynx/PLIST +++ b/www/lynx/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.6 2004/03/03 14:01:00 adam Exp $ +@comment $NetBSD: PLIST,v 1.7 2004/03/03 21:14:41 ben Exp $ bin/lynx man/man1/lynx.1 ${PKGLOCALEDIR}/locale/ca/LC_MESSAGES/lynx.mo @@ -18,6 +18,7 @@ ${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/lynx.mo ${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/lynx.mo ${PKGLOCALEDIR}/locale/uk/LC_MESSAGES/lynx.mo ${PKGLOCALEDIR}/locale/zh_CN/LC_MESSAGES/lynx.mo +${PKGLOCALEDIR}/locale/zh_TW/LC_MESSAGES/lynx.mo share/lynx/lynx.cfg share/lynx/lynx.lss share/lynx/lynx_doc/CHANGES |