freebsd-ports/www/phproxy/Makefile

36 lines
784 B
Makefile
Raw Normal View History

# Created by: Babak Farrokhi <babak@farrokhi.net>
# $FreeBSD$
PORTNAME= phproxy
PORTVERSION= 0.5b2
PORTREVISION= 3
CATEGORIES= www
MASTER_SITES= SF/poxy/PHProxy/0.5%20beta%202
DISTNAME= poxy-${DISTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= PHP based web proxy
NO_BUILD= YES
WANT_PHP_WEB= YES
2014-03-11 21:25:08 +01:00
USES= zip:infozip
USE_PHP= ctype pcre
EXTRACT_AFTER_ARGS+= -d ${WRKSRC}
DOCFILES= ChangeLog.txt LICENSE.txt README.txt TODO.txt
OPTIONS_DEFINE= DOCS
do-install:
2014-06-05 07:26:33 +02:00
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${DOCFILES}
2014-06-05 07:26:33 +02:00
@${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/${i}
.endfor
@${RM} ${WRKSRC}/*.txt
2014-06-05 07:26:33 +02:00
${MKDIR} ${STAGEDIR}${WWWDIR}
@(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/)
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
.include <bsd.port.mk>