1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/russian/bugzilla40/Makefile
2013-12-14 14:35:11 +00:00

33 lines
952 B
Makefile

# $FreeBSD$
PORTNAME= bugzilla
PORTVERSION= 4.0.11
CATEGORIES= russian
MASTER_SITES= SF
MASTER_SITE_SUBDIR=bugzilla-ru/bugzilla-${PORTVERSION:R}-ru/${PORTVERSION}
DISTNAME= bugzilla-${PORTVERSION}-ru-20131125
MAINTAINER= bugzilla@FreeBSD.org
COMMENT= Russian localization for Bugzilla
RUN_DEPENDS= bugzilla40>=${PORTVERSION}:${PORTSDIR}/devel/bugzilla40
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}.ru
.include "${.CURDIR}/../../devel/bugzilla40/Makefile.common"
do-install:
${MKDIR} ${STAGEDIR}${WWWDIR}
(cd ${WRKSRC}/ && ${PAX} -r -w * ${STAGEDIR}${WWWDIR})
# 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>