diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2005-05-03 01:56:23 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2005-05-03 01:56:23 +0000 |
commit | ca834f3c6c94eec0f7d3e846d2d3cbcf8f9ec020 (patch) | |
tree | a03a2ed7509c2a56ac6fc6ece6e32230a2fcf8ac /www/plog | |
parent | - Update to 1.1 (diff) |
- _*.zip changed
- add WITH_BIG5 option
Diffstat (limited to 'www/plog')
-rw-r--r-- | www/plog/Makefile | 11 | ||||
-rw-r--r-- | www/plog/distinfo | 8 |
2 files changed, 14 insertions, 5 deletions
diff --git a/www/plog/Makefile b/www/plog/Makefile index 56c556a3b42f..bdedc2f19869 100644 --- a/www/plog/Makefile +++ b/www/plog/Makefile @@ -32,7 +32,8 @@ PLOGDIR?= ${WWWDOCROOT}/${PLOGURL} PLIST= ${WRKDIR}/pkg-plist PKGMESSAGE= ${WRKDIR}/pkg-message -OPTIONS= GD "With GD Support" on \ +OPTIONS= BIG5 "With Big5 chinese template fix" off \ + GD "With GD Support" on \ IMAGICK "With ImageMagick Support" off .include <bsd.port.pre.mk> @@ -55,6 +56,14 @@ post-extract: cd ${WRKSRC}/${x} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/_all_${x}${EXTRACT_SUFX} .endfor +.if defined(WITH_BIG5) +USE_REINPLACE=yes + +post-patch: + ${FIND} ${WRKSRC}/templates -name "*.template" | \ + ${XARGS} ${REINPLACE_CMD} -e 's/|capitalize//g' -e 's/%b/%B/g' + ${FIND} ${WRKSRC}/templates -name "*.template.bak" -delete +.endif pre-install: @${RM} -f ${PLIST} @cd ${WRKSRC} && ${FIND} -s . -type f | \ diff --git a/www/plog/distinfo b/www/plog/distinfo index 69542cfa5fef..eee7a7bff01e 100644 --- a/www/plog/distinfo +++ b/www/plog/distinfo @@ -1,6 +1,6 @@ MD5 (plog-1.0.zip) = 4d48680437c8be9a6427ba78964b0e9f SIZE (plog-1.0.zip) = 2420990 -MD5 (_all_plugins.zip) = 324cdae079d041177ed1099f109fad01 -SIZE (_all_plugins.zip) = 1663132 -MD5 (_all_templates.zip) = 35eb2420e5a944f42a9ced2e0e7dae31 -SIZE (_all_templates.zip) = 5253027 +MD5 (_all_plugins.zip) = 5650f2f37bde982f692f4647d1995938 +SIZE (_all_plugins.zip) = 1672445 +MD5 (_all_templates.zip) = 8fe83304806611146cd4f23beea2e91a +SIZE (_all_templates.zip) = 5261827 |