pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/lynx Fix Chinese PO file.
details: https://anonhg.NetBSD.org/pkgsrc/rev/d225dbaabeb1
branches: trunk
changeset: 469964:d225dbaabeb1
user: ben <ben%pkgsrc.org@localhost>
date: Wed Mar 03 21:14:41 2004 +0000
description:
Fix Chinese PO file.
diffstat:
www/lynx/Makefile | 10 ++++++----
www/lynx/PLIST | 3 ++-
2 files changed, 8 insertions(+), 5 deletions(-)
diffs (41 lines):
diff -r 82cf4c5321be -r d225dbaabeb1 www/lynx/Makefile
--- a/www/lynx/Makefile Wed Mar 03 21:09:52 2004 +0000
+++ b/www/lynx/Makefile Wed Mar 03 21:14:41 2004 +0000
@@ -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+= --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 -r 82cf4c5321be -r d225dbaabeb1 www/lynx/PLIST
--- a/www/lynx/PLIST Wed Mar 03 21:09:52 2004 +0000
+++ b/www/lynx/PLIST Wed Mar 03 21:14:41 2004 +0000
@@ -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/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
Home |
Main Index |
Thread Index |
Old Index