mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
- 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)
This commit is contained in:
parent
ce7512f0fe
commit
5e40cda81d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=302261
@ -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>
|
||||
|
@ -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
|
||||
|
@ -317,5 +317,3 @@
|
||||
@dirrmtry %%WWWDIR%%/template/ja/default/account
|
||||
@dirrmtry %%WWWDIR%%/template/ja/default
|
||||
@dirrmtry %%WWWDIR%%/template/ja
|
||||
@dirrmtry %%WWWDIR%%/template
|
||||
@dirrmtry %%WWWDIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user