summaryrefslogtreecommitdiff
path: root/graphics/osg-devel/Makefile
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2006-11-26 04:09:23 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2006-11-26 04:09:23 +0000
commitdfa1f4de4b9a2030bf4eabbea005365c8c48cf22 (patch)
treedd5bbd3919bebb87d2bc3848ecc5280c2af5adf6 /graphics/osg-devel/Makefile
parentUpdate to 1.021 (diff)
- Update openthreads to 1.5
- Update openproducer to 1.1 and move to LOCALBASE - Update osg to 1.2 and move to LOCALBASE - Take maintainerships PR: ports/105729 Submitted by: jylefort Approved by: maintainers
Notes
Notes: svn path=/head/; revision=178041
Diffstat (limited to 'graphics/osg-devel/Makefile')
-rw-r--r--graphics/osg-devel/Makefile62
1 files changed, 7 insertions, 55 deletions
diff --git a/graphics/osg-devel/Makefile b/graphics/osg-devel/Makefile
index e8b5fb833e61..0903142b8078 100644
--- a/graphics/osg-devel/Makefile
+++ b/graphics/osg-devel/Makefile
@@ -6,72 +6,24 @@
#
PORTNAME= osg
-PORTVERSION= 0.9.8
+PORTVERSION= 1.2
CATEGORIES= graphics
-MASTER_SITES= http://www.openscenegraph.org/downloads/snapshots/
-DISTNAME= OSG_OP_OT-${PORTVERSION}-2
-MAINTAINER= rrghphar@bigpond.net.au
+MAINTAINER= jylefort@FreeBSD.org
COMMENT= C++ OpenGL scene graph library for real-time rendering
-BROKEN= fails to install
-DEPRECATED= ${BROKEN}
-EXPIRATION_DATE=2006-12-01
-
BUILD_DEPENDS= ${LOCALBASE}/lib/libOpenThreads.so:${PORTSDIR}/devel/openthreads \
- ${X11BASE}/lib/libProducer.so:${PORTSDIR}/graphics/openproducer
+ ${LOCALBASE}/lib/libProducer.so:${PORTSDIR}/graphics/openproducer
RUN_DEPENDS= ${LOCALBASE}/lib/libOpenThreads.so:${PORTSDIR}/devel/openthreads \
- ${X11BASE}/lib/libProducer.so:${PORTSDIR}/graphics/openproducer
+ ${LOCALBASE}/lib/libProducer.so:${PORTSDIR}/graphics/openproducer
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
jpeg.9:${PORTSDIR}/graphics/jpeg \
ungif.5:${PORTSDIR}/graphics/libungif \
tiff.4:${PORTSDIR}/graphics/tiff \
- freetype.9:${PORTSDIR}/print/freetype2 \
- xml2.5:${PORTSDIR}/textproc/libxml2
+ freetype.9:${PORTSDIR}/print/freetype2
-USE_ZIP= yes
-USE_X_PREFIX= yes
USE_GL= yes
-INSTALLS_SHLIB= yes
-USE_GMAKE= yes
-MAKE_ENV= OSGHOME="${WRKSRC}" \
- PTHREAD_LIBS="${PTHREAD_LIBS}" \
- EXAMPLESDIR="${EXAMPLESDIR}" \
- DOCSDIR="${DOCSDIR}" \
- DATADIR="${DATADIR}" \
- OPTF="${CXXFLAGS}"
-MAKEFILE= GNUmakefile
WRKSRC= ${WRKDIR}/${DISTNAME}/OpenSceneGraph
-# opt = optimized ($OPTF added); debug = debug ($DBGF added); opt is default
-ALL_TARGET= opt
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500035
-EXTRA_PATCHES= ${FILESDIR}/freebsd4-osg-patches
-.endif
-
-.if !defined(NOPORTDOCS)
-
-BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen \
- dot:${PORTSDIR}/graphics/graphviz
-PORTDOCS= html
-
-pre-patch:
- ${REINPLACE_CMD} -e 's,[[:cntrl:]]*$$,,' \
- ${WRKSRC}/examples/osgtesselate/osgtesselate.cpp
-
-post-build:
- cd ${WRKSRC}/doc/Doxyfiles && OSGHOME=${WRKSRC} doxygen all_Doxyfile
-
-pre-install:
- ${FIND} ${WRKSRC} -name '*.orig' -delete
-
-post-install:
- @${MKDIR} ${DOCSDIR}
- ${CP} -r ${WRKSRC}/doc/doxygen/ ${DOCSDIR}
-
-.endif
-
-.include <bsd.port.post.mk>
+.include "${.CURDIR}/bsd.osg.mk"
+.include <bsd.port.mk>