diff options
author | Tim Bishop <tdb@FreeBSD.org> | 2009-07-26 11:25:14 +0000 |
---|---|---|
committer | Tim Bishop <tdb@FreeBSD.org> | 2009-07-26 11:25:14 +0000 |
commit | d6b78e937f233fcc556aecd091e890b278c80314 (patch) | |
tree | 91e504eac675fca666a2eacfa32707bccceff1d9 /misc/proxyper | |
parent | 68685769aa25950bbaf9a2daa00cd16e8e24089d (diff) | |
download | ports-d6b78e937f233fcc556aecd091e890b278c80314.tar.gz ports-d6b78e937f233fcc556aecd091e890b278c80314.zip |
Stop using USE_RC_SUBR=yes.
PR: ports/136842
Submitted by: pgollucci
Notes
Notes:
svn path=/head/; revision=238373
Diffstat (limited to 'misc/proxyper')
-rw-r--r-- | misc/proxyper/Makefile | 11 | ||||
-rw-r--r-- | misc/proxyper/files/proxyper.in (renamed from misc/proxyper/files/proxyper.sh) | 0 | ||||
-rw-r--r-- | misc/proxyper/pkg-plist | 1 |
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 |