diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-06-02 16:29:09 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-06-02 16:29:09 +0000 |
commit | 4e8c468072ea92ee4a8711fe039f6935efa7fa66 (patch) | |
tree | 4fc4413b9023a6b95df30255d1870751413080f7 /misc/proxyper/Makefile | |
parent | 7e4a9a2c2b138309c0c17345c728c7ef9dd33d70 (diff) | |
download | ports-4e8c468072ea92ee4a8711fe039f6935efa7fa66.tar.gz ports-4e8c468072ea92ee4a8711fe039f6935efa7fa66.zip |
- Update to 341
- Hand maintainership to volunteer
- Tweaks
PR: ports/67462
Submitted by: Tim Bishop <tim@bishnet.net>
Notes
Notes:
svn path=/head/; revision=110671
Diffstat (limited to 'misc/proxyper/Makefile')
-rw-r--r-- | misc/proxyper/Makefile | 39 |
1 files changed, 23 insertions, 16 deletions
diff --git a/misc/proxyper/Makefile b/misc/proxyper/Makefile index f91bc7a3f8eb..1aaccf83a773 100644 --- a/misc/proxyper/Makefile +++ b/misc/proxyper/Makefile @@ -5,15 +5,14 @@ # $FreeBSD$ # -PORTNAME= proxyper-freebsd3-elf-x86 -PORTVERSION= 333 -PORTREVISION= 1 +PORTNAME= proxyper +PORTVERSION= 341 CATEGORIES= misc MASTER_SITES= ftp://ftp.distributed.net/pub/dcti/proxyper/ \ http://http.distributed.net/pub/dcti/proxyper/ DISTNAME= proxyper${PORTVERSION}-freebsd-x86 -MAINTAINER= ports@FreeBSD.org +MAINTAINER= tim@bishnet.net COMMENT= The official distributed.net v2 personal proxy USE_REINPLACE= yes @@ -28,28 +27,36 @@ IGNORE= "This port requires FreeBSD 3.X or greater." NO_BUILD= yes -BINDIR= ${PREFIX}/distributed.net/proxy/ -LIBDIR= ${PREFIX}/etc/rc.d/ +BINDIR= ${PREFIX}/distributed.net/proxy -PROXYUID= nobody -PROXYGID= daemon +PROXYUSER= nobody +PROXYGROUP= daemon -SHAREOWN= ${PROXYUID} -SHAREGRP= ${PROXYGID} +SHAREOWN= ${PROXYUSER} +SHAREGRP= ${PROXYGROUP} SHAREMODE= 644 +post-extract: + @${SED} -e 's#CHANGETHIS#${BINDIR}#' ${FILESDIR}/proxyper.sh \ + > ${WRKDIR}/proxyper.sh + do-install: if [ ! -d ${BINDIR} ]; then \ ${MKDIR} ${BINDIR}; \ fi + ${CHOWN} ${PROXYUSER}:${PROXYGROUP} ${BINDIR} + ${CHMOD} 755 ${BINDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/proxyper ${BINDIR} - ${INSTALL_SCRIPT} ${FILESDIR}/proxyper.sh ${BINDIR} - ${REINPLACE_CMD} s+CHANGETHIS+${BINDIR}+ ${BINDIR}proxyper.sh - ${INSTALL_DATA} ${WRKSRC}/proxyper.ini ${BINDIR} + ${INSTALL_MAN} ${WRKSRC}/ChangeLog.txt ${BINDIR} ${INSTALL_MAN} ${WRKSRC}/manual.html ${BINDIR} - ${CHOWN} ${PROXYUID}:${PROXYGID} ${BINDIR} - ${CHMOD} 755 ${BINDIR} - ${LN} -sf ${BINDIR}proxyper.sh ${LIBDIR}proxyper.sh + + ${INSTALL_SCRIPT} ${WRKDIR}/proxyper.sh ${PREFIX}/etc/rc.d/proxyper.sh.sample + + ${INSTALL_DATA} ${WRKSRC}/proxyper.ini ${BINDIR}/proxyper.ini.sample +.if !exists(${BINDIR}/proxyper.ini) + ${INSTALL_DATA} ${WRKSRC}/proxyper.ini ${BINDIR}/proxyper.ini +.endif .include <bsd.port.post.mk> |