aboutsummaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
Diffstat (limited to 'japanese')
-rw-r--r--japanese/bugzilla42/Makefile21
-rw-r--r--japanese/bugzilla42/distinfo4
-rw-r--r--japanese/bugzilla42/pkg-plist2
3 files changed, 15 insertions, 12 deletions
diff --git a/japanese/bugzilla42/Makefile b/japanese/bugzilla42/Makefile
index 5837c5660803..74d7aaebed05 100644
--- a/japanese/bugzilla42/Makefile
+++ b/japanese/bugzilla42/Makefile
@@ -6,12 +6,11 @@
#
PORTNAME= bugzilla
-PORTVERSION= 4.2.1
+PORTVERSION= 4.2.2
CATEGORIES= japanese
MASTER_SITES= http://bug-ja.org/releases/4.2/ \
LOCAL
MASTER_SITE_SUBDIR= tota/bugzilla-ja
-PKGNAMESUFFIX= -ja
DISTNAME= Bugzilla-ja-${PORTVERSION}-template-rel01
MAINTAINER= tota@FreeBSD.org
@@ -19,7 +18,9 @@ COMMENT= Japanese localization for Bugzilla
RUN_DEPENDS= bugzilla>=${PORTVERSION}:${PORTSDIR}/devel/bugzilla42
-LATEST_LINK= ${PKGNAMEPREFIX}bugzilla42${PKGNAMESUFFIX}
+LATEST_LINK= ${PKGNAMEPREFIX}bugzilla42
+
+NO_WRKSUBDIR= yes
.include "${.CURDIR}/../../devel/bugzilla42/Makefile.common"
@@ -36,10 +37,14 @@ do-install:
@${ECHO_MSG}
.endif
-x-generate-plist:
- ${FIND} ${LANGDIR} -type f | ${SORT} | ${SED} -e 's,${WWWDIR},%%WWWDIR%%,' > pkg-plist.new
- ${FIND} ${LANGDIR} -type d -depth | ${SORT} -r | ${SED} -e 's,${WWWDIR},@dirrmtry %%WWWDIR%%,' >> pkg-plist.new
- ${ECHO} "@dirrmtry %%WWWDIR%%/template" >> pkg-plist.new
- ${ECHO} "@dirrmtry %%WWWDIR%%" >> pkg-plist.new
+# Maintainer
+plist: patch
+ @( cd ${WRKDIR}/ && ${FIND} default -type f | ${AWK} '{print "%%WWWDIR%%/template/ja/"$$1}' | ${SORT} > ${PLIST}.new )
+ @( cd ${WRKDIR}/ && ${FIND} default -type d | ${AWK} '{print "@dirrmtry %%WWWDIR%%/template/ja/"$$1}' | ${SORT} -r >> ${PLIST}.new )
+ @${ECHO} "@dirrmtry %%WWWDIR%%/template/ja" >> ${PLIST}.new
+ @if ${DIFF} -u ${PLIST} ${PLIST}.new ; then \
+ ${ECHO_MSG} no pkg-plist changes; \
+ ${RM} ${PLIST}.new ; \
+ fi
.include <bsd.port.mk>
diff --git a/japanese/bugzilla42/distinfo b/japanese/bugzilla42/distinfo
index 9916300916d0..924adba49bf3 100644
--- a/japanese/bugzilla42/distinfo
+++ b/japanese/bugzilla42/distinfo
@@ -1,2 +1,2 @@
-SHA256 (bugzilla/Bugzilla-ja-4.2.1-template-rel01.tar.bz2) = 89874401b7b1eb7d669c82c58c98b5241dbb21272a3fc8f8ce11be6adfb0d1a8
-SIZE (bugzilla/Bugzilla-ja-4.2.1-template-rel01.tar.bz2) = 235831
+SHA256 (bugzilla/Bugzilla-ja-4.2.2-template-rel01.tar.bz2) = 65e1d0456a255b58cdb0d221b69ad33e56451dcbbbdfd30968f3de97708a219f
+SIZE (bugzilla/Bugzilla-ja-4.2.2-template-rel01.tar.bz2) = 235780
diff --git a/japanese/bugzilla42/pkg-plist b/japanese/bugzilla42/pkg-plist
index 38aecf3f0d3d..b38e5eea817d 100644
--- a/japanese/bugzilla42/pkg-plist
+++ b/japanese/bugzilla42/pkg-plist
@@ -317,5 +317,3 @@
@dirrmtry %%WWWDIR%%/template/ja/default/account
@dirrmtry %%WWWDIR%%/template/ja/default
@dirrmtry %%WWWDIR%%/template/ja
-@dirrmtry %%WWWDIR%%/template
-@dirrmtry %%WWWDIR%%