summaryrefslogtreecommitdiff
path: root/x11-toolkits/soqt/Makefile
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2009-03-17 20:00:05 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2009-03-17 20:00:05 +0000
commit4e5f6ef523ee434ffd3ead4c03123c7a54e006f3 (patch)
tree6ff29824a78c0ca80d774b9ae27fdae9a4cd256b /x11-toolkits/soqt/Makefile
parent- Respect NOPORTDOCS (diff)
Switch to use Qt4.
Pass maintainership to submitter. PR: based on ports/130925 Submitted by: Cristiano Rolim Pereira <cristianorolim at hotmail.com>
Notes
Notes: svn path=/head/; revision=230315
Diffstat (limited to 'x11-toolkits/soqt/Makefile')
-rw-r--r--x11-toolkits/soqt/Makefile28
1 files changed, 15 insertions, 13 deletions
diff --git a/x11-toolkits/soqt/Makefile b/x11-toolkits/soqt/Makefile
index b7376c9d5afb..ba2996f74adf 100644
--- a/x11-toolkits/soqt/Makefile
+++ b/x11-toolkits/soqt/Makefile
@@ -7,23 +7,31 @@
PORTNAME= SoQt
PORTVERSION= 1.4.1
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= x11-toolkits
MASTER_SITES= http://ftp.coin3d.org/coin/src/all/ \
ftp://ftp.coin3d.org/pub/coin/src/all/
DIST_SUBDIR= KDE
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Qt toolkit library for Coin
+MAINTAINER= cristianorolim@hotmail.com
+COMMENT= Qt4 toolkit library for Coin
LIB_DEPENDS= Coin.60:${PORTSDIR}/graphics/Coin
USE_AUTOTOOLS= libtool:15
-USE_QT_VER= 3
+USE_QT_VER= 4
+QT_COMPONENTS= corelib qt3support opengl moc_build
USE_GMAKE= yes
+CPPFLAGS+= -I${QT_INCDIR} -I${QT_INCDIR}/Qt -I${LOCALBASE}/include
+LDFLAGS+= -L${QT_LIBDIR} -L${LOCALBASE}/lib
+
GNU_CONFIGURE= yes
-CONFIGURE_ENV= QTDIR="${QT_PREFIX}"
-CONFIGURE_ARGS= --with-pthread=yes --with-coin=${LOCALBASE}
+CONFIGURE_ENV= QTDIR="${QT_PREFIX}" \
+ CPPFLAGS="${CPPFLAGS}" \
+ LDFLAGS="${LDFLAGS}"
+
+CONFIGURE_ARGS= --with-pthread=yes --with-coin=${LOCALBASE} \
+ --with-qt=${QT_LIBDIR}
USE_LDCONFIG= yes
MAN1= soqt-config.1
@@ -31,10 +39,4 @@ MAN1= soqt-config.1
post-install:
@${TOUCH} ${PREFIX}/include/Inventor/Qt/engines/.keep_me
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == i386
-BROKEN= does not build
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>