2006-01-07 03:12:36 +01:00
|
|
|
# New ports collection makefile for: eventum
|
|
|
|
# Date created: 2006-01-06
|
|
|
|
# Whom: Babak Farrokhi <babak@farrokhi.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= phproxy
|
2007-01-28 00:43:42 +01:00
|
|
|
PORTVERSION= 0.5b2
|
2007-02-08 23:51:33 +01:00
|
|
|
PORTREVISION= 1
|
2006-01-07 03:12:36 +01:00
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= poxy
|
|
|
|
DISTNAME= poxy-${DISTVERSION}
|
|
|
|
|
2006-11-08 10:28:33 +01:00
|
|
|
MAINTAINER= farrokhi@FreeBSD.org
|
2006-01-07 03:12:36 +01:00
|
|
|
COMMENT= PHP based web proxy
|
|
|
|
|
|
|
|
NO_BUILD= YES
|
|
|
|
WANT_PHP_WEB= YES
|
|
|
|
USE_ZIP= YES
|
2007-02-08 23:51:33 +01:00
|
|
|
USE_PHP= ctype
|
2006-01-07 03:12:36 +01:00
|
|
|
PLIST_SUB+= PHPROXY=${PHPROXY}
|
|
|
|
PHPROXY= www/${PORTNAME}
|
|
|
|
EXTRACT_AFTER_ARGS+= -d ${WRKSRC}
|
|
|
|
|
2007-01-28 00:43:42 +01:00
|
|
|
DOCFILES= ChangeLog.txt LICENSE.txt README.txt TODO.txt
|
|
|
|
ROOTFILES= index.inc.php index.php style.css
|
2006-01-07 03:12:36 +01:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
-${MKDIR} ${PREFIX}/${PHPROXY}
|
|
|
|
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${PHPROXY}
|
|
|
|
@(cd ${WRKSRC} && ${CP} ${ROOTFILES} ${PREFIX}/${PHPROXY}/)
|
|
|
|
@${CHMOD} 755 ${PREFIX}/${PHPROXY}
|
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
.for i in ${DOCFILES}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/${i}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|