mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- better bugzilla revnum handling
- adjust bugzilla revision, there are no changes in bugzilla/templates/en MFH: 2014Q3
This commit is contained in:
parent
36d6e24dcb
commit
9da6c85bed
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363092
@ -2,6 +2,7 @@
|
||||
|
||||
PORTNAME= bugzilla
|
||||
PORTVERSION= 4.4.4
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= german
|
||||
MASTER_SITES= SF
|
||||
MASTER_SITE_SUBDIR=bugzilla-de/${PORTVERSION:R}/${PORTVERSION}
|
||||
@ -14,14 +15,20 @@ RUN_DEPENDS= bugzilla44>=${PORTVERSION}:${PORTSDIR}/devel/bugzilla44
|
||||
|
||||
NO_WRKSUBDIR= yes
|
||||
|
||||
# adjust BZ_REVNUM if bugzilla revision was incremented and there are no
|
||||
# changes in bugzilla/templates/en. If not used simply comment the line.
|
||||
BZ_REVNUM= 5
|
||||
|
||||
.include "${.CURDIR}/../../devel/bugzilla44/Makefile.common"
|
||||
|
||||
LANGDIR= ${WWWDIR}/template/de
|
||||
|
||||
#post-patch:
|
||||
# @${REINPLACE_CMD} -i '' -e 's/4.2.3/4.2.4/' \
|
||||
# ${WRKDIR}/de/default/global/gzversion.html.tmpl
|
||||
# @${FIND} ${WRKDIR}/de/default/ -type f \( -name \*.orig -o -name \*.bak \) -delete
|
||||
.if defined(BZ_REVNUM) && !empty(BZ_REVNUM)
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's/${PORTVERSION}/${PORTVERSION:R}.${BZ_REVNUM}/' \
|
||||
${WRKDIR}/de/default/global/gzversion.html.tmpl
|
||||
@${FIND} ${WRKDIR}/de/default/ -type f \( -name \*.orig -o -name \*.bak \) -delete
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
@-${MKDIR} ${STAGEDIR}${LANGDIR}
|
||||
|
Loading…
Reference in New Issue
Block a user