2013-09-21 01:36:50 +02:00
|
|
|
# Created by: Babak Farrokhi <babak@farrokhi.net>
|
2006-01-07 03:12:36 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= phproxy
|
2007-01-28 00:43:42 +01:00
|
|
|
PORTVERSION= 0.5b2
|
2008-11-22 10:02:04 +01:00
|
|
|
PORTREVISION= 3
|
2006-01-07 03:12:36 +01:00
|
|
|
CATEGORIES= www
|
2009-08-22 02:38:34 +02:00
|
|
|
MASTER_SITES= SF/poxy/PHProxy/0.5%20beta%202
|
2006-01-07 03:12:36 +01:00
|
|
|
DISTNAME= poxy-${DISTVERSION}
|
|
|
|
|
2009-03-09 20:29:12 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2006-01-07 03:12:36 +01:00
|
|
|
COMMENT= PHP based web proxy
|
|
|
|
|
|
|
|
NO_BUILD= YES
|
|
|
|
WANT_PHP_WEB= YES
|
2014-03-11 21:25:08 +01:00
|
|
|
USES= zip:infozip
|
2008-01-07 23:58:26 +01:00
|
|
|
USE_PHP= ctype pcre
|
2006-01-07 03:12:36 +01:00
|
|
|
EXTRACT_AFTER_ARGS+= -d ${WRKSRC}
|
|
|
|
|
2007-01-28 00:43:42 +01:00
|
|
|
DOCFILES= ChangeLog.txt LICENSE.txt README.txt TODO.txt
|
2006-01-07 03:12:36 +01:00
|
|
|
|
|
|
|
do-install:
|
2014-06-05 07:26:33 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2006-01-07 03:12:36 +01:00
|
|
|
.for i in ${DOCFILES}
|
2014-06-05 07:26:33 +02:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/${i}
|
2006-01-07 03:12:36 +01:00
|
|
|
.endfor
|
2008-01-07 23:58:26 +01:00
|
|
|
|
|
|
|
@${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}
|
2006-01-07 03:12:36 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|