mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-30 10:38:37 +00:00
46 lines
950 B
Makefile
46 lines
950 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
|
|
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?= 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>
|