svn commit: r322219 - head/net/proxychains-ng
William Grzybowski
wg at FreeBSD.org
Wed Jul 3 11:34:42 UTC 2013
Author: wg
Date: Wed Jul 3 11:34:41 2013
New Revision: 322219
URL: http://svnweb.freebsd.org/changeset/ports/322219
Log:
net/proxychains-ng: preserve conf file
- Fix preservation of .conf file
PR: ports/180109
Submitted by: nemysis <nemysis at gmx.ch> (maintainer)
Modified:
head/net/proxychains-ng/Makefile
Modified: head/net/proxychains-ng/Makefile
==============================================================================
--- head/net/proxychains-ng/Makefile Wed Jul 3 10:58:57 2013 (r322218)
+++ head/net/proxychains-ng/Makefile Wed Jul 3 11:34:41 2013 (r322219)
@@ -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}
More information about the svn-ports-head
mailing list