aboutsummaryrefslogtreecommitdiff
path: root/devel/phpbt/Makefile
blob: c236be5ba4988b82056f90575c3805c68f48b86a (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
# New ports collection makefile for:	phpbt
# Date created:				28 November 2004
# Whom:					Wes Peters <wes@FreeBSD.ORG>
#
# $FreeBSD$
#

PORTNAME=	phpbt
PORTVERSION=	1.0rc5
CATEGORIES?=	devel
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

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

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

NO_BUILD=	YES
PHP4_PORT?=	www/mod_php4
PHPBT=		www/data-dist/phpbt
PLIST_SUB=	PHPBT=${PHPBT}

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

post-install:
	@${CAT} ${PKGMESSAGE} | \
	${SED} -e 's|%%PREFIX%%|${PREFIX}|' | \
	${SED} -e 's|%%PHPBT%%|${PHPBT}|'

.include <bsd.port.mk>