summaryrefslogtreecommitdiff
path: root/russian/bugzilla3-ru/Makefile
blob: 4d0047f2c52b7a309dfdff2325bd3e66f7a919fc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# 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.5:${PORTSDIR}/devel/bugzilla

CONFLICTS?=	ja-bugzilla-2.* bugzilla-2.*

PORTSCOUT=	limitw:1,even

.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>