diff options
author | sobomax <sobomax@FreeBSD.org> | 2001-05-31 18:10:36 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2001-05-31 18:10:36 +0800 |
commit | 56de74b43704327c9e41e8922702ff33f35f7c26 (patch) | |
tree | bd1b385320a799aaa6fe7fa6621991e6ba55ea1e /graphics/osg-devel/Makefile | |
parent | a5b4ac1ef1ac2457a3dc091aa0c3350dbb93dfae (diff) | |
download | freebsd-ports-gnome-56de74b43704327c9e41e8922702ff33f35f7c26.tar.gz freebsd-ports-gnome-56de74b43704327c9e41e8922702ff33f35f7c26.tar.zst freebsd-ports-gnome-56de74b43704327c9e41e8922702ff33f35f7c26.zip |
Add osg 0.8.38, a C++/OpenGL scene graph library for real-time
rendering.
PR: 26926
Submitted by: Randall Hopper <aa8vb@nc.rr.com>
Diffstat (limited to 'graphics/osg-devel/Makefile')
-rw-r--r-- | graphics/osg-devel/Makefile | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/graphics/osg-devel/Makefile b/graphics/osg-devel/Makefile new file mode 100644 index 000000000000..0aafc12f3be7 --- /dev/null +++ b/graphics/osg-devel/Makefile @@ -0,0 +1,50 @@ +# New ports collection makefile for: Open Scene Graph +# Date created: 26 Apr 2001 +# Whom: Randall Hopper <aa8vb@nc.rr.com> +# +# $FreeBSD$ +# + +PORTNAME= osg +PORTVERSION= 0.8.38 +CATEGORIES= graphics +MASTER_SITES= http://www.openscenegraph.org/download/snapshots/ +DISTNAME= ${PORTNAME}_src-0.8-38 + +MAINTAINER= aa8vb@nc.rr.com + +WRKSRC= ${WRKDIR}/OpenSceneGraph-0.8 + +USE_X_PREFIX= yes +USE_MESA= yes +INSTALLS_SHLIB= yes +USE_GMAKE= yes +MAKE_ENV= CXX="${CXX}" \ + PTHREAD_LIBS="${PTHREAD_LIBS}" \ + PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" + +ALL_TARGET= freebsd + +post-patch: +.for suf in defs rules + @${LN} -sf ${WRKSRC}/Make/make${suf}.linux \ + ${WRKSRC}/Make/make${suf}.freebsd +.endfor + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/bin/* ${PREFIX}/bin + ${TAR} -C ${WRKSRC}/include -c -f - . | \ + ${TAR} -C ${PREFIX}/include --unlink -x -f - +.for lib in osg osgUtil osgGLUT + ${INSTALL_PROGRAM} ${WRKSRC}/lib/lib${lib}.so \ + ${PREFIX}/lib/lib${lib}.so.1 + ${LN} -sf lib${lib}.so.1 ${PREFIX}/lib/lib${lib}.so +.endfor + ${MKDIR} ${PREFIX}/lib/osgPlugins + ${INSTALL_PROGRAM} ${WRKSRC}/lib/osgPlugins/*.so \ + ${PREFIX}/lib/osgPlugins + ${MKDIR} ${PREFIX}/share/doc/osg + ${TAR} -C ${WRKSRC}/doc -c -f - . | \ + ${TAR} -C ${PREFIX}/share/doc/osg --unlink -x -f - + +.include <bsd.port.mk> |