aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-01-08 06:58:26 +0800
committermiwi <miwi@FreeBSD.org>2008-01-08 06:58:26 +0800
commitd58f67f2212540f55bd9a7dc8f84d9047d30ea61 (patch)
treecb688631a279f5af6e7359dbe69dfe45b8c02404 /www
parent8cdd25f4a9b83909b995f1c0f71523d013dfe9ff (diff)
downloadfreebsd-ports-gnome-d58f67f2212540f55bd9a7dc8f84d9047d30ea61.tar.gz
freebsd-ports-gnome-d58f67f2212540f55bd9a7dc8f84d9047d30ea61.tar.zst
freebsd-ports-gnome-d58f67f2212540f55bd9a7dc8f84d9047d30ea61.zip
- Add missing dependency
- Fix pkg-plist - Bump PORTREVISION Submitted by: farrokhi@ (maintainer)
Diffstat (limited to 'www')
-rw-r--r--www/phproxy/Makefile18
-rw-r--r--www/phproxy/pkg-plist8
2 files changed, 12 insertions, 14 deletions
diff --git a/www/phproxy/Makefile b/www/phproxy/Makefile
index 5bb068d09a47..b06ddf52ae44 100644
--- a/www/phproxy/Makefile
+++ b/www/phproxy/Makefile
@@ -7,9 +7,9 @@
PORTNAME= phproxy
PORTVERSION= 0.5b2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITES= SF
MASTER_SITE_SUBDIR= poxy
DISTNAME= poxy-${DISTVERSION}
@@ -19,19 +19,12 @@ COMMENT= PHP based web proxy
NO_BUILD= YES
WANT_PHP_WEB= YES
USE_ZIP= YES
-USE_PHP= ctype
-PLIST_SUB+= PHPROXY=${PHPROXY}
-PHPROXY= www/${PORTNAME}
+USE_PHP= ctype pcre
EXTRACT_AFTER_ARGS+= -d ${WRKSRC}
DOCFILES= ChangeLog.txt LICENSE.txt README.txt TODO.txt
-ROOTFILES= index.inc.php index.php style.css
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}
@@ -39,6 +32,11 @@ do-install:
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/${i}
.endfor
.endif
+
+ @${RM} ${WRKSRC}/*.txt
+ ${MKDIR} ${WWWDIR}
+ @(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR}/)
+ @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/www/phproxy/pkg-plist b/www/phproxy/pkg-plist
index b8cffcd79a33..e8c1d8225423 100644
--- a/www/phproxy/pkg-plist
+++ b/www/phproxy/pkg-plist
@@ -2,8 +2,8 @@
%%DOCSDIR%%/LICENSE.txt
%%DOCSDIR%%/README.txt
%%DOCSDIR%%/TODO.txt
-%%PHPROXY%%/index.inc.php
-%%PHPROXY%%/index.php
-%%PHPROXY%%/style.css
-@dirrm %%PHPROXY%%
+%%WWWDIR%%/index.inc.php
+%%WWWDIR%%/index.php
+%%WWWDIR%%/style.css
+@dirrm %%WWWDIR%%
@dirrm %%DOCSDIR%%