# New ports collection makefile for: grantlee # Date created: 2010-10-03 # Whom: Dima Panov # # $FreeBSD$ PORTNAME= grantlee DISTVERSION= 0.2.0 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 .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