Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Aug 2012 20:35:59 +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: r302260 - head/japanese/bugzilla
Message-ID:  <201208072035.q77KZx07002824@svn.freebsd.org>

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

Log:
  - Update to 4.0.7
  - 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/bugzilla/Makefile
  head/japanese/bugzilla/distinfo
  head/japanese/bugzilla/pkg-plist

Modified: head/japanese/bugzilla/Makefile
==============================================================================
--- head/japanese/bugzilla/Makefile	Tue Aug  7 20:34:28 2012	(r302259)
+++ head/japanese/bugzilla/Makefile	Tue Aug  7 20:35:58 2012	(r302260)
@@ -6,12 +6,11 @@
 #
 
 PORTNAME=	bugzilla
-PORTVERSION=	4.0.6
+PORTVERSION=	4.0.7
 CATEGORIES=	japanese
 MASTER_SITES=	http://bug-ja.org/releases/4.0/ \
 		LOCAL
 MASTER_SITE_SUBDIR=	tota/bugzilla-ja
-PKGNAMESUFFIX=	-ja
 DISTNAME=	Bugzilla-ja-${PORTVERSION}-template-rel01
 
 MAINTAINER=	tota@FreeBSD.org
@@ -19,6 +18,8 @@ COMMENT=	Japanese localization for Bugzi
 
 RUN_DEPENDS=	bugzilla>=${PORTVERSION}:${PORTSDIR}/devel/bugzilla
 
+NO_WRKSUBDIR=	yes
+
 .include "${.CURDIR}/../../devel/bugzilla/Makefile.common"
 
 USE_BZIP2=	yes
@@ -34,4 +35,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/bugzilla/distinfo
==============================================================================
--- head/japanese/bugzilla/distinfo	Tue Aug  7 20:34:28 2012	(r302259)
+++ head/japanese/bugzilla/distinfo	Tue Aug  7 20:35:58 2012	(r302260)
@@ -1,2 +1,2 @@
-SHA256 (bugzilla/Bugzilla-ja-4.0.6-template-rel01.tar.bz2) = 1efdec7b9ad76a6464df47c0db8f1de9f23664b5accc70b00a1a306820f4d1c8
-SIZE (bugzilla/Bugzilla-ja-4.0.6-template-rel01.tar.bz2) = 224191
+SHA256 (bugzilla/Bugzilla-ja-4.0.7-template-rel01.tar.bz2) = 7efc745be21dfdb36e6b8d87fd694275813e2824a05774c42256dba1733f02bb
+SIZE (bugzilla/Bugzilla-ja-4.0.7-template-rel01.tar.bz2) = 224074

Modified: head/japanese/bugzilla/pkg-plist
==============================================================================
--- head/japanese/bugzilla/pkg-plist	Tue Aug  7 20:34:28 2012	(r302259)
+++ head/japanese/bugzilla/pkg-plist	Tue Aug  7 20:35:58 2012	(r302260)
@@ -314,5 +314,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?201208072035.q77KZx07002824>