summaryrefslogtreecommitdiff
path: root/net/proxychains/Makefile
blob: 103b398a70757165d9067d8fbb3ca1682ea06d0c (plain)
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
32
33
34
35
36
# New ports collection makefile for:	proxychains
# Date created:		14 jui 2003
# Whom:			Patrick MARIE <mycroft@virgaria.org>
# $FreeBSD$

PORTNAME=	proxychains
PORTVERSION=	2.1
CATEGORIES=	net
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	proxychains

MAINTAINER=	mycroft@virgaria.org
COMMENT=	Multi-proxifier

USE_REINPLACE=	yes

USE_AUTOCONF_VER=	213
USE_AUTOMAKE_VER=	14

INSTALLS_SHLIB=	yes

post-extract:
	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
		${WRKSRC}/proxychains/Makefile.in

pre-build:
	${RM} ${WRKSRC}/config.h

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/proxychains/proxychains ${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/proxychains/proxychains.conf \
		${PREFIX}/etc
	${INSTALL_DATA} ${WRKSRC}/proxychains/.libs/libproxychains.so.2 \
		${PREFIX}/lib

.include <bsd.port.mk>