diff options
Diffstat (limited to 'net')
-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 |