# New ports collection makefile for: eventum # Date created: 2006-01-06 # Whom: Babak Farrokhi # # $FreeBSD$ # PORTNAME= phproxy PORTVERSION= 0.4 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= poxy DISTNAME= poxy-${DISTVERSION} MAINTAINER= babak@farrokhi.net COMMENT= PHP based web proxy NO_BUILD= YES WANT_PHP_WEB= YES USE_ZIP= YES USE_PHP= YES PLIST_SUB+= PHPROXY=${PHPROXY} PHPROXY= www/${PORTNAME} EXTRACT_AFTER_ARGS+= -d ${WRKSRC} DOCFILES= ChangeLog.txt FAQ.txt LICENSE.txt README.txt TODO.txt ROOTFILES= PHProxy.class.php index.php javascript.js style.css url_form.inc do-install: -${MKDIR} ${PREFIX}/${PHPROXY} @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${PHPROXY} @(cd ${WRKSRC} && ${CP} ${ROOTFILES} ${PREFIX}/${PHPROXY}/) @${CHMOD} 755 ${PREFIX}/${PHPROXY} # @${CHMOD} 644 ${PREFIX}/${PHPROXY}/* .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} .for i in ${DOCFILES} @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/${i} .endfor .endif @${CAT} ${PKGMESSAGE} .include