freebsd-ports/comms/openobex/Makefile
Tobias C. Berner 707c6bf295 Change cmake default behaviour to outsource.
Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".

I tried to only set insource where explictely needed.

PR:		232038
Exp-run by:	antoine
2018-12-25 20:25:39 +00:00

28 lines
600 B
Makefile

# $FreeBSD$
PORTNAME= openobex
PORTVERSION= 1.7.2
CATEGORIES= comms net
MASTER_SITES= SF
DISTNAME= ${PORTNAME}-${PORTVERSION}-Source
MAINTAINER= madpilot@FreeBSD.org
COMMENT= Open source implementation of the OBEX protocol
USE_LDCONFIG= yes
USES= cmake:insource dos2unix
DOS2UNIX_FILES= CMakeLists.txt
CMAKE_ARGS+= -DPKGCONFIG_INSTALL_DIR:STRING="${PREFIX}/libdata/pkgconfig"
OPTIONS_DEFINE= DOXYGEN
.if defined(PACKAGE_BUILDING)
OPTIONS_DEFAULT+= DOXYGEN
.endif
OPTIONS_SUB=yes
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
DOXYGEN_CMAKE_OFF= -DBUILD_DOCUMENTATION=OFF
.include <bsd.port.mk>