svn commit: r473954 - head/mail/opendkim
Dmitry Marakasov
amdmi3 at FreeBSD.org
Thu Jul 5 08:37:38 UTC 2018
Author: amdmi3
Date: Thu Jul 5 08:37:37 2018
New Revision: 473954
URL: https://svnweb.freebsd.org/changeset/ports/473954
Log:
- Switch to new test framework
- Switch to options helpers
Approved by: portmgr blanket
Modified:
head/mail/opendkim/Makefile
Modified: head/mail/opendkim/Makefile
==============================================================================
--- head/mail/opendkim/Makefile Thu Jul 5 08:37:09 2018 (r473953)
+++ head/mail/opendkim/Makefile Thu Jul 5 08:37:37 2018 (r473954)
@@ -30,6 +30,7 @@ USE_PERL5= run
SHEBANG_FILES= opendkim/opendkim-genkey* reputation/opendkim-* stats/opendkim-* \
reprrd/opendkim-reprrdimport*
USE_LDCONFIG= yes
+TEST_TARGET= check # XXX: 1 of 30 tests fails
PORTDOCS= *
@@ -164,19 +165,14 @@ pre-configure:
-e '/PKG_CONFIG/s/cyrussasl/libsasl2/' \
${WRKSRC}/configure
-post-patch:
-.if ${PORT_OPTIONS:MLCOV}
+post-patch-LCOV-on:
${CP} ${FILESDIR}/lcov-helper.sh ${WRKSRC}/libopendkim/tests/
${CP} ${FILESDIR}/lcov-helper.sh ${WRKSRC}/opendkim/tests/
${FIND} ${WRKSRC} -type f -name \*-helper.sh -exec ${CHMOD} 755 {} +
-.endif
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/mail
${INSTALL_DATA} ${WRKSRC}/opendkim/opendkim.conf.sample \
${STAGEDIR}${PREFIX}/etc/mail/
-
-regression-test: build
- cd ${WRKSRC} ; ${MAKE} check
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list