aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2005-05-03 09:56:23 +0800
committerclsung <clsung@FreeBSD.org>2005-05-03 09:56:23 +0800
commit77fe2cf93ecb11ea034d972de8481c6e8f13cb0e (patch)
treecebe4b5e8eeb33d3b6e0a298609581f3cf2d7e4a /www
parent89b04bb7dc642a8716fd317fead4739e91e8942f (diff)
downloadfreebsd-ports-gnome-77fe2cf93ecb11ea034d972de8481c6e8f13cb0e.tar.gz
freebsd-ports-gnome-77fe2cf93ecb11ea034d972de8481c6e8f13cb0e.tar.zst
freebsd-ports-gnome-77fe2cf93ecb11ea034d972de8481c6e8f13cb0e.zip
- _*.zip changed
- add WITH_BIG5 option
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