mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
cf0aabfe41
PHProxy is a web HTTP (for now; FTP is not supprted yet) proxy programmed in PHP designed to bypass firewalls and other proxy restrictions through a web interface very similar to the popular CGIProxy. PR: ports/91375 Submitted by: Babak Farrokhi <babak@farrokhi.net>
45 lines
1.0 KiB
Makefile
45 lines
1.0 KiB
Makefile
# New ports collection makefile for: eventum
|
|
# Date created: 2006-01-06
|
|
# Whom: Babak Farrokhi <babak@farrokhi.net>
|
|
#
|
|
# $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 <bsd.port.mk>
|