mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
60d1a83c2a
- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
32 lines
940 B
Makefile
32 lines
940 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= bugzilla
|
|
PORTVERSION= 4.4.4
|
|
CATEGORIES= russian
|
|
MASTER_SITES= SF/bugzilla-ru/bugzilla-${PORTVERSION:R}-ru/${PORTVERSION}
|
|
DISTNAME= bugzilla-${PORTVERSION}-ru-20140422
|
|
|
|
MAINTAINER= bz-ports@FreeBSD.org
|
|
COMMENT= Russian localization for Bugzilla
|
|
|
|
RUN_DEPENDS= bugzilla44>=${PORTVERSION}:${PORTSDIR}/devel/bugzilla44
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}.ru
|
|
|
|
.include "${.CURDIR}/../../devel/bugzilla44/Makefile.common"
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${WWWDIR}
|
|
@(cd ${WRKSRC}/ && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
|
|
|
|
# Maintainer
|
|
plist: patch
|
|
@( cd ${WRKSRC}/ && ${FIND} * -type f | ${AWK} '{print "%%WWWDIR%%/"$$1}' | ${SORT} > ${PLIST}.new )
|
|
@( cd ${WRKSRC}/ && ${FIND} * -type d -empty | ${AWK} '{print "@dir %%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>
|