2013-06-21 00:21:36 +02:00
|
|
|
PORTNAME= bugzilla
|
2015-09-29 19:09:24 +02:00
|
|
|
PORTVERSION= 4.4.10
|
2015-12-23 12:27:34 +01:00
|
|
|
PORTREVISION= 1
|
2013-06-21 00:21:36 +02:00
|
|
|
CATEGORIES= german
|
2015-05-14 12:15:04 +02:00
|
|
|
MASTER_SITES= SF/bugzilla-de/${PORTVERSION:R}/${PORTVERSION}
|
2015-05-31 18:10:33 +02:00
|
|
|
DISTNAME= ${PORTNAME}-de-${PORTVERSION}-1.utf-8
|
2013-06-21 00:21:36 +02:00
|
|
|
|
2014-09-06 01:09:27 +02:00
|
|
|
MAINTAINER= bz-ports@FreeBSD.org
|
2013-06-21 00:21:36 +02:00
|
|
|
COMMENT= German localization for Bugzilla
|
2022-09-07 23:06:12 +02:00
|
|
|
WWW= https://sourceforge.net/projects/bugzilla-de/
|
2013-06-21 00:21:36 +02:00
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
RUN_DEPENDS= bugzilla44>=${PORTVERSION}:devel/bugzilla44
|
2013-06-21 00:21:36 +02:00
|
|
|
|
2021-10-18 21:19:00 +02:00
|
|
|
USES= cpe
|
|
|
|
CPE_VENDOR= mozilla
|
2013-06-21 00:21:36 +02:00
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
|
2014-07-27 21:07:07 +02:00
|
|
|
# adjust BZ_REVNUM if bugzilla revision was incremented and there are no
|
|
|
|
# changes in bugzilla/templates/en. If not used simply comment the line.
|
2015-12-23 12:27:34 +01:00
|
|
|
BZ_REVNUM= 11
|
2014-07-27 21:07:07 +02:00
|
|
|
|
2013-06-21 00:21:36 +02:00
|
|
|
.include "${.CURDIR}/../../devel/bugzilla44/Makefile.common"
|
|
|
|
|
|
|
|
LANGDIR= ${WWWDIR}/template/de
|
|
|
|
|
2014-07-27 21:07:07 +02:00
|
|
|
.if defined(BZ_REVNUM) && !empty(BZ_REVNUM)
|
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e 's/${PORTVERSION}/${PORTVERSION:R}.${BZ_REVNUM}/' \
|
2015-12-23 12:27:34 +01:00
|
|
|
${WRKSRC}/de/default/global/gzversion.html.tmpl
|
|
|
|
@${FIND} ${WRKSRC}/de/default/ -type f \( -name \*.orig -o -name \*.bak \) -delete
|
2014-07-27 21:07:07 +02:00
|
|
|
.endif
|
2013-06-21 00:21:36 +02:00
|
|
|
|
|
|
|
do-install:
|
2013-09-26 21:00:40 +02:00
|
|
|
@-${MKDIR} ${STAGEDIR}${LANGDIR}
|
|
|
|
@(cd ${WRKSRC}/de && ${COPYTREE_SHARE} . ${STAGEDIR}${LANGDIR})
|
2013-06-21 00:21:36 +02:00
|
|
|
|
|
|
|
# Maintainer
|
|
|
|
plist: patch
|
|
|
|
@( cd ${WRKDIR}/ && ${FIND} de -type f | ${AWK} '{print "%%WWWDIR%%/template/"$$1}' | ${SORT} > ${PLIST}.new )
|
|
|
|
@if ${DIFF} -u ${PLIST} ${PLIST}.new ; then \
|
|
|
|
${ECHO_MSG} no pkg-plist changes; \
|
|
|
|
${RM} ${PLIST}.new ; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|