Changeset View
Changeset View
Standalone View
Standalone View
devel/grantlee5/Makefile
- This file was added.
Property | Old Value | New Value |
---|---|---|
svn:eol-style | null | native \ No newline at end of property |
svn:keywords | null | FreeBSD=%H \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
# Created by: Tobias C. Berner <tcberner@gmail.com> | |||||
# $FreeBSD$ | |||||
PORTNAME= grantlee | |||||
PORTVERSION= ${GRANTLEE_VERSION} | |||||
CATEGORIES= devel | |||||
MASTER_SITES= http://downloads.${PORTNAME}.org/ | |||||
PKGNAMESUFFIX= 5 | |||||
MAINTAINER= kde@FreeBSD.org | |||||
COMMENT= String template engine for Qt 5 | |||||
LICENSE= LGPL21 | |||||
USE_QT5= buildtools_build core gui qmake_build script | |||||
USES= cmake:outsource compiler:c++11-lib grantlee:5,build | |||||
CMAKE_ARGS+= -DBUILD_TESTS:BOOL=FALSE | |||||
USE_LDCONFIG= yes | |||||
# fix the header-file location in the cmake generators (first one puts them | |||||
# to include/grantlee5, the second one ensures that include/grantlee5 gets | |||||
# added to CFLAGS for dependent ports). | |||||
post-patch: | |||||
${REINPLACE_CMD} -e '/INCLUDE_INSTALL_DIR/ s#include#include/grantlee5#' \ | |||||
${WRKSRC}/CMakeLists.txt | |||||
${REINPLACE_CMD} -e '/INCLUDES DESTINATION/ s#include#include/grantlee5#' \ | |||||
${WRKSRC}/templates/lib/CMakeLists.txt \ | |||||
${WRKSRC}/textdocument/lib/CMakeLists.txt | |||||
.include <bsd.port.mk> |