Date: Wed, 3 Jul 2013 11:34:41 +0000 (UTC) From: William Grzybowski <wg@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r322219 - head/net/proxychains-ng Message-ID: <201307031134.r63BYfOL044521@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307031134.r63BYfOL044521>