2013-02-03 20:10:37 +00:00
|
|
|
# Created by: Dima Panov <fluffy@FreeBSD.org>
|
2011-02-06 15:30:19 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= grantlee
|
2013-02-03 20:10:37 +00:00
|
|
|
DISTVERSION= 0.3.0
|
2011-02-06 15:30:19 +00:00
|
|
|
CATEGORIES= devel
|
2011-10-24 20:06:54 +00:00
|
|
|
MASTER_SITES= http://downloads.${PORTNAME}.org/ \
|
|
|
|
http://www.loegria.net/${PORTNAME}/
|
2011-02-06 15:30:19 +00:00
|
|
|
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
|
|
COMMENT= String template engine for Qt4
|
|
|
|
|
|
|
|
LICENSE= LGPL21
|
|
|
|
|
2013-02-03 20:10:37 +00:00
|
|
|
USE_QT4= corelib gui qtestlib_build script \
|
|
|
|
qmake_build moc_build rcc_build uic_build
|
2013-03-22 20:06:14 +00:00
|
|
|
USES= cmake:outsource
|
2013-02-03 20:10:37 +00:00
|
|
|
CMAKE_ARGS+= -DBUILD_TESTS:BOOL=FALSE
|
2011-02-06 15:30:19 +00:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2013-02-03 20:10:37 +00:00
|
|
|
USE_LDCONFIG= yes
|
2011-02-06 15:30:19 +00:00
|
|
|
|
2013-02-03 20:10:37 +00:00
|
|
|
OPTIONS_DEFINE= DOXYGEN
|
2011-02-06 15:30:19 +00:00
|
|
|
|
2013-02-03 20:10:37 +00:00
|
|
|
.include <bsd.port.options.mk>
|
2011-02-06 15:30:19 +00:00
|
|
|
|
2013-02-03 20:10:37 +00:00
|
|
|
.if ${PORT_OPTIONS:MDOXYGEN}
|
2011-02-06 15:30:19 +00:00
|
|
|
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
|
|
|
|
|
2013-02-03 20:10:37 +00:00
|
|
|
.include <bsd.port.mk>
|