mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
4e8c468072
- Hand maintainership to volunteer - Tweaks PR: ports/67462 Submitted by: Tim Bishop <tim@bishnet.net>
63 lines
1.4 KiB
Makefile
63 lines
1.4 KiB
Makefile
# New ports collection makefile for: distributed.net-v2personalproxy
|
|
# Date created: 31 Oct 1999
|
|
# Whom: globalpanic@gmx.net
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
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= tim@bishnet.net
|
|
COMMENT= The official distributed.net v2 personal proxy
|
|
|
|
USE_REINPLACE= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
.if ${OSVERSION} < 300000
|
|
IGNORE= "This port requires FreeBSD 3.X or greater."
|
|
.endif
|
|
|
|
NO_BUILD= yes
|
|
|
|
BINDIR= ${PREFIX}/distributed.net/proxy
|
|
|
|
PROXYUSER= nobody
|
|
PROXYGROUP= daemon
|
|
|
|
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_MAN} ${WRKSRC}/ChangeLog.txt ${BINDIR}
|
|
${INSTALL_MAN} ${WRKSRC}/manual.html ${BINDIR}
|
|
|
|
${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>
|