From 044cb7ebb7519056fd3d07b56f3b013e65261d9f Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Tue, 13 Jan 2015 00:26:43 +0000 Subject: - Strip binary and library - Remove useless ALL_TARGET, INSTALL_TARGET and CONFIGURE_ARGS - Use @sample for config PR: 196211 Submitted by: amdmi3 Approved by: maintainer timeout (nemysis) --- net/proxychains-ng/Makefile | 6 +++--- net/proxychains-ng/pkg-plist | 4 +--- 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'net/proxychains-ng') 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 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 -- cgit v1.2.3