summaryrefslogtreecommitdiff
path: root/devel/phpbt/Makefile
blob: e41f9cfb826e5274e593a841256cb95e5f405ef9 (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
# Created by: Wes Peters <wes@FreeBSD.org>
# $FreeBSD$

PORTNAME=	phpbt
PORTVERSION=	1.0.1
PORTREVISION=	2
CATEGORIES=	devel
MASTER_SITES=	SF

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Bug-tracking system developed in PHP

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/COPYING

RUN_DEPENDS=	${LOCALBASE}/share/pear/DB.php:${PORTSDIR}/databases/pear-DB

.if !defined(WITHOUT_PHP_DEPENDS)
USE_PHP=	ctype pcre posix session tokenizer xml zlib
.endif

USES=		shebangfix
SHEBANG_FILES=	contrib/gnats-to-phpbt.py
NO_BUILD=	yes
NO_ARCH=	yes
PHPBT=		www/data-dist/phpbt
PLIST_SUB=	PHPBT=${PHPBT} WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
SUB_FILES=	pkg-message
SUB_LIST=	PHPBT=${PHPBT}

do-install:
	-${MKDIR} ${STAGEDIR}${PREFIX}/${PHPBT}
	@(cd ${WRKSRC} && ${CP} -R * ${STAGEDIR}${PREFIX}/${PHPBT})

.include <bsd.port.mk>