diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-05-31 10:10:36 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-05-31 10:10:36 +0000 |
commit | 3a4d8afb6b8fccd3bbd6f1d0fcc0be8af931889a (patch) | |
tree | f3cf86aa0cecf34edcd1431dec16b3de58b1d5ba /graphics/osg/Makefile | |
parent | 12b723faf5fdf09452b82416f8ef8c8e236def36 (diff) | |
download | ports-3a4d8afb6b8fccd3bbd6f1d0fcc0be8af931889a.tar.gz ports-3a4d8afb6b8fccd3bbd6f1d0fcc0be8af931889a.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>
Notes
Notes:
svn path=/head/; revision=43343
Diffstat (limited to 'graphics/osg/Makefile')
-rw-r--r-- | graphics/osg/Makefile | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/graphics/osg/Makefile b/graphics/osg/Makefile new file mode 100644 index 000000000000..0aafc12f3be7 --- /dev/null +++ b/graphics/osg/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> |