1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/devel/phpbt/Makefile

34 lines
733 B
Makefile

# Created by: Wes Peters <wes@FreeBSD.org>
# $FreeBSD$
PORTNAME= phpbt
PORTVERSION= 1.0.1
CATEGORIES?= devel
MASTER_SITES= SF
MAINTAINER= ports@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}
NO_STAGE= yes
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>