blob: 1dd6f4d71721648e1fb7e063ee54f9ba4393c3f6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# 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>
|