2009-12-08 12:00:52 +00:00
|
|
|
# New ports collection makefile for: qtgtl
|
|
|
|
# Date created: 28 September 2009
|
|
|
|
# Whom: Alberto Villa <villa.alberto@gmail.com>
|
2010-09-06 22:42:16 +00:00
|
|
|
#
|
2009-12-08 12:00:52 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= qtgtl
|
2012-02-18 18:28:51 +00:00
|
|
|
PORTVERSION= 0.9.2
|
2012-06-01 05:26:28 +00:00
|
|
|
PORTREVISION= 1
|
2009-12-08 12:00:52 +00:00
|
|
|
CATEGORIES= graphics devel
|
2010-11-01 23:08:09 +00:00
|
|
|
MASTER_SITES= http://download.opengtl.org/
|
2009-12-08 12:00:52 +00:00
|
|
|
DISTNAME= libQtGTL-${PORTVERSION}
|
|
|
|
|
2010-01-26 22:53:08 +00:00
|
|
|
MAINTAINER= avilla@FreeBSD.org
|
2009-12-08 12:00:52 +00:00
|
|
|
COMMENT= Qt bindings for the Graphics Transformation Languages
|
|
|
|
|
2010-11-01 23:08:09 +00:00
|
|
|
LICENSE= LGPL20
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2009-12-08 12:00:52 +00:00
|
|
|
LIB_DEPENDS= GTLCore.0:${PORTSDIR}/graphics/opengtl
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_QT_VER= 4
|
|
|
|
QT_COMPONENTS= gui moc_build qmake_build rcc_build uic_build
|
|
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
USE_CMAKE= yes
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
${REINPLACE_CMD} -e 's|set(QTGTL_LIB_SOVERSION.*|set(QTGTL_LIB_SOVERSION "0")|' \
|
|
|
|
${PATCH_WRKSRC}/CMakeLists.txt
|
|
|
|
${REINPLACE_CMD} -e 's|$${LIB_INSTALL_DIR}/pkgconfig|${PREFIX}/libdata/pkgconfig|g' \
|
|
|
|
${PATCH_WRKSRC}/QtGTL/CMakeLists.txt \
|
|
|
|
${PATCH_WRKSRC}/QtShiva/CMakeLists.txt
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|