de78af3ac5
Reviewed by: exp8 run on pointyhat Supported by: miwi
46 lines
949 B
Makefile
46 lines
949 B
Makefile
# 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.3-ru-20091115
|
|
PORTREVISION= 1
|
|
CATEGORIES= russian
|
|
MASTER_SITES= SF/${PORTNAME}/bugzilla-3.4-ru/${DISTVERSION:C/-ru-[0-9]+$//}/
|
|
DISTNAME= bugzilla-${DISTVERSION}
|
|
|
|
MAINTAINER= skv@FreeBSD.org
|
|
COMMENT= Russian localization for Bugzilla
|
|
|
|
RUN_DEPENDS= bugzilla>=3.4.2:${PORTSDIR}/devel/bugzilla
|
|
|
|
CONFLICTS= 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>
|