freebsd-ports/graphics/tulip/Makefile
Koop Mast 5aa7246575 Switch from libglut to freeglut and retire libglut. Libglut hasn't been
developed in years and has been dropped from the MESA 8.0 distribution.
Freeglut is a rewrite of glut and is actively developed and is used by
many linux distributions instead of libglut.

Bump all ports that directly depend on libglut because of the shlib version
change.

There are some extra items in this patch.

*) Because freeglut doesn't have the same dependancies as libglut, some ports
	need extra dependencies added to USE_XORG to make them build.
*) Mark graphics/f90gl broken, f90gl depends on a header that is only shipped
	with libglut.
*) Remove option for libglut/freeglut selection in games/cake, only freeglut
	remains now.
*) While here fix a png related build issue games/vegastrike.

Thanks to miwi for running the exp-run.

Approved by:	portmgr (miwi)

Collaboration with:	zeising@
Obtained from:	xorg-dev staging area.
2012-08-04 22:52:02 +00:00

59 lines
1.4 KiB
Makefile

# ex:ts=8
# Ports collection makefile for: tulip
# Date created: Feb 8, 2003
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= tulip
PORTVERSION= 3.8.0
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= SF/auber/${PORTNAME}/${PORTNAME}-${PORTVERSION}
DISTFILES= ${DISTNAME}-src${EXTRACT_SUFX}
MAINTAINER= gahr@FreeBSD.org
COMMENT= A system dedicated to the visualization of huge graphs
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \
gzstream.0:${PORTSDIR}/devel/gzstream \
ftgl.2:${PORTSDIR}/graphics/ftgl \
qscintilla2:${PORTSDIR}/devel/qscintilla2 \
jpeg.11:${PORTSDIR}/graphics/jpeg
USE_QT4= corelib moc_build uic_build rcc_build gui opengl xml network qmake_build \
designer assistant assistantclient
USE_GL= glew glut
USE_GNOME= libxml2
USE_PYTHON= yes
USE_CMAKE= yes
CMAKE_OUTSOURCE=yes
CMAKE_ARGS+= -DLOCALBASE:PATH=${LOCALBASE} \
-DPYTHON_INCLUDEDIR:PATH=${PYTHON_INCLUDEDIR}
USE_LDCONFIG= ${PREFIX}/lib/tlp
WRKSRC= ${WRKDIR}/${DISTNAME}-src
PLIST_SUB+= TULIP_VERSION=${PORTVERSION} \
TULIP_VERS=${PORTVERSION:R}
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
CFLAGS+= -fPIC
.endif
.if ${OSVERSION} < 800000
BROKEN= does not compile on FreeBSD 7.X
.endif
.if !defined(NOPORTDOCS)
DISTFILES+= ${PORTNAME}-${PORTVERSION}-html.tar.bz2
PORTDOCS= *
post-install:
${INSTALL} -d ${DOCSDIR}
(cd ${WRKDIR}/${PORTNAME}-${PORTVERSION}-html && ${COPYTREE_SHARE} \* ${DOCSDIR})
.endif
.include <bsd.port.post.mk>