Date: Sun, 27 Jul 2014 19:07:07 +0000 (UTC) From: Olli Hauer <ohauer@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r363092 - head/german/bugzilla44 Message-ID: <201407271907.s6RJ77OX075171@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ohauer Date: Sun Jul 27 19:07:07 2014 New Revision: 363092 URL: http://svnweb.freebsd.org/changeset/ports/363092 QAT: https://qat.redports.org/buildarchive/r363092/ Log: - better bugzilla revnum handling - adjust bugzilla revision, there are no changes in bugzilla/templates/en MFH: 2014Q3 Modified: head/german/bugzilla44/Makefile Modified: head/german/bugzilla44/Makefile ============================================================================== --- head/german/bugzilla44/Makefile Sun Jul 27 19:04:27 2014 (r363091) +++ head/german/bugzilla44/Makefile Sun Jul 27 19:07:07 2014 (r363092) @@ -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}: 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}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407271907.s6RJ77OX075171>