aboutsummaryrefslogtreecommitdiffstats
path: root/german
diff options
context:
space:
mode:
authorohauer <ohauer@FreeBSD.org>2014-07-28 03:07:07 +0800
committerohauer <ohauer@FreeBSD.org>2014-07-28 03:07:07 +0800
commitb730c1b3a3af4510d1f5e1db8905e5348cc8b567 (patch)
tree2dcea41628473463f0172c1c3ceb9e5da7563a81 /german
parent84a05484d57499d5a40389c577aca067563bebb3 (diff)
downloadfreebsd-ports-gnome-b730c1b3a3af4510d1f5e1db8905e5348cc8b567.tar.gz
freebsd-ports-gnome-b730c1b3a3af4510d1f5e1db8905e5348cc8b567.tar.zst
freebsd-ports-gnome-b730c1b3a3af4510d1f5e1db8905e5348cc8b567.zip
- better bugzilla revnum handling
- adjust bugzilla revision, there are no changes in bugzilla/templates/en MFH: 2014Q3
Diffstat (limited to 'german')
-rw-r--r--german/bugzilla44/Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/german/bugzilla44/Makefile b/german/bugzilla44/Makefile
index 095cee3aecc6..e27342b5933e 100644
--- a/german/bugzilla44/Makefile
+++ b/german/bugzilla44/Makefile
@@ -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}