diff options
author | William Grzybowski <wg@FreeBSD.org> | 2013-07-03 11:34:41 +0000 |
---|---|---|
committer | William Grzybowski <wg@FreeBSD.org> | 2013-07-03 11:34:41 +0000 |
commit | 928f61a15df8c918ede0863d001decf6b56afc08 (patch) | |
tree | 7982edf9a5443fc85569e4ea7b93960bf09c1baf /net/proxychains-ng/Makefile | |
parent | c6fdc4da3f72450aab2f439916d98309b0a7e028 (diff) | |
download | ports-928f61a15df8c918ede0863d001decf6b56afc08.tar.gz ports-928f61a15df8c918ede0863d001decf6b56afc08.zip |
Notes
Diffstat (limited to 'net/proxychains-ng/Makefile')
-rw-r--r-- | net/proxychains-ng/Makefile | 8 |
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} |