diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2018-07-05 16:37:37 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2018-07-05 16:37:37 +0800 |
commit | 540a4607438f6b4d7653bea4c4ce2d6ad2687241 (patch) | |
tree | 7b4fa4162d24fb0ae632cc2eb87c7dac3082375d /mail | |
parent | 5efe4ed09d04c442e64f76b131582fa514640135 (diff) | |
download | freebsd-ports-gnome-540a4607438f6b4d7653bea4c4ce2d6ad2687241.tar.gz freebsd-ports-gnome-540a4607438f6b4d7653bea4c4ce2d6ad2687241.tar.zst freebsd-ports-gnome-540a4607438f6b4d7653bea4c4ce2d6ad2687241.zip |
- Switch to new test framework
- Switch to options helpers
Approved by: portmgr blanket
Diffstat (limited to 'mail')
-rw-r--r-- | mail/opendkim/Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/mail/opendkim/Makefile b/mail/opendkim/Makefile index d44e2e2eec9a..fd05bf28ba68 100644 --- a/mail/opendkim/Makefile +++ b/mail/opendkim/Makefile @@ -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> |