aboutsummaryrefslogtreecommitdiff
path: root/german
diff options
context:
space:
mode:
authorOlli Hauer <ohauer@FreeBSD.org>2014-07-27 19:07:07 +0000
committerOlli Hauer <ohauer@FreeBSD.org>2014-07-27 19:07:07 +0000
commit9da6c85bed99c3b13d8a93ae2f531cfc0475d572 (patch)
tree2dcea41628473463f0172c1c3ceb9e5da7563a81 /german
parent36d6e24dcb4868b79090ecad8b78720a3918cedc (diff)
downloadports-9da6c85bed99c3b13d8a93ae2f531cfc0475d572.tar.gz
ports-9da6c85bed99c3b13d8a93ae2f531cfc0475d572.zip
Notes
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}