- fix against bugzilla 4.4.11

- use WRKSRC instead WRKDIR

MFH:		2015Q4
This commit is contained in:
Olli Hauer 2015-12-23 11:27:34 +00:00
parent 2f396f0ab0
commit f11cd932dd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=404286

View file

@ -2,7 +2,7 @@
PORTNAME= bugzilla PORTNAME= bugzilla
PORTVERSION= 4.4.10 PORTVERSION= 4.4.10
#PORTREVISION= 1 PORTREVISION= 1
CATEGORIES= german CATEGORIES= german
MASTER_SITES= SF/bugzilla-de/${PORTVERSION:R}/${PORTVERSION} MASTER_SITES= SF/bugzilla-de/${PORTVERSION:R}/${PORTVERSION}
DISTNAME= ${PORTNAME}-de-${PORTVERSION}-1.utf-8 DISTNAME= ${PORTNAME}-de-${PORTVERSION}-1.utf-8
@ -16,7 +16,7 @@ NO_WRKSUBDIR= yes
# adjust BZ_REVNUM if bugzilla revision was incremented and there are no # adjust BZ_REVNUM if bugzilla revision was incremented and there are no
# changes in bugzilla/templates/en. If not used simply comment the line. # changes in bugzilla/templates/en. If not used simply comment the line.
#BZ_REVNUM= 10 BZ_REVNUM= 11
.include "${.CURDIR}/../../devel/bugzilla44/Makefile.common" .include "${.CURDIR}/../../devel/bugzilla44/Makefile.common"
@ -25,8 +25,8 @@ LANGDIR= ${WWWDIR}/template/de
.if defined(BZ_REVNUM) && !empty(BZ_REVNUM) .if defined(BZ_REVNUM) && !empty(BZ_REVNUM)
post-patch: post-patch:
${REINPLACE_CMD} -e 's/${PORTVERSION}/${PORTVERSION:R}.${BZ_REVNUM}/' \ ${REINPLACE_CMD} -e 's/${PORTVERSION}/${PORTVERSION:R}.${BZ_REVNUM}/' \
${WRKDIR}/de/default/global/gzversion.html.tmpl ${WRKSRC}/de/default/global/gzversion.html.tmpl
@${FIND} ${WRKDIR}/de/default/ -type f \( -name \*.orig -o -name \*.bak \) -delete @${FIND} ${WRKSRC}/de/default/ -type f \( -name \*.orig -o -name \*.bak \) -delete
.endif .endif
do-install: do-install: