2011-02-06 15:30:19 +00:00
|
|
|
# New ports collection makefile for: grantlee
|
|
|
|
# Date created: 2010-10-03
|
|
|
|
# Whom: Dima Panov <fluffy@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= grantlee
|
2011-11-05 17:18:12 +00:00
|
|
|
DISTVERSION= 0.2.0
|
2012-06-01 05:26:28 +00:00
|
|
|
PORTREVISION= 1
|
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
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING.LIB
|
|
|
|
|
|
|
|
USE_CMAKE= yes
|
2011-10-24 20:06:54 +00:00
|
|
|
USE_LDCONFIG= yes
|
2012-06-06 06:44:37 +00:00
|
|
|
USE_QT4= corelib gui script \
|
2011-10-24 20:06:54 +00:00
|
|
|
qmake_build moc_build rcc_build uic_build qtestlib_build
|
2011-02-06 15:30:19 +00:00
|
|
|
CMAKE_ARGS+= -DBUILD_TESTS:BOOL=FALSE
|
2011-10-16 22:56:58 +00:00
|
|
|
CMAKE_OUTSOURCE= yes
|
2011-02-06 15:30:19 +00:00
|
|
|
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>
|