diff options
author | ben <ben> | 2004-03-03 21:14:41 +0000 |
---|---|---|
committer | ben <ben> | 2004-03-03 21:14:41 +0000 |
commit | a65011b354e3f14c1617a686ede1935efb50d6f6 (patch) | |
tree | 4b307a8f258f0a19df0c49f24c88ad72b042e2de /www/lynx | |
parent | bfaaee85ffab69b96bb84d2157f3f512e30c2240 (diff) | |
download | pkgsrc-a65011b354e3f14c1617a686ede1935efb50d6f6.tar.gz |
Fix Chinese PO file.
Diffstat (limited to 'www/lynx')
-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 |