svn commit: r376895 - head/net/proxychains-ng

Dmitry Marakasov amdmi3 at FreeBSD.org
Tue Jan 13 00:26:44 UTC 2015


Author: amdmi3
Date: Tue Jan 13 00:26:43 2015
New Revision: 376895
URL: https://svnweb.freebsd.org/changeset/ports/376895
QAT: https://qat.redports.org/buildarchive/r376895/

Log:
  - 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)

Modified:
  head/net/proxychains-ng/Makefile
  head/net/proxychains-ng/pkg-plist

Modified: head/net/proxychains-ng/Makefile
==============================================================================
--- head/net/proxychains-ng/Makefile	Tue Jan 13 00:25:30 2015	(r376894)
+++ head/net/proxychains-ng/Makefile	Tue Jan 13 00:26:43 2015	(r376895)
@@ -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>

Modified: head/net/proxychains-ng/pkg-plist
==============================================================================
--- head/net/proxychains-ng/pkg-plist	Tue Jan 13 00:25:30 2015	(r376894)
+++ head/net/proxychains-ng/pkg-plist	Tue Jan 13 00:26:43 2015	(r376895)
@@ -1,6 +1,4 @@
 bin/proxychains
 bin/proxyresolv
- at 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
- at exec if [ -f %D/etc/proxychains.conf ] ; then cp -p %D/%F %B/proxychains.conf; fi
+ at sample etc/proxychains.conf.sample
 lib/libproxychains-4.so


More information about the svn-ports-all mailing list