aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authortdb <tdb@FreeBSD.org>2009-07-26 19:25:14 +0800
committertdb <tdb@FreeBSD.org>2009-07-26 19:25:14 +0800
commit07e88b1d68b36d55634e8f48a55a0afe1613d741 (patch)
tree02371952636aedd21ba05ddacfb4f97d7be56f41 /misc
parentecbf72bfd57dbcb51d2312df40827df0a0848ab1 (diff)
downloadfreebsd-ports-gnome-07e88b1d68b36d55634e8f48a55a0afe1613d741.tar.gz
freebsd-ports-gnome-07e88b1d68b36d55634e8f48a55a0afe1613d741.tar.zst
freebsd-ports-gnome-07e88b1d68b36d55634e8f48a55a0afe1613d741.zip
Stop using USE_RC_SUBR=yes.
PR: ports/136842 Submitted by: pgollucci
Diffstat (limited to 'misc')
-rw-r--r--misc/proxyper/Makefile11
-rw-r--r--misc/proxyper/files/proxyper.in (renamed from misc/proxyper/files/proxyper.sh)0
-rw-r--r--misc/proxyper/pkg-plist1
3 files changed, 3 insertions, 9 deletions
diff --git a/misc/proxyper/Makefile b/misc/proxyper/Makefile
index 4570706a7ce5..7c241790fc65 100644
--- a/misc/proxyper/Makefile
+++ b/misc/proxyper/Makefile
@@ -7,6 +7,7 @@
PORTNAME= proxyper
PORTVERSION= 343
+PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= ftp://ftp.distributed.net/pub/dcti/proxyper/ \
http://http.distributed.net/pub/dcti/proxyper/
@@ -16,10 +17,11 @@ COMMENT= The official distributed.net v2 personal proxy
ONLY_FOR_ARCHS= i386
-USE_RC_SUBR= yes
+USE_RC_SUBR= ${PORTNAME}
NO_BUILD= yes
BINDIR= ${PREFIX}/distributed.net/proxy
+SUB_LIST+= BINDIR=${BINDIR}
PROXYUSER= nobody
PROXYGROUP= daemon
@@ -36,11 +38,6 @@ DISTNAME= proxyper${PORTVERSION}-freebsd7-x86
DISTNAME= proxyper${PORTVERSION}-freebsd4-x86
.endif
-post-extract:
- @${SED} -e 's#%%BINDIR%%#${BINDIR}#'g \
- -e 's#%%RC_SUBR%%#${RC_SUBR}#g' \
- ${FILESDIR}/proxyper.sh > ${WRKDIR}/proxyper.sh
-
do-install:
if [ ! -d ${BINDIR} ]; then \
${MKDIR} ${BINDIR}; \
@@ -53,8 +50,6 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/ChangeLog.txt ${BINDIR}
${INSTALL_MAN} ${WRKSRC}/manual.html ${BINDIR}
- ${INSTALL_SCRIPT} ${WRKDIR}/proxyper.sh ${PREFIX}/etc/rc.d/proxyper.sh
-
${INSTALL_DATA} ${WRKSRC}/proxyper.ini ${BINDIR}/proxyper.ini.sample
.if !exists(${BINDIR}/proxyper.ini)
${INSTALL_DATA} ${WRKSRC}/proxyper.ini ${BINDIR}/proxyper.ini
diff --git a/misc/proxyper/files/proxyper.sh b/misc/proxyper/files/proxyper.in
index 5ef19aab648a..5ef19aab648a 100644
--- a/misc/proxyper/files/proxyper.sh
+++ b/misc/proxyper/files/proxyper.in
diff --git a/misc/proxyper/pkg-plist b/misc/proxyper/pkg-plist
index de53c256b953..e1154ffcc7ec 100644
--- a/misc/proxyper/pkg-plist
+++ b/misc/proxyper/pkg-plist
@@ -4,6 +4,5 @@ distributed.net/proxy/proxyper
@unexec if cmp -s %D/distributed.net/proxy/proxyper.ini %D/distributed.net/proxy/proxyper.ini.sample; then rm -f %D/distributed.net/proxy/proxyper.ini; fi
distributed.net/proxy/proxyper.ini.sample
@exec [ -f %B/proxyper.ini ] || cp %B/%f %B/proxyper.ini
-etc/rc.d/proxyper.sh
@dirrm distributed.net/proxy
@dirrmtry distributed.net