svn commit: r437830 - head/net/rsync
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Wed Apr 5 19:59:11 UTC 2017
Author: sunpoet
Date: Wed Apr 5 19:59:10 2017
New Revision: 437830
URL: https://svnweb.freebsd.org/changeset/ports/437830
Log:
Convert to options helper and test framework
Approved by: portmgr (blanket)
Modified:
head/net/rsync/Makefile
Modified: head/net/rsync/Makefile
==============================================================================
--- head/net/rsync/Makefile Wed Apr 5 19:59:05 2017 (r437829)
+++ head/net/rsync/Makefile Wed Apr 5 19:59:10 2017 (r437830)
@@ -29,6 +29,7 @@ USE_RC_SUBR= rsyncd
SUB_LIST= NAME=rsyncd
INSTALL_TARGET= install-strip
+TEST_TARGET= check
CONFIGURE_ARGS= --disable-debug --enable-ipv6 \
--with-rsyncd-conf=${ETCDIR}/rsyncd.conf
@@ -79,9 +80,14 @@ POPT_PORT_CONFIGURE_OFF= --with-included
SSH_CONFIGURE_ON= --with-rsh=ssh
SSH_CONFIGURE_OFF= --with-rsh=rsh
-.include <bsd.port.options.mk>
+ACL_DISTFILES= ${PORTNAME}-patches-${PORTVERSION}${EXTRACT_SUFX}
+ATIMES_DISTFILES= ${PORTNAME}-patches-${PORTVERSION}${EXTRACT_SUFX}
+FLAGS_DISTFILES= ${PORTNAME}-patches-${PORTVERSION}${EXTRACT_SUFX}
+ICONV_DISTFILES= ${PORTNAME}-patches-${PORTVERSION}${EXTRACT_SUFX}
+RENAMED_DISTFILES= ${PORTNAME}-patches-${PORTVERSION}${EXTRACT_SUFX}
+TIMELIMIT_DISTFILES= ${PORTNAME}-patches-${PORTVERSION}${EXTRACT_SUFX}
-.if ${PORT_OPTIONS:MICONV} || ${PORT_OPTIONS:MFLAGS} || ${PORT_OPTIONS:MACL} || make(makesum) || ${PORT_OPTIONS:MTIMELIMIT} || ${PORT_OPTIONS:MATIMES} || ${PORT_OPTIONS:MRENAMED}
+.if make(makesum)
DISTFILES+= ${PORTNAME}-patches-${PORTVERSION}${EXTRACT_SUFX}
.endif
@@ -102,7 +108,4 @@ post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
-test: build
- @(cd ${WRKSRC} && ${MAKE_CMD} check)
-
.include <bsd.port.post.mk>
More information about the svn-ports-head
mailing list