1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/comms/openobex/Makefile
Guido Falsi 0caa2215f1 - Take advantage of accept4() in recent CURRENT [1]
- Fix plist when DOXYGEN option is not enabled

Suggested by:	jilles [1]
2013-05-06 21:56:18 +00:00

36 lines
799 B
Makefile

# $FreeBSD$
PORTNAME= openobex
PORTVERSION= 1.7
PORTREVISION= 3
CATEGORIES= comms net
MASTER_SITES= http://www.hendrik-sattler.de/downloads/${PORTNAME}/${PORTVERSION}/
DISTNAME= ${PORTNAME}-${PORTVERSION}-Source
MAINTAINER= madpilot@FreeBSD.org
COMMENT= Open source implementation of the OBEX protocol
USE_LDCONFIG= yes
USES= pathfix cmake
MAKE_JOBS_SAFE= yes
USE_DOS2UNIX= CMakeLists.txt
CMAKE_ARGS+= -DPKGCONFIG_INSTALL_DIR:STRING="${PREFIX}/libdata/pkgconfig"
OPTIONS_DEFINE= DOXYGEN
.if defined(PACKAGE_BUILDING)
OPTIONS_DEFAULT+= DOXYGEN
.endif
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOXYGEN}
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen
PLIST_SUB+= DOXYGEN=""
.else
CMAKE_ARGS+= -DBUILD_DOCUMENTATION=OFF
PLIST_SUB+= DOXYGEN="@comment "
.endif
.include <bsd.port.mk>