freebsd-ports/x11-toolkits/soqt/Makefile
Dmitry Marakasov 30b50a1c01 - Switch to USES=libtool, drop .la files
- Bump dependent ports as .so version has changed

Approved by:	portmgr blanket
2014-06-23 00:57:24 +00:00

40 lines
1,002 B
Makefile

# Created by: roland.jesse@gmx.net
# $FreeBSD$
PORTNAME= SoQt
PORTVERSION= 1.5.0
PORTREVISION= 3
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= Qt4 toolkit library for Coin
LICENSE= GPLv2
LIB_DEPENDS= libCoin.so:${PORTSDIR}/graphics/Coin
USES= gmake libtool pathfix pkgconfig
USE_QT4= corelib opengl moc_build
QT_NONSTANDARD= yes
USE_GL= gl
GNU_CONFIGURE= yes
CONFIGURE_ENV= QTDIR="${QT_PREFIX}" MOC="${MOC}"
CONFIGURE_ARGS= --with-pthread=yes --with-coin=${LOCALBASE} \
--with-qt=${QT_LIBDIR}
USE_LDCONFIG= yes
CPPFLAGS+= -I${QT_INCDIR}/Qt -I${QT_INCDIR} -I${LOCALBASE}/include
LDFLAGS+= -L${QT_LIBDIR} -L${LOCALBASE}/lib
post-patch:
@${REINPLACE_CMD} -e \
'/LDFLAGS/s| $$sim_ac_coin_ldflags|| ; \
/CXXFLAGS/s| -fno-for-scope||' ${WRKSRC}/configure
post-install:
@${TOUCH} ${STAGEDIR}${PREFIX}/include/Inventor/Qt/engines/.keep_me
.include <bsd.port.mk>