aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2005-05-03 01:56:23 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2005-05-03 01:56:23 +0000
commitca834f3c6c94eec0f7d3e846d2d3cbcf8f9ec020 (patch)
treea03a2ed7509c2a56ac6fc6ece6e32230a2fcf8ac /www
parent9c5912ca9158523313768b235f0fc1d0c3c29728 (diff)
downloadports-ca834f3c6c94eec0f7d3e846d2d3cbcf8f9ec020.tar.gz
ports-ca834f3c6c94eec0f7d3e846d2d3cbcf8f9ec020.zip
Notes
Diffstat (limited to 'www')
-rw-r--r--www/lifetype/Makefile11
-rw-r--r--www/lifetype/distinfo8
-rw-r--r--www/plog/Makefile11
-rw-r--r--www/plog/distinfo8
4 files changed, 28 insertions, 10 deletions
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 <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/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 <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