freebsd-ports/devel/libdbusmenu-qt/Makefile
Alberto Villa 5053a7f65b - Update grantlee to 0.2.0-rc1.
- Update libdbusmenu-qt to 0.9.0 and add option to install docs.
2011-10-16 22:56:58 +00:00

47 lines
1 KiB
Makefile

# New ports collection makefile for: libdbusmenu-qt
# Date created: 2010-05-10
# Whom: Dima Panov <fluffy@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= libdbusmenu-qt
PORTVERSION= 0.9.0
CATEGORIES= devel
MASTER_SITES= http://launchpad.net/${PORTNAME}/trunk/${PORTVERSION}/+download/
MAINTAINER= kde@FreeBSD.org
COMMENT= Qt4 implementation of the DBusMenu protocol
LICENSE= LGPL20
LICENSE_FILE= ${WRKSRC}/COPYING
FETCH_ARGS= -Fpr
USE_BZIP2= yes
USE_CMAKE= yes
USE_QT_VER= 4
QT_COMPONENTS= dbus gui xml \
moc_build qmake_build rcc_build uic_build
USE_LDCONFIG= yes
CMAKE_OUTSOURCE= yes
MAKE_JOBS_SAFE= yes
OPTIONS= DOCS "Install API documentation (requires Doxygen)" off
.include <bsd.port.options.mk>
.if defined(WITH_DOCS)
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen
PORTDOCS= *
CMAKE_ARGS+= -DDOC_INSTALL_DIR:PATH="${DOCSDIR_REL}"
.else
CMAKE_ARGS+= -DWITH_DOC:BOOL=OFF
.endif
post-patch:
@${REINPLACE_CMD} -e '/pkgconfig/ s/$${LIB_SUFFIX}/data/' \
-e '/tests/ d' -e '/tools/ d' \
${WRKSRC}/CMakeLists.txt
.include <bsd.port.mk>