aboutsummaryrefslogtreecommitdiff
path: root/russian/bugzilla3-ru/Makefile
blob: fcd6937f726709b0c8cb72ece2e3b11a1b09ef91 (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
46
# New ports collection makefile for:	bugzilla-ru
# Date created:	   28 Jul 2008
# Whom:		   Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#

PORTNAME=	bugzilla-ru
DISTVERSION=	3.4.2-ru-20090923
PORTREVISION=	1
CATEGORIES=	russian
MASTER_SITES=	SF/${PORTNAME}/bugzilla-3.4-ru/${DISTVERSION:S/-ru//}/
DISTNAME=	bugzilla-${DISTVERSION}

MAINTAINER=	skv@FreeBSD.org
COMMENT=	Russian localization for Bugzilla

RUN_DEPENDS=	bugzilla>=3.4.2:${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
NO_WRKSUBDIR=	yes

do-install:
	${MKDIR} ${BUGZILLADIR}
	(cd ${WRKSRC} && ${PAX} -r -w * ${BUGZILLADIR})
.if !defined(BATCH)
	@${ECHO_MSG}
	@${CAT} ${PKGMESSAGE}
	@${ECHO_MSG}
.endif

.include <bsd.port.mk>