1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/net/proxychains/Makefile
Alex Kozlov 3bfdd2f82e - Convert Makefile headers to new style
- Stop overwriting configuration file during installation [1]
- Remove support for 7-CURRENT
- Use REINPLACE_CMD instead of patch file.
- Reset to ports@ by request of maintainer
- Bump PORTREVISION

PR:	ports/171638 (based on) [1]
Submitted by:	Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua> [1]
Approved by:	Patrick MARIE <mycroft@virgaria.org> (maintainer)
Feature safe:	yes
2012-10-18 19:13:07 +00:00

32 lines
888 B
Makefile

# Created by: Patrick MARIE <mycroft@virgaria.org>
# $FreeBSD$
PORTNAME= proxychains
PORTVERSION= 3.1
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/version%20${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Redirect connection through proxy servers
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_LDCONFIG= yes
post-patch:
@${REINPLACE_CMD} -e 's!$$(srcdir)/proxychains.conf!$$(srcdir)/proxychains.conf.sample!' \
-e 's!libproxychains_la_LIBADD = -ldl!libproxychains_la_LIBADD =!' \
${WRKSRC}/proxychains/Makefile.in
@${MV} ${WRKSRC}/proxychains/proxychains.conf \
${WRKSRC}/proxychains/proxychains.conf.sample
post-configure:
@${ECHO_CMD} '#define PREFIX "${PREFIX}"' >> ${WRKSRC}/config.h
post-install:
@[ -f ${PREFIX}/etc/proxychains.conf ] || ${CP} ${PREFIX}/etc/proxychains.conf.sample \
${PREFIX}/etc/proxychains.conf
.include <bsd.port.mk>