10dce1c574
Submitted by: Schaich Alonso <alonsoschaich@fastmail.fm>
37 lines
854 B
Makefile
37 lines
854 B
Makefile
# Created by: Dima Panov <fluffy@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= grantlee
|
|
DISTVERSION= 0.3.0
|
|
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
|
|
|
|
USE_QT4= corelib gui qtestlib_build script \
|
|
qmake_build moc_build rcc_build uic_build
|
|
USES= cmake:outsource
|
|
CMAKE_ARGS+= -DBUILD_TESTS:BOOL=FALSE
|
|
MAKE_JOBS_UNSAFE= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
OPTIONS_DEFINE= DOXYGEN
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MDOXYGEN}
|
|
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen \
|
|
dot:${PORTSDIR}/graphics/graphviz
|
|
PORTDOCS= *
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${BUILD_WRKSRC} && ${MAKE} docs
|
|
cd ${BUILD_WRKSRC}/apidox && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|