842a70875f
- s/CONFLICTS/CONFLICTS_INSTALL/ - use easier CONFLICT notation (future proof) - trim Makefile.common header - update russian/bugzilla42 language template to version 4.2.6
39 lines
1 KiB
Makefile
39 lines
1 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= bugzilla
|
|
PORTVERSION= 4.2.6
|
|
CATEGORIES= russian
|
|
MASTER_SITES= SF
|
|
MASTER_SITE_SUBDIR=bugzilla-ru/bugzilla-${PORTVERSION:R}-ru/${PORTVERSION}
|
|
DISTNAME= bugzilla-${PORTVERSION}-ru-20130618
|
|
|
|
MAINTAINER= bugzilla@FreeBSD.org
|
|
COMMENT= Russian localization for Bugzilla
|
|
|
|
RUN_DEPENDS= bugzilla>=${PORTVERSION}:${PORTSDIR}/devel/bugzilla42
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}.ru
|
|
|
|
.include "${.CURDIR}/../../devel/bugzilla42/Makefile.common"
|
|
|
|
LATEST_LINK= ${PKGNAMEPREFIX}bugzilla42
|
|
|
|
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>
|