diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-05-26 01:38:07 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-05-26 01:38:07 +0800 |
commit | 7d88bc225c1a0e8342f4a071db1801e50509acd3 (patch) | |
tree | 4d2717a6b4016901c049afc9bca541402d5dce85 /graphics/osg-devel/Makefile | |
parent | c458567a41528ab0c9c1630bd2e6e3566bb770e7 (diff) | |
download | freebsd-ports-gnome-7d88bc225c1a0e8342f4a071db1801e50509acd3.tar.gz freebsd-ports-gnome-7d88bc225c1a0e8342f4a071db1801e50509acd3.tar.zst freebsd-ports-gnome-7d88bc225c1a0e8342f4a071db1801e50509acd3.zip |
upgrade to 0.8.45
PR: 38547
Submitted by: maintainer
Diffstat (limited to 'graphics/osg-devel/Makefile')
-rw-r--r-- | graphics/osg-devel/Makefile | 40 |
1 files changed, 12 insertions, 28 deletions
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,<malloc.h>,<stdlib.h>,' \ - ${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 <bsd.port.mk> |