Date: Tue, 7 Aug 2012 20:37:11 +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: r302261 - head/japanese/bugzilla42 Message-ID: <201208072037.q77KbBPo002988@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tota Date: Tue Aug 7 20:37:11 2012 New Revision: 302261 URL: http://svn.freebsd.org/changeset/ports/302261 Log: - Update to 4.2.2 - 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/bugzilla42/Makefile head/japanese/bugzilla42/distinfo head/japanese/bugzilla42/pkg-plist Modified: head/japanese/bugzilla42/Makefile ============================================================================== --- head/japanese/bugzilla42/Makefile Tue Aug 7 20:35:58 2012 (r302260) +++ head/japanese/bugzilla42/Makefile Tue Aug 7 20:37:11 2012 (r302261) @@ -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 Bugzi 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> Modified: head/japanese/bugzilla42/distinfo ============================================================================== --- head/japanese/bugzilla42/distinfo Tue Aug 7 20:35:58 2012 (r302260) +++ head/japanese/bugzilla42/distinfo Tue Aug 7 20:37:11 2012 (r302261) @@ -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 Modified: head/japanese/bugzilla42/pkg-plist ============================================================================== --- head/japanese/bugzilla42/pkg-plist Tue Aug 7 20:35:58 2012 (r302260) +++ head/japanese/bugzilla42/pkg-plist Tue Aug 7 20:37:11 2012 (r302261) @@ -317,5 +317,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?201208072037.q77KbBPo002988>