mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
57 lines
1.2 KiB
Makefile
57 lines
1.2 KiB
Makefile
# Created by: globalpanic@gmx.net
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= proxyper
|
|
PORTVERSION= 347
|
|
CATEGORIES= misc
|
|
MASTER_SITES= ftp://ftp.distributed.net/pub/dcti/proxyper/ \
|
|
http://http.distributed.net/pub/dcti/proxyper/
|
|
|
|
MAINTAINER= tdb@FreeBSD.org
|
|
COMMENT= The official distributed.net v2 personal proxy
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
USE_RC_SUBR= ${PORTNAME}
|
|
NO_BUILD= yes
|
|
|
|
BINDIR= ${PREFIX}/distributed.net/proxy
|
|
SUB_LIST+= BINDIR=${BINDIR}
|
|
|
|
PROXYUSER= nobody
|
|
PROXYGROUP= daemon
|
|
|
|
SHAREOWN= ${PROXYUSER}
|
|
SHAREGRP= ${PROXYGROUP}
|
|
SHAREMODE= 644
|
|
|
|
NO_STAGE= yes
|
|
.include <bsd.port.pre.mk>
|
|
|
|
WRKSRC= ${WRKDIR}/proxyper${PORTVERSION}-freebsd-x86
|
|
|
|
.if ${OSVERSION} >= 700055
|
|
DISTNAME= proxyper${PORTVERSION}-freebsd7-x86
|
|
.else
|
|
DISTNAME= proxyper${PORTVERSION}-freebsd6-x86
|
|
.endif
|
|
|
|
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_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>
|