Tweak x11-toolkits/soqt version 1.5.0_2
[dports.git] / x11-toolkits / soqt / Makefile
1 # Created by: roland.jesse@gmx.net
2 # $FreeBSD: x11-toolkits/soqt/Makefile 327785 2013-09-20 23:57:47Z bapt $
3
4 PORTNAME=       SoQt
5 PORTVERSION=    1.5.0
6 PORTREVISION=   2
7 CATEGORIES=     x11-toolkits
8 MASTER_SITES=   http://ftp.coin3d.org/coin/src/all/ \
9                 ftp://ftp.coin3d.org/pub/coin/src/all/
10 DIST_SUBDIR=    KDE
11
12 MAINTAINER=     cristianorolim@hotmail.com
13 COMMENT=        Qt4 toolkit library for Coin
14
15 LIB_DEPENDS=    Coin.61:${PORTSDIR}/graphics/Coin
16
17 USE_AUTOTOOLS=  libtool
18 USES=   pathfix
19 USE_QT4=        corelib opengl moc_build
20 USE_GMAKE=      yes
21 CPPFLAGS+=      -I${QT_INCDIR} -I${QT_INCDIR}/Qt -I${LOCALBASE}/include
22 LDFLAGS+=       -L${QT_LIBDIR} -L${LOCALBASE}/lib
23
24 GNU_CONFIGURE=  yes
25 CONFIGURE_ENV=  QTDIR="${QT_PREFIX}"
26
27 CONFIGURE_ARGS= --with-pthread=yes --with-coin=${LOCALBASE} \
28                 --with-qt=${QT_LIBDIR}
29 USE_LDCONFIG=   yes
30
31 MAN1=           soqt-config.1
32
33 NO_STAGE=       yes
34 post-install:
35         @${TOUCH} ${PREFIX}/include/Inventor/Qt/engines/.keep_me
36
37 .include <bsd.port.mk>