1999-11-14 03:33:22 +00:00
|
|
|
# New ports collection makefile for: distributed.net-v2personalproxy
|
|
|
|
# Date created: 31 Oct 1999
|
|
|
|
# Whom: globalpanic@gmx.net
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-14 08:49:30 +00:00
|
|
|
PORTNAME= proxyper-freebsd3-elf-x86
|
|
|
|
PORTVERSION= 313
|
1999-11-14 03:33:22 +00:00
|
|
|
CATEGORIES= misc
|
|
|
|
MASTER_SITES= ftp://ftp.distributed.net/pub/dcti/proxyper-rc5des/ \
|
|
|
|
http://http.distributed.net/pub/dcti/proxyper-rc5des/
|
2000-04-14 08:49:30 +00:00
|
|
|
DISTNAME= proxyper${PORTVERSION}-freebsd-x86
|
1999-11-14 03:33:22 +00:00
|
|
|
|
2000-02-17 22:57:09 +00:00
|
|
|
MAINTAINER= dbaker@FreeBSD.org
|
1999-11-14 03:33:22 +00:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
|
|
|
|
.if ${OSVERSION} < 220000
|
|
|
|
BROKEN= "No version is built for your system."
|
|
|
|
.elif ${OSVERSION} < 300000
|
|
|
|
BROKEN= "No version is currently available for your system. Please try again later."
|
|
|
|
.endif
|
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
2000-02-17 22:57:09 +00:00
|
|
|
BINDIR= ${PREFIX}/distributed.net/proxy/
|
1999-11-14 03:33:22 +00:00
|
|
|
LIBDIR= ${PREFIX}/etc/rc.d/
|
|
|
|
|
2000-02-17 22:57:09 +00:00
|
|
|
PROXYUID= nobody
|
|
|
|
PROXYGID= daemon
|
1999-11-14 03:33:22 +00:00
|
|
|
|
2000-05-29 23:50:24 +00:00
|
|
|
SHAREOWN= ${PROXYUID}
|
|
|
|
SHAREGRP= ${PROXYGID}
|
|
|
|
SHAREMODE= 644
|
|
|
|
|
1999-11-14 03:33:22 +00:00
|
|
|
do-install:
|
|
|
|
if [ ! -d ${BINDIR} ]; then \
|
|
|
|
${MKDIR} ${BINDIR}; \
|
|
|
|
fi
|
|
|
|
${SED} s#CHANGETHIS#${BINDIR}# < ${FILESDIR}/proxyper.sh > ${WRKSRC}/proxyper.sh
|
2000-05-29 23:50:24 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/proxyper ${BINDIR}
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/proxyper.sh ${BINDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/proxyper.ini ${BINDIR}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/ChangeLog.txt ${BINDIR}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/Readme.txt ${BINDIR}
|
2000-02-17 22:57:09 +00:00
|
|
|
${CHOWN} ${PROXYUID}:${PROXYGID} ${BINDIR}
|
1999-11-14 03:33:22 +00:00
|
|
|
${CHMOD} 755 ${BINDIR}
|
2000-05-29 23:50:24 +00:00
|
|
|
${LN} -sf ${BINDIR}proxyper.sh ${LIBDIR}proxyper.sh
|
1999-11-14 03:33:22 +00:00
|
|
|
|
2000-01-07 16:40:17 +00:00
|
|
|
.include <bsd.port.post.mk>
|