freebsd-ports/net/proxychains/Makefile
Emanuel Haupt 287fc13c23 - Stage
- Add LICENSE and LICENSE_FILE
- Use @sample plist macro
- Take maintainer-ship
- Use libtool USE macro
- Polish pkg-descr
2014-06-26 14:20:22 +00:00

35 lines
994 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= ehaupt@FreeBSD.org
COMMENT= Redirect connection through proxy servers
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
USES= gmake libtool
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:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libproxychains.so.3.0.0
${INSTALL_DATA} ${WRKSRC}/proxychains/proxychains.conf.sample \
${STAGEDIR}${PREFIX}/etc/proxychains.conf
.include <bsd.port.mk>