1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00
freebsd-ports/devel/grantlee/Makefile

44 lines
990 B
Makefile
Raw Normal View History

# New ports collection makefile for: grantlee
# Date created: 2010-10-03
# Whom: Dima Panov <fluffy@FreeBSD.org>
#
# $FreeBSD$
PORTNAME= grantlee
DISTVERSION= 0.2.0
2012-06-01 05:26:28 +00:00
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://downloads.${PORTNAME}.org/ \
http://www.loegria.net/${PORTNAME}/
MAINTAINER= kde@FreeBSD.org
COMMENT= String template engine for Qt4
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING.LIB
USE_CMAKE= yes
USE_LDCONFIG= yes
USE_QT4= corelib gui script \
qmake_build moc_build rcc_build uic_build qtestlib_build
CMAKE_ARGS+= -DBUILD_TESTS:BOOL=FALSE
CMAKE_OUTSOURCE= yes
MAKE_JOBS_UNSAFE= yes
OPTIONS= DOCS "Install API documentation" off
.include <bsd.port.pre.mk>
.if defined(WITH_DOCS)
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen \
dot:${PORTSDIR}/graphics/graphviz
PORTDOCS= *
post-install:
${MKDIR} ${DOCSDIR}
cd ${BUILD_WRKSRC} && ${MAKE} docs
cd ${BUILD_WRKSRC}/apidox && ${COPYTREE_SHARE} \* ${DOCSDIR}
.endif
.include <bsd.port.post.mk>