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