Use install-strip install target instead of manual ${STRIP_CMD}

This commit is contained in:
Emanuel Haupt 2014-09-18 09:07:31 +00:00
parent bead6e2747
commit 055ed9dde9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=368434

View file

@ -29,6 +29,8 @@ GNU_CONFIGURE= yes
USE_RC_SUBR= rsyncd
SUB_LIST= NAME=rsyncd
INSTALL_TARGET= install-strip
CONFIGURE_ARGS= --disable-debug --enable-ipv6 \
--with-rsyncd-conf=${ETCDIR}/rsyncd.conf
@ -94,7 +96,6 @@ post-patch:
${WRKSRC}/rsync.h ${WRKSRC}/rsync.1 ${WRKSRC}/rsyncd.conf.5
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/rsync
@${MKDIR} ${STAGEDIR}${ETCDIR}
${INSTALL_DATA} ${FILESDIR}/rsyncd.conf.sample ${STAGEDIR}${ETCDIR}/
@${MKDIR} ${STAGEDIR}${DOCSDIR}