mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
7ae777a361
PR: 57758 Submitted by: maintainer
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# New ports collection makefile for: 3proxy
|
|
# Date created: 2003 July 25
|
|
# Whom: tim@relay.nnn.tstu.ru
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= 3proxy
|
|
PORTVERSION= 0.4.1b
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://www.security.nnov.ru/soft/3proxy/${PORTVERSION}/
|
|
DISTNAME= ${PORTNAME}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= tim@relay.nnn.tstu.ru
|
|
COMMENT= Proxy servers set (support HTTP(S), FTP, SOCKS, POP3, TCP & UDP)
|
|
|
|
NO_WRKSUBDIR= yes
|
|
MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}" \
|
|
PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"
|
|
|
|
pre-build:
|
|
if [ ! -f ${WRKSRC}/Makefile ]; then \
|
|
${CP} ${WRKSRC}/Makefile.unix ${WRKSRC}/Makefile; \
|
|
fi
|
|
|
|
do-install:
|
|
.for i in 3proxy dighosts mycrypt pop3p proxy socks tcppm udppm
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${i} ${PREFIX}/bin/
|
|
.endfor
|
|
${INSTALL_DATA} ${WRKSRC}/3proxy.cfg.sample ${PREFIX}/etc
|
|
${SED} -e "s|%%PREFIX%%|${PREFIX}|g" ${FILESDIR}/3proxy.sh \
|
|
> ${WRKSRC}/3proxy.sh
|
|
${INSTALL_SCRIPT} ${WRKSRC}/3proxy.sh ${PREFIX}/etc/rc.d/
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
.for i in License Readme Release.notes
|
|
${INSTALL_MAN} ${WRKSRC}/${i} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|