Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Aug 2012 20:34:29 +0000 (UTC)
From:      TAKATSU Tomonari <tota@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r302259 - head/japanese/bugzilla3
Message-ID:  <201208072034.q77KYTAg002557@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tota
Date: Tue Aug  7 20:34:28 2012
New Revision: 302259
URL: http://svn.freebsd.org/changeset/ports/302259

Log:
  - Update to 3.6.10
  - Remove PKGNAMEPREFIX (-ja) since a PKGNAMESUFFIX (ja-) is already applied
  - Add NO_WRKSUBDIR
  - Add the plist target from the german ports (no need to install before)
  - Fix build to be done with and without pkgng
  
  Submitted by:	ohauer@ (based on)

Modified:
  head/japanese/bugzilla3/Makefile
  head/japanese/bugzilla3/distinfo
  head/japanese/bugzilla3/pkg-plist

Modified: head/japanese/bugzilla3/Makefile
==============================================================================
--- head/japanese/bugzilla3/Makefile	Tue Aug  7 19:45:32 2012	(r302258)
+++ head/japanese/bugzilla3/Makefile	Tue Aug  7 20:34:28 2012	(r302259)
@@ -6,12 +6,11 @@
 #
 
 PORTNAME=	bugzilla
-PORTVERSION=	3.6.9
+PORTVERSION=	3.6.10
 CATEGORIES=	japanese
 MASTER_SITES=	http://bug-ja.org/releases/3.6/ \
 		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 Bugzi
 
 RUN_DEPENDS=	bugzilla>=${PORTVERSION}:${PORTSDIR}/devel/bugzilla3
 
-LATEST_LINK=	${PKGNAMEPREFIX}bugzilla3${PKGNAMESUFFIX}
+LATEST_LINK=	${PKGNAMEPREFIX}bugzilla3
+
+NO_WRKSUBDIR=	yes
 
 .include "${.CURDIR}/../../devel/bugzilla3/Makefile.common"
 
@@ -36,4 +37,14 @@ do-install:
 	@${ECHO_MSG}
 .endif
 
+# 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>

Modified: head/japanese/bugzilla3/distinfo
==============================================================================
--- head/japanese/bugzilla3/distinfo	Tue Aug  7 19:45:32 2012	(r302258)
+++ head/japanese/bugzilla3/distinfo	Tue Aug  7 20:34:28 2012	(r302259)
@@ -1,2 +1,2 @@
-SHA256 (bugzilla/Bugzilla-ja-3.6.9-template-rel01.tar.bz2) = da261c28098e7d59c9ee4254597b5b394aaf07ed53d84cee9dcd72c422975fe2
-SIZE (bugzilla/Bugzilla-ja-3.6.9-template-rel01.tar.bz2) = 215135
+SHA256 (bugzilla/Bugzilla-ja-3.6.10-template-rel01.tar.bz2) = 1642797e31849148b8b246db6f51bda710ccb845c76caa7f47d2f106a00a0e78
+SIZE (bugzilla/Bugzilla-ja-3.6.10-template-rel01.tar.bz2) = 214942

Modified: head/japanese/bugzilla3/pkg-plist
==============================================================================
--- head/japanese/bugzilla3/pkg-plist	Tue Aug  7 19:45:32 2012	(r302258)
+++ head/japanese/bugzilla3/pkg-plist	Tue Aug  7 20:34:28 2012	(r302259)
@@ -61,9 +61,9 @@
 %%WWWDIR%%/template/ja/default/admin/milestones/list.html.tmpl
 %%WWWDIR%%/template/ja/default/admin/milestones/select-product.html.tmpl
 %%WWWDIR%%/template/ja/default/admin/params/admin.html.tmpl
+%%WWWDIR%%/template/ja/default/admin/params/advanced.html.tmpl
 %%WWWDIR%%/template/ja/default/admin/params/attachment.html.tmpl
 %%WWWDIR%%/template/ja/default/admin/params/auth.html.tmpl
-%%WWWDIR%%/template/ja/default/admin/params/advanced.html.tmpl
 %%WWWDIR%%/template/ja/default/admin/params/bugchange.html.tmpl
 %%WWWDIR%%/template/ja/default/admin/params/bugfields.html.tmpl
 %%WWWDIR%%/template/ja/default/admin/params/bugmove.html.tmpl
@@ -274,7 +274,6 @@
 %%WWWDIR%%/template/ja/default/whine/mail.txt.tmpl
 %%WWWDIR%%/template/ja/default/whine/multipart-mime.txt.tmpl
 %%WWWDIR%%/template/ja/default/whine/schedule.html.tmpl
-@dirrmtry %%WWWDIR%%/template/ja/extension
 @dirrmtry %%WWWDIR%%/template/ja/default/whine
 @dirrmtry %%WWWDIR%%/template/ja/default/setup
 @dirrmtry %%WWWDIR%%/template/ja/default/search
@@ -316,5 +315,3 @@
 @dirrmtry %%WWWDIR%%/template/ja/default/account
 @dirrmtry %%WWWDIR%%/template/ja/default
 @dirrmtry %%WWWDIR%%/template/ja
-@dirrmtry %%WWWDIR%%/template
-@dirrmtry %%WWWDIR%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208072034.q77KYTAg002557>