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

PORTNAME=   phpbt
PORTVERSION=    1.0.1
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
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>