- Fix build with clang

- Add LICENSE

PR:		187740
Submitted by:	Ports Fury
This commit is contained in:
Martin Wilke 2014-05-22 05:42:59 +00:00
parent e358967718
commit 17c05e7111
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354772
2 changed files with 18 additions and 14 deletions

View File

@ -12,25 +12,29 @@ DIST_SUBDIR= KDE
MAINTAINER= ports@FreeBSD.org
COMMENT= Qt4 toolkit library for Coin
LIB_DEPENDS= Coin.61:${PORTSDIR}/graphics/Coin
LICENSE= GPLv2
USE_AUTOTOOLS= libtool
USES= pathfix gmake
LIB_DEPENDS= libCoin.so:${PORTSDIR}/graphics/Coin
USES= gmake libtool pathfix pkgconfig
USE_QT4= corelib opengl moc_build
CPPFLAGS+= -I${QT_INCDIR} -I${QT_INCDIR}/Qt -I${LOCALBASE}/include
LDFLAGS+= -L${QT_LIBDIR} -L${LOCALBASE}/lib
QT_NONSTANDARD= yes
USE_GL= gl
GNU_CONFIGURE= yes
CONFIGURE_ENV= QTDIR="${QT_PREFIX}"
CONFIGURE_ENV= QTDIR="${QT_PREFIX}" MOC="${MOC}"
CONFIGURE_ARGS= --with-pthread=yes --with-coin=${LOCALBASE} \
--with-qt=${QT_LIBDIR}
USE_LDCONFIG= yes
MAN1= soqt-config.1
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
NO_STAGE= yes
post-install:
@${TOUCH} ${PREFIX}/include/Inventor/Qt/engines/.keep_me
@${TOUCH} ${STAGEDIR}${PREFIX}/include/Inventor/Qt/engines/.keep_me
.include <bsd.port.mk>

View File

@ -23,11 +23,11 @@ include/Inventor/Qt/viewers/SoQtPlaneViewer.h
include/Inventor/Qt/viewers/SoQtViewer.h
include/Inventor/Qt/widgets/SoQtPopupMenu.h
include/Inventor/Qt/widgets/SoQtThumbWheel.h
lib/libSoQt.a
lib/libSoQt.la
lib/libSoQt.so
lib/libSoQt.so.25
lib/libSoQt.so.20
lib/libSoQt.so.20.5.0
libdata/pkgconfig/SoQt.pc
man/man1/soqt-config.1.gz
share/Coin/conf/soqt-default.cfg
share/aclocal/soqt.m4
@dirrmtry share/Coin/conf