From 77fe2cf93ecb11ea034d972de8481c6e8f13cb0e Mon Sep 17 00:00:00 2001 From: clsung Date: Tue, 3 May 2005 01:56:23 +0000 Subject: - _*.zip changed - add WITH_BIG5 option --- www/lifetype/Makefile | 11 ++++++++++- www/lifetype/distinfo | 8 ++++---- www/plog/Makefile | 11 ++++++++++- www/plog/distinfo | 8 ++++---- 4 files changed, 28 insertions(+), 10 deletions(-) (limited to 'www') diff --git a/www/lifetype/Makefile b/www/lifetype/Makefile index 56c556a3b42f..bdedc2f19869 100644 --- a/www/lifetype/Makefile +++ b/www/lifetype/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 @@ -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/lifetype/distinfo b/www/lifetype/distinfo index 69542cfa5fef..eee7a7bff01e 100644 --- a/www/lifetype/distinfo +++ b/www/lifetype/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 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 @@ -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 -- cgit