aboutsummaryrefslogtreecommitdiff
path: root/net/proxychains-ng
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2013-07-03 11:34:41 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2013-07-03 11:34:41 +0000
commit928f61a15df8c918ede0863d001decf6b56afc08 (patch)
tree7982edf9a5443fc85569e4ea7b93960bf09c1baf /net/proxychains-ng
parentc6fdc4da3f72450aab2f439916d98309b0a7e028 (diff)
downloadports-928f61a15df8c918ede0863d001decf6b56afc08.tar.gz
ports-928f61a15df8c918ede0863d001decf6b56afc08.zip
Notes
Diffstat (limited to 'net/proxychains-ng')
-rw-r--r--net/proxychains-ng/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/net/proxychains-ng/Makefile b/net/proxychains-ng/Makefile
index ba843642f0bc..afb28b7c4e47 100644
--- a/net/proxychains-ng/Makefile
+++ b/net/proxychains-ng/Makefile
@@ -34,7 +34,7 @@ post-configure:
post-patch:
@${REINPLACE_CMD} \
- -e 's|$$(DESTDIR)/$$(sysconfdir)/|$$(DESTDIR)/$$(sysconfdir)/proxychains.conf.sample|' \
+ -e 's|$$(DESTDIR)$$(sysconfdir)/|$$(DESTDIR)$$(sysconfdir)/proxychains.conf.sample|' \
${WRKSRC}/Makefile
@${REINPLACE_CMD} \
-e 's|libproxychains4.so|libproxychains-4.so|' \
@@ -42,10 +42,8 @@ post-patch:
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/src/proxyresolv ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/src/proxychains.conf ${PREFIX}/etc/proxychains.conf.sample
-.if ! exists(${PREFIX}/etc/proxychains.conf)
- ${INSTALL_DATA} ${WRKSRC}/src/proxychains.conf ${PREFIX}/etc/proxychains.conf
-.endif
+ @[ -f ${PREFIX}/etc/proxychains.conf ] || \
+ ${INSTALL_DATA} ${WRKSRC}/src/proxychains.conf ${PREFIX}/etc/proxychains.conf
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}