aboutsummaryrefslogtreecommitdiff
path: root/net/proxychains-ng
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-01-13 00:26:43 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-01-13 00:26:43 +0000
commit044cb7ebb7519056fd3d07b56f3b013e65261d9f (patch)
tree5304d6203863beb6e3cd7cad702383ad06fcd7be /net/proxychains-ng
parent8e3327b398c234b9b02ee262a7ead9ae8cac1f2d (diff)
downloadports-044cb7ebb7519056fd3d07b56f3b013e65261d9f.tar.gz
ports-044cb7ebb7519056fd3d07b56f3b013e65261d9f.zip
Notes
Diffstat (limited to 'net/proxychains-ng')
-rw-r--r--net/proxychains-ng/Makefile6
-rw-r--r--net/proxychains-ng/pkg-plist4
2 files changed, 4 insertions, 6 deletions
diff --git a/net/proxychains-ng/Makefile b/net/proxychains-ng/Makefile
index 7e45935ef0e8..f5717302ee12 100644
--- a/net/proxychains-ng/Makefile
+++ b/net/proxychains-ng/Makefile
@@ -14,9 +14,6 @@ LICENSE= GPLv2
USES= gmake tar:bzip2
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --prefix=${PREFIX}
-ALL_TARGET= all
-INSTALL_TARGET= install
USE_LDCONFIG= yes
CONFLICTS= proxychains-[0-9]*
@@ -41,4 +38,7 @@ post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/proxychains
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libproxychains-4.so
+
.include <bsd.port.mk>
diff --git a/net/proxychains-ng/pkg-plist b/net/proxychains-ng/pkg-plist
index 2c5af67478c8..6912b2b802fe 100644
--- a/net/proxychains-ng/pkg-plist
+++ b/net/proxychains-ng/pkg-plist
@@ -1,6 +1,4 @@
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 if [ -f %D/etc/proxychains.conf ] ; then cp -p %D/%F %B/proxychains.conf; fi
+@sample etc/proxychains.conf.sample
lib/libproxychains-4.so