aboutsummaryrefslogtreecommitdiff
path: root/russian/bugzilla/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'russian/bugzilla/Makefile')
-rw-r--r--russian/bugzilla/Makefile42
1 files changed, 42 insertions, 0 deletions
diff --git a/russian/bugzilla/Makefile b/russian/bugzilla/Makefile
new file mode 100644
index 000000000000..381ec59ed4d6
--- /dev/null
+++ b/russian/bugzilla/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: bugzilla-ru
+# Date created: 28 Jul 2008
+# Whom: Sergey Skvortsov <skv@protey.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= bugzilla
+PORTVERSION= 4.0.7
+CATEGORIES= russian
+MASTER_SITES= SF
+MASTER_SITE_SUBDIR=bugzilla-ru/bugzilla-${PORTVERSION:R}-ru/${PORTVERSION}
+DISTNAME= bugzilla-${PORTVERSION}-ru-20120809
+
+MAINTAINER= skv@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"
+
+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>