From 7208062308330fbe2cef02391dae55e843df4302 Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Sat, 25 May 2002 17:38:07 +0000 Subject: upgrade to 0.8.45 PR: 38547 Submitted by: maintainer --- graphics/osg-devel/Makefile | 40 ++++++++++++---------------------------- 1 file changed, 12 insertions(+), 28 deletions(-) (limited to 'graphics/osg-devel/Makefile') diff --git a/graphics/osg-devel/Makefile b/graphics/osg-devel/Makefile index 93a7ceeddc04..7f04f6b1ab2e 100644 --- a/graphics/osg-devel/Makefile +++ b/graphics/osg-devel/Makefile @@ -6,7 +6,7 @@ # PORTNAME= osg -PORTVERSION= 0.8.44 +PORTVERSION= 0.8.45 CATEGORIES= graphics MASTER_SITES= http://www.openscenegraph.org/download/snapshots/ @@ -18,37 +18,21 @@ LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \ tiff.4:${PORTSDIR}/graphics/tiff \ freetype.9:${PORTSDIR}/print/freetype2 +DISTNAME= OpenSceneGraph-${PORTVERSION} + USE_X_PREFIX= yes USE_MESA= yes INSTALLS_SHLIB= yes USE_GMAKE= yes MAKE_ENV= OSGHOME=${WRKSRC} -ALL_TARGET= freebsd - -pre-patch: - @${PERL} -pi -e 's,,,' \ - ${WRKSRC}/src/osgPlugins/flt/Input.cpp \ - ${WRKSRC}/src/osgPlugins/flt/Record.cpp \ - ${WRKSRC}/src/osgPlugins/obj/glm.cpp - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/bin/osgconv ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/bin/sgv ${PREFIX}/bin - ${FIND} ${WRKSRC}/include -name '*.orig' -delete - ${CP} -r ${WRKSRC}/include/ ${PREFIX}/include/ - ${INSTALL_DATA} ${WRKSRC}/lib/libosg.so ${PREFIX}/lib/libosg.so.1 - ${INSTALL_DATA} ${WRKSRC}/lib/libosgDB.so ${PREFIX}/lib/libosgDB.so.1 - ${INSTALL_DATA} ${WRKSRC}/lib/libosgGLUT.so ${PREFIX}/lib/libosgGLUT.so.1 - ${INSTALL_DATA} ${WRKSRC}/lib/libosgText.so ${PREFIX}/lib/libosgText.so.1 - ${INSTALL_DATA} ${WRKSRC}/lib/libosgUtil.so ${PREFIX}/lib/libosgUtil.so.1 - ${LN} -sf ${PREFIX}/lib/libosg.so.1 ${PREFIX}/lib/libosg.so - ${LN} -sf ${PREFIX}/lib/libosgDB.so.1 ${PREFIX}/lib/libosgDB.so - ${LN} -sf ${PREFIX}/lib/libosgGLUT.so.1 ${PREFIX}/lib/libosgGLUT.so - ${LN} -sf ${PREFIX}/lib/libosgText.so.1 ${PREFIX}/lib/libosgText.so - ${LN} -sf ${PREFIX}/lib/libosgUtil.so.1 ${PREFIX}/lib/libosgUtil.so - @${MKDIR} ${PREFIX}/lib/osgPlugins - ${CP} -p ${WRKSRC}/lib/osgPlugins/* ${PREFIX}/lib/osgPlugins - @${MKDIR} ${DOCSDIR} - ${CP} -r ${WRKSRC}/doc/ ${DOCSDIR} + +# opt = optimized ($OPTF added); debug = debug ($DBGF added); opt is default +ALL_TARGET= opt + +post-install: + ${LN} -sf ${PREFIX}/share/osg/bin/sgv ${PREFIX}/bin + ${LN} -sf ${PREFIX}/share/osg/bin/osgconv ${PREFIX}/bin + @${MKDIR} ${DOCSDIR} + ${CP} -r ${WRKSRC}/doc/ ${DOCSDIR} .include -- cgit v1.2.3