diff options
Diffstat (limited to 'russian/bugzilla-ru/Makefile')
-rw-r--r-- | russian/bugzilla-ru/Makefile | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/russian/bugzilla-ru/Makefile b/russian/bugzilla-ru/Makefile new file mode 100644 index 000000000000..3c50ac7e4862 --- /dev/null +++ b/russian/bugzilla-ru/Makefile @@ -0,0 +1,43 @@ +# New ports collection makefile for: bugzilla-ru +# Date created: 28 Jul 2008 +# Whom: Sergey Skvortsov <skv@protey.ru> +# +# $FreeBSD$ +# + +PORTNAME= bugzilla-ru +DISTVERSION= 3.0.4-ru-1.0 +CATEGORIES= russian +MASTER_SITES= SF +DISTNAME= bugzilla-${DISTVERSION} + +MAINTAINER= skv@FreeBSD.org +COMMENT= Russian localization for Bugzilla + +RUN_DEPENDS= bugzilla=3.0.4:${PORTSDIR}/devel/bugzilla + +CONFLICTS?= ja-bugzilla-2.* bugzilla-2.* + +.ifndef BUGZILLADIR +.ifdef APACHE_DATADIR +BUGZILLADIR= ${APACHE_DATADIR}/data/bugzilla +.else +BUGZILLADIR= ${PREFIX}/www/data/bugzilla +.endif +.endif + +PLIST_SUB+= BUGZILLADIR=${BUGZILLADIR:S!^${PREFIX}/!!} + +NO_BUILD= yes + +do-install: + ${MKDIR} ${BUGZILLADIR} + ${TAR} -C ${WRKSRC} -cf - . | \ + ${TAR} --unlink -C ${BUGZILLADIR} -xf - +.if !defined(BATCH) + @${ECHO_MSG} + @${CAT} ${PKGMESSAGE} + @${ECHO_MSG} +.endif + +.include <bsd.port.mk> |