5e373eaa92
Using ninja instead of make (1) can lead to significant speed ups while building. Therefore switch from having the ninja generator opt-in to having it opt-out. Previously cmake-ports that wanted to use ninja could set CMAKE_NINJA=yes now, ports that do not work with ninja can set cmake:<existing args>,noninja Note, that needing this should be an exception and most often points to a broken cmake of the port. The ports using cmake were modified * removed USES=gmake, if ninja is used * removed MAKE_ARGS, if ninja is used * added the cmake-argument noninja if necessary PR: 219629 PR: 213331 Exp-run by: antoine Reviewed by: rakuco Differential Revision: https://reviews.freebsd.org/D10748
35 lines
776 B
Makefile
35 lines
776 B
Makefile
# Created by: delphij@FreeBSD.org
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libvmime
|
|
PORTVERSION= 0.9.2
|
|
PORTREVISION= 1
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= mail
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= All-in-one Internet mail library
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libgnutls.so:security/gnutls \
|
|
libgsasl.so:security/gsasl
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= kisli
|
|
GH_PROJECT= vmime
|
|
|
|
USES= cmake:outsource,noninja compiler:c++11-lib iconv pkgconfig
|
|
USE_LDCONFIG= yes
|
|
|
|
CMAKE_ARGS= -DLIB_SUFFIX:STRING="" \
|
|
-DVMIME_BUILD_SAMPLES:BOOL=NO \
|
|
-DVMIME_SHARED_PTR_USE_BOOST:BOOL=NO \
|
|
-DVMIME_SHARED_PTR_USE_CXX:BOOL=YES
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} 's,$${VMIME_INSTALL_LIBDIR}/pkgconfig,${PREFIX}/libdata/pkgconfig,' \
|
|
${WRKSRC}/CMakeLists.txt
|
|
|
|
.include <bsd.port.mk>
|