- 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)
This commit is contained in:
Dmitry Marakasov 2015-01-13 00:26:43 +00:00
parent 8e3327b398
commit 044cb7ebb7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=376895
2 changed files with 4 additions and 6 deletions

View file

@ -14,9 +14,6 @@ LICENSE= GPLv2
USES= gmake tar:bzip2 USES= gmake tar:bzip2
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
ALL_TARGET= all
INSTALL_TARGET= install
USE_LDCONFIG= yes USE_LDCONFIG= yes
CONFLICTS= proxychains-[0-9]* CONFLICTS= proxychains-[0-9]*
@ -41,4 +38,7 @@ post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${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> .include <bsd.port.mk>

View file

@ -1,6 +1,4 @@
bin/proxychains bin/proxychains
bin/proxyresolv bin/proxyresolv
@unexec if cmp -s %D/etc/proxychains.conf %D/etc/proxychains.conf.sample; then rm -f %D/etc/proxychains.conf; fi @sample etc/proxychains.conf.sample
etc/proxychains.conf.sample
@exec if [ -f %D/etc/proxychains.conf ] ; then cp -p %D/%F %B/proxychains.conf; fi
lib/libproxychains-4.so lib/libproxychains-4.so