2008-07-28 17:44:14 +02:00
|
|
|
# New ports collection makefile for: bugzilla-ru
|
|
|
|
# Date created: 28 Jul 2008
|
|
|
|
# Whom: Sergey Skvortsov <skv@protey.ru>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= bugzilla-ru
|
2008-12-01 16:40:15 +01:00
|
|
|
DISTVERSION= 3.2rc2-ru-1.0
|
2008-07-28 17:44:14 +02:00
|
|
|
CATEGORIES= russian
|
2009-08-22 02:35:32 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/OldFiles
|
2008-07-28 17:44:14 +02:00
|
|
|
DISTNAME= bugzilla-${DISTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= skv@FreeBSD.org
|
|
|
|
COMMENT= Russian localization for Bugzilla
|
|
|
|
|
2008-12-01 16:40:15 +01:00
|
|
|
RUN_DEPENDS= bugzilla>=3.2:${PORTSDIR}/devel/bugzilla
|
2008-07-28 17:44:14 +02:00
|
|
|
|
|
|
|
CONFLICTS?= ja-bugzilla-2.* bugzilla-2.*
|
|
|
|
|
2008-08-30 11:12:39 +02:00
|
|
|
PORTSCOUT= limitw:1,even
|
|
|
|
|
2008-07-28 17:44:14 +02:00
|
|
|
.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>
|