1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/mail/mailio/Makefile
2024-11-20 13:05:25 +03:00

30 lines
826 B
Makefile

PORTNAME= mailio
DISTVERSION= 0.24.0
PORTREVISION= 1
CATEGORIES= mail devel
MAINTAINER= yuri@FreeBSD.org
COMMENT= C++ library for MIME format and SMTP, POP3 and IMAP protocols
WWW= https://github.com/karastojko/mailio
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libboost_system.so:devel/boost-libs
USES= cmake:testing compiler:c++17-lang ssl
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= karastojko
CMAKE_OFF= MAILIO_BUILD_TESTS MAILIO_BUILD_EXAMPLES MAILIO_BUILD_DOCUMENTATION
CMAKE_ON= MAILIO_DYN_LINK_TESTS # workaround for https://github.com/karastojko/mailio/issues/159
CMAKE_TESTING_ON= MAILIO_BUILD_TESTS # tests fail, see https://github.com/karastojko/mailio/issues/160
CMAKE_TESTING_TARGET= all
post-test:
@cd ${WRKSRC}/test && ${BUILD_WRKSRC}/test/test_message
.include <bsd.port.mk>