diff options
author | Rusmir Dusko <nemysis@FreeBSD.org> | 2013-11-07 21:16:15 +0000 |
---|---|---|
committer | Rusmir Dusko <nemysis@FreeBSD.org> | 2013-11-07 21:16:15 +0000 |
commit | 3df8a35ee64207469bea2162911589ff95b68275 (patch) | |
tree | 2e8d55b00fded740112c43fa041d2d5bcbf6519f /net/proxychains-ng | |
parent | dbee00cccf354c3d469f2a63aacbfc51dfcb2e81 (diff) | |
download | ports-3df8a35ee64207469bea2162911589ff95b68275.tar.gz ports-3df8a35ee64207469bea2162911589ff95b68275.zip |
Notes
Diffstat (limited to 'net/proxychains-ng')
-rw-r--r-- | net/proxychains-ng/Makefile | 26 | ||||
-rw-r--r-- | net/proxychains-ng/pkg-plist | 2 |
2 files changed, 10 insertions, 18 deletions
diff --git a/net/proxychains-ng/Makefile b/net/proxychains-ng/Makefile index 29c6d641b7f6..7eb1bddbf36e 100644 --- a/net/proxychains-ng/Makefile +++ b/net/proxychains-ng/Makefile @@ -7,17 +7,17 @@ CATEGORIES= net security MASTER_SITES= SF/${PORTNAME} DISTNAME= ${PORTNAME:S/-ng//}-${PORTVERSION} -MAINTAINER= nemysis@gmx.ch +MAINTAINER= nemysis@FreeBSD.org COMMENT= Redirect connection through proxy servers LICENSE= GPLv2 USE_BZIP2= yes +USES= gmake GNU_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${PREFIX} -USE_GMAKE= yes ALL_TARGET= all -INSTALL_TARGET= install install-config +INSTALL_TARGET= install USE_LDCONFIG= yes CONFLICTS= proxychains-[0-9]* @@ -26,29 +26,21 @@ PORTDOCS= AUTHORS ChangeLog README TODO OPTIONS_DEFINE= DOCS -NO_STAGE= yes -.include <bsd.port.options.mk> - post-configure: @${ECHO_CMD} "PXCHAINS=proxychains" >> ${WRKSRC}/config.mak @${ECHO_CMD} "LDSO_PATHNAME=libproxychains-4.so" >> ${WRKSRC}/config.mak post-patch: @${REINPLACE_CMD} \ - -e 's|$$(DESTDIR)$$(sysconfdir)/|$$(DESTDIR)$$(sysconfdir)/proxychains.conf.sample|' \ - ${WRKSRC}/Makefile - @${REINPLACE_CMD} \ -e 's|libproxychains4.so|libproxychains-4.so|' \ ${WRKSRC}/src/proxyresolv post-install: - ${INSTALL_SCRIPT} ${WRKSRC}/src/proxyresolv ${PREFIX}/bin - @[ -f ${PREFIX}/etc/proxychains.conf ] || \ - ${INSTALL_DATA} ${WRKSRC}/src/proxychains.conf ${PREFIX}/etc/proxychains.conf - -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} -.endif + ${INSTALL_SCRIPT} ${WRKSRC}/src/proxyresolv ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_DATA} ${WRKSRC}/src/proxychains.conf \ + ${STAGEDIR}${PREFIX}/etc/proxychains.conf.sample + + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/net/proxychains-ng/pkg-plist b/net/proxychains-ng/pkg-plist index d24f6edcc48d..2c5af67478c8 100644 --- a/net/proxychains-ng/pkg-plist +++ b/net/proxychains-ng/pkg-plist @@ -2,5 +2,5 @@ bin/proxychains bin/proxyresolv @unexec if cmp -s %D/etc/proxychains.conf %D/etc/proxychains.conf.sample; then rm -f %D/etc/proxychains.conf; fi etc/proxychains.conf.sample -@exec [ -f %D/etc/proxychains.conf ] ; then cp -p %D/%F %B/proxychains.conf; fi +@exec if [ -f %D/etc/proxychains.conf ] ; then cp -p %D/%F %B/proxychains.conf; fi lib/libproxychains-4.so |