freebsd-ports/russian/bugzilla/Makefile
Olli Hauer 3c8085b82e - update bugzilla bugzilla3 and bugzilla42
- use new bugzilla@ address (members skv@, tota@, ohauer@)
- patch russian/japanese/german bugzilla and bugzilla templates
  so the reflect the security updates in the original templates
- patch german/bugzilla42 templates
- adopt new Makefile header

	vuxml: 6ad18fe5-f469-11e1-920d-20cf30e32f6d
	CVE: CVE-2012-3981
	https://bugzilla.mozilla.org/show_bug.cgi?id=785470
	https://bugzilla.mozilla.org/show_bug.cgi?id=785522
	https://bugzilla.mozilla.org/show_bug.cgi?id=785511
2012-09-01 20:16:06 +00:00

45 lines
1.2 KiB
Makefile

# $FreeBSD$
PORTNAME= bugzilla
PORTVERSION= 4.0.7
PORTREVISION= 1
CATEGORIES= russian
MASTER_SITES= SF
MASTER_SITE_SUBDIR=bugzilla-ru/bugzilla-${PORTVERSION:R}-ru/${PORTVERSION}
DISTNAME= bugzilla-${PORTVERSION}-ru-20120809
MAINTAINER= bugzilla@FreeBSD.org
COMMENT= Russian localization for Bugzilla
RUN_DEPENDS= bugzilla>=${PORTVERSION}:${PORTSDIR}/devel/bugzilla
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}.ru
.include "${.CURDIR}/../../devel/bugzilla/Makefile.common"
post-patch:
${REINPLACE_CMD} -i '' -e '/abbrev/d' \
${WRKSRC}/template/ru-RU/default/filterexceptions.pl
${REINPLACE_CMD} -i '' -e 's/column.title -%/column.title FILTER html -%/' \
${WRKSRC}/template/ru-RU/default/list/table.html.tmpl
do-install:
${MKDIR} ${WWWDIR}
(cd ${WRKSRC}/ && ${PAX} -r -w * ${WWWDIR})
.if !defined(BATCH)
@${ECHO_MSG}
@${CAT} ${PKGMESSAGE}
@${ECHO_MSG}
.endif
# Maintainer
plist: patch
@( cd ${WRKSRC}/ && ${FIND} * -type f | ${AWK} '{print "%%WWWDIR%%/"$$1}' | ${SORT} > ${PLIST}.new )
@( cd ${WRKSRC}/ && ${FIND} * -type d | ${AWK} '{print "@dirrmtry %%WWWDIR%%/"$$1}' | ${SORT} -r >> ${PLIST}.new )
@if ${DIFF} -u ${PLIST} ${PLIST}.new ; then \
${ECHO_MSG} no pkg-plist changes; \
${RM} ${PLIST}.new ; \
fi
.include <bsd.port.mk>