ports/83781: [NEW PORT] devel/ogre: Object-Oriented Graphical Rendering Engine

Janos Mohacsi janos.mohacsi at niif.hu
Wed Jul 20 12:20:23 UTC 2005


>Number:         83781
>Category:       ports
>Synopsis:       [NEW PORT] devel/ogre: Object-Oriented Graphical Rendering Engine
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 20 12:20:21 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Janos Mohacsi
>Release:        FreeBSD 6.0-CURRENT i386
>Organization:
NIIF/HUNGARNET
>Environment:
System: FreeBSD scone.ki.iif.hu 6.0-CURRENT FreeBSD 6.0-CURRENT #0: Fri Jul  1 10:29:34 CEST
>Description:

New port:

OGRE (Object-Oriented Graphics Rendering Engine) is a scene-oriented,        
flexible 3D engine written in C++ designed to make it easier and more        
intuitive for developers to produce games and demos utilising 3D             
hardware. The class library abstracts all the details of using the           
underlying system libraries like Direct3D and OpenGL and provides an         
interface based on world objects and other intuitive classes.     

WWW: http://www.ogre3d.org/

The author of the port did not want to be a maintainer of the port, since 
he is not expert of ogre...

I tested his port and made some modificication and clean-up....


Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
Use this shar.

>Fix:

--- ogre-1.0.3p1.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	ogre
#	ogre/Makefile
#	ogre/distinfo
#	ogre/pkg-descr
#	ogre/pkg-plist
#	ogre/files
#	ogre/files/patch-Makefile.am
#
echo c - ogre
mkdir -p ogre > /dev/null 2>&1
echo x - ogre/Makefile
sed 's/^X//' >ogre/Makefile << 'END-of-ogre/Makefile'
X# New ports collection makefile for:   ogre
X# Date created:        2005 Jul 10
X# Whom:                Jack Twilley <jmt at twilley.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	ogre
XPORTVERSION=	1.0.3p1
XCATEGORIES=	devel
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	ogre
XDISTNAME=	ogre-linux_osx-v1-0-3p1
X#DISTFILES=	ogre-linux_osx-v1-0-3p1.tar.bz2
X
XMAINTAINER=	ports at freebsd.org
X#MAINTAINER=	jmt at twilley.org
XCOMMENT=	Object-Oriented Graphical Rendering Engine
X
XBUILD_DEPENDS=	${LOCALBASE}/lib/libzzip.a:${PORTSDIR}/devel/zziplib \
X		${LOCALBASE}/bin/sdl11-config:${PORTSDIR}/devel/sdl12 \
X		${LOCALBASE}/lib/libIL.a:${PORTSDIR}/graphics/devil \
X		${LOCALBASE}/lib/libcppunit.a:${PORTSDIR}/devel/cppunit
X
XUSE_BZIP2=	yes
XWRKSRC=		${WRKDIR}/ogrenew
X
XUSE_AUTOMAKE_VER=	19
XAUTOMAKE_ARGS=	--include-deps --add-missing --foreign
XUSE_AUTOCONF_VER=	259
XUSE_ACLOCAL_VER=	19
XACLOCAL_ARGS=	-I Scripts/m4 -I ${LOCALBASE}/share/aclocal
XUSE_LIBTOOL_VER=	15
X
XHAS_CONFIGURE=	yes
XCONFIGURE_ARGS=	--disable-cg
XCONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib -lc" SDL_CONFIG=${LOCALBASE}/bin/sdl11-config
XINSTALLS_SHLIB=	yes
XPLIST_SUB+=	CONFIGURE_TARGET="${CONFIGURE_TARGET}"
X
Xpre-build:
X	@(find ${WRKSRC} -type d -name obj -print0 | ${XARGS} -0 ${RM} -rf)
X
Xpre-configure:
X	@(${SED} -i.orig -e 's,[(]libdir[)],(prefix)/libdata,' ${WRKSRC}/Makefile.am)
X	@(find ${WRKSRC} -type f -name Makefile.am -print0 | ${XARGS} -0 ${SED} -i.orig -e 's#.libs/##')
X	@(cd ${WRKSRC} && ${LIBTOOLIZE} --copy --force && ${SED} -i.orig -e '/X-lc.*continue/d' ltmain.sh)
X
X.include <bsd.port.mk>
END-of-ogre/Makefile
echo x - ogre/distinfo
sed 's/^X//' >ogre/distinfo << 'END-of-ogre/distinfo'
XMD5 (ogre-linux_osx-v1-0-3p1.tar.bz2) = fa8c843de62a505d1a707ea319a58734
XSIZE (ogre-linux_osx-v1-0-3p1.tar.bz2) = 19986714
END-of-ogre/distinfo
echo x - ogre/pkg-descr
sed 's/^X//' >ogre/pkg-descr << 'END-of-ogre/pkg-descr'
XOGRE (Object-Oriented Graphics Rendering Engine) is a scene-oriented,        
Xflexible 3D engine written in C++ designed to make it easier and more        
Xintuitive for developers to produce games and demos utilising 3D             
Xhardware. The class library abstracts all the details of using the           
Xunderlying system libraries like Direct3D and OpenGL and provides an         
Xinterface based on world objects and other intuitive classes.     
X
XWWW: http://www.ogre3d.org/
END-of-ogre/pkg-descr
echo x - ogre/pkg-plist
sed 's/^X//' >ogre/pkg-plist << 'END-of-ogre/pkg-plist'
Xbin/%%CONFIGURE_TARGET%%-OgreMaterialUpgrade
Xbin/%%CONFIGURE_TARGET%%-OgreMeshUpgrade
Xbin/%%CONFIGURE_TARGET%%-OgreXMLConverter
Xinclude/OGRE/Ogre.h
Xinclude/OGRE/OgreAnimation.h
Xinclude/OGRE/OgreAnimationState.h
Xinclude/OGRE/OgreAnimationTrack.h
Xinclude/OGRE/OgreArchive.h
Xinclude/OGRE/OgreArchiveFactory.h
Xinclude/OGRE/OgreArchiveManager.h
Xinclude/OGRE/OgreAutoParamDataSource.h
Xinclude/OGRE/OgreAxisAlignedBox.h
Xinclude/OGRE/OgreBillboard.h
Xinclude/OGRE/OgreBillboardParticleRenderer.h
Xinclude/OGRE/OgreBillboardSet.h
Xinclude/OGRE/OgreBitwise.h
Xinclude/OGRE/OgreBlendMode.h
Xinclude/OGRE/OgreBone.h
Xinclude/OGRE/OgreBorderPanelOverlayElement.h
Xinclude/OGRE/OgreCamera.h
Xinclude/OGRE/OgreCodec.h
Xinclude/OGRE/OgreColourValue.h
Xinclude/OGRE/OgreCommon.h
Xinclude/OGRE/OgreConfig.h
Xinclude/OGRE/OgreConfigDialog.h
Xinclude/OGRE/OgreConfigFile.h
Xinclude/OGRE/OgreConfigOptionMap.h
Xinclude/OGRE/OgreController.h
Xinclude/OGRE/OgreControllerManager.h
Xinclude/OGRE/OgreCursor.h
Xinclude/OGRE/OgreDataStream.h
Xinclude/OGRE/OgreDefaultHardwareBufferManager.h
Xinclude/OGRE/OgreDynLib.h
Xinclude/OGRE/OgreDynLibManager.h
Xinclude/OGRE/OgreEdgeListBuilder.h
Xinclude/OGRE/OgreEntity.h
Xinclude/OGRE/OgreErrorDialog.h
Xinclude/OGRE/OgreEventDispatcher.h
Xinclude/OGRE/OgreEventListeners.h
Xinclude/OGRE/OgreEventProcessor.h
Xinclude/OGRE/OgreEventQueue.h
Xinclude/OGRE/OgreEventTarget.h
Xinclude/OGRE/OgreException.h
Xinclude/OGRE/OgreExternalTextureSource.h
Xinclude/OGRE/OgreExternalTextureSourceManager.h
Xinclude/OGRE/OgreFactoryObj.h
Xinclude/OGRE/OgreFileSystem.h
Xinclude/OGRE/OgreFont.h
Xinclude/OGRE/OgreFontManager.h
Xinclude/OGRE/OgreFrameListener.h
Xinclude/OGRE/OgreFrustum.h
Xinclude/OGRE/OgreGpuProgram.h
Xinclude/OGRE/OgreGpuProgramManager.h
Xinclude/OGRE/OgreGpuProgramUsage.h
Xinclude/OGRE/OgreHardwareBuffer.h
Xinclude/OGRE/OgreHardwareBufferManager.h
Xinclude/OGRE/OgreHardwareIndexBuffer.h
Xinclude/OGRE/OgreHardwareOcclusionQuery.h
Xinclude/OGRE/OgreHardwarePixelBuffer.h
Xinclude/OGRE/OgreHardwareVertexBuffer.h
Xinclude/OGRE/OgreHighLevelGpuProgram.h
Xinclude/OGRE/OgreHighLevelGpuProgramManager.h
Xinclude/OGRE/OgreILCodecs.h
Xinclude/OGRE/OgreILImageCodec.h
Xinclude/OGRE/OgreImage.h
Xinclude/OGRE/OgreImageCodec.h
Xinclude/OGRE/OgreInput.h
Xinclude/OGRE/OgreInputEvent.h
Xinclude/OGRE/OgreIteratorWrappers.h
Xinclude/OGRE/OgreKeyEvent.h
Xinclude/OGRE/OgreKeyFrame.h
Xinclude/OGRE/OgreKeyTarget.h
Xinclude/OGRE/OgreLight.h
Xinclude/OGRE/OgreLog.h
Xinclude/OGRE/OgreLogManager.h
Xinclude/OGRE/OgreMaterial.h
Xinclude/OGRE/OgreMaterialManager.h
Xinclude/OGRE/OgreMaterialSerializer.h
Xinclude/OGRE/OgreMath.h
Xinclude/OGRE/OgreMatrix3.h
Xinclude/OGRE/OgreMatrix4.h
Xinclude/OGRE/OgreMemoryMacros.h
Xinclude/OGRE/OgreMemoryManager.h
Xinclude/OGRE/OgreMesh.h
Xinclude/OGRE/OgreMeshFileFormat.h
Xinclude/OGRE/OgreMeshManager.h
Xinclude/OGRE/OgreMeshSerializer.h
Xinclude/OGRE/OgreMeshSerializerImpl.h
Xinclude/OGRE/OgreMouseEvent.h
Xinclude/OGRE/OgreMouseMotionTarget.h
Xinclude/OGRE/OgreMouseTarget.h
Xinclude/OGRE/OgreMovableObject.h
Xinclude/OGRE/OgreMovablePlane.h
Xinclude/OGRE/OgreNoMemoryMacros.h
Xinclude/OGRE/OgreNode.h
Xinclude/OGRE/OgreOverlay.h
Xinclude/OGRE/OgreOverlayContainer.h
Xinclude/OGRE/OgreOverlayElement.h
Xinclude/OGRE/OgreOverlayElementCommands.h
Xinclude/OGRE/OgreOverlayElementFactory.h
Xinclude/OGRE/OgreOverlayManager.h
Xinclude/OGRE/OgrePanelOverlayElement.h
Xinclude/OGRE/OgreParticle.h
Xinclude/OGRE/OgreParticleAffector.h
Xinclude/OGRE/OgreParticleAffectorFactory.h
Xinclude/OGRE/OgreParticleEmitter.h
Xinclude/OGRE/OgreParticleEmitterCommands.h
Xinclude/OGRE/OgreParticleEmitterFactory.h
Xinclude/OGRE/OgreParticleIterator.h
Xinclude/OGRE/OgreParticleSystem.h
Xinclude/OGRE/OgreParticleSystemManager.h
Xinclude/OGRE/OgreParticleSystemRenderer.h
Xinclude/OGRE/OgrePass.h
Xinclude/OGRE/OgrePatchMesh.h
Xinclude/OGRE/OgrePatchSurface.h
Xinclude/OGRE/OgrePixelFormat.h
Xinclude/OGRE/OgrePlane.h
Xinclude/OGRE/OgrePlaneBoundedVolume.h
Xinclude/OGRE/OgrePlatform.h
Xinclude/OGRE/OgrePlatformManager.h
Xinclude/OGRE/OgrePositionTarget.h
Xinclude/OGRE/OgrePredefinedControllers.h
Xinclude/OGRE/OgrePrerequisites.h
Xinclude/OGRE/OgreProfiler.h
Xinclude/OGRE/OgreProgressiveMesh.h
Xinclude/OGRE/OgreQuaternion.h
Xinclude/OGRE/OgreRay.h
Xinclude/OGRE/OgreRectangle.h
Xinclude/OGRE/OgreRectangle2D.h
Xinclude/OGRE/OgreRenderOperation.h
Xinclude/OGRE/OgreRenderQueue.h
Xinclude/OGRE/OgreRenderQueueListener.h
Xinclude/OGRE/OgreRenderQueueSortingGrouping.h
Xinclude/OGRE/OgreRenderSystem.h
Xinclude/OGRE/OgreRenderSystemCapabilities.h
Xinclude/OGRE/OgreRenderTarget.h
Xinclude/OGRE/OgreRenderTargetListener.h
Xinclude/OGRE/OgreRenderTargetTexture.h
Xinclude/OGRE/OgreRenderTexture.h
Xinclude/OGRE/OgreRenderWindow.h
Xinclude/OGRE/OgreRenderable.h
Xinclude/OGRE/OgreResource.h
Xinclude/OGRE/OgreResourceBackgroundQueue.h
Xinclude/OGRE/OgreResourceGroupManager.h
Xinclude/OGRE/OgreResourceManager.h
Xinclude/OGRE/OgreRoot.h
Xinclude/OGRE/OgreRotationalSpline.h
Xinclude/OGRE/OgreSceneManager.h
Xinclude/OGRE/OgreSceneManagerEnumerator.h
Xinclude/OGRE/OgreSceneNode.h
Xinclude/OGRE/OgreSceneQuery.h
Xinclude/OGRE/OgreScriptLoader.h
Xinclude/OGRE/OgreSearchOps.h
Xinclude/OGRE/OgreSerializer.h
Xinclude/OGRE/OgreShadowCaster.h
Xinclude/OGRE/OgreShadowVolumeExtrudeProgram.h
Xinclude/OGRE/OgreSharedPtr.h
Xinclude/OGRE/OgreSimpleRenderable.h
Xinclude/OGRE/OgreSimpleSpline.h
Xinclude/OGRE/OgreSingleton.h
Xinclude/OGRE/OgreSkeleton.h
Xinclude/OGRE/OgreSkeletonFileFormat.h
Xinclude/OGRE/OgreSkeletonInstance.h
Xinclude/OGRE/OgreSkeletonManager.h
Xinclude/OGRE/OgreSkeletonSerializer.h
Xinclude/OGRE/OgreSphere.h
Xinclude/OGRE/OgreSpotShadowFadePng.h
Xinclude/OGRE/OgreStableHeaders.h
Xinclude/OGRE/OgreStaticFaceGroup.h
Xinclude/OGRE/OgreStaticGeometry.h
Xinclude/OGRE/OgreStdHeaders.h
Xinclude/OGRE/OgreString.h
Xinclude/OGRE/OgreStringConverter.h
Xinclude/OGRE/OgreStringInterface.h
Xinclude/OGRE/OgreStringVector.h
Xinclude/OGRE/OgreSubEntity.h
Xinclude/OGRE/OgreSubMesh.h
Xinclude/OGRE/OgreTagPoint.h
Xinclude/OGRE/OgreTargetManager.h
Xinclude/OGRE/OgreTechnique.h
Xinclude/OGRE/OgreTextAreaOverlayElement.h
Xinclude/OGRE/OgreTexture.h
Xinclude/OGRE/OgreTextureManager.h
Xinclude/OGRE/OgreTextureUnitState.h
Xinclude/OGRE/OgreTimer.h
Xinclude/OGRE/OgreUserDefinedObject.h
Xinclude/OGRE/OgreVector2.h
Xinclude/OGRE/OgreVector3.h
Xinclude/OGRE/OgreVector4.h
Xinclude/OGRE/OgreVertexBoneAssignment.h
Xinclude/OGRE/OgreVertexIndexData.h
Xinclude/OGRE/OgreViewport.h
Xinclude/OGRE/OgreWireBoundingBox.h
Xinclude/OGRE/OgreZip.h
Xinclude/OGRE/asm_math.h
Xlib/OGRE/Plugin_BSPSceneManager.so
Xlib/OGRE/Plugin_OctreeSceneManager.so
Xlib/OGRE/Plugin_ParticleFX.so
Xlib/OGRE/RenderSystem_GL.so
Xlib/libOgreMain.so
Xlib/libOgreMain.so.7
Xlib/libOgrePlatform.so
Xlibdata/pkgconfig/OGRE.pc
Xshare/OGRE/ogre-config.glade
Xshare/nls/POSIX
Xshare/nls/en_US.US-ASCII
X at dirrm share/OGRE
X at dirrm lib/OGRE
X at dirrm include/OGRE
END-of-ogre/pkg-plist
echo c - ogre/files
mkdir -p ogre/files > /dev/null 2>&1
echo x - ogre/files/patch-Makefile.am
sed 's/^X//' >ogre/files/patch-Makefile.am << 'END-of-ogre/files/patch-Makefile.am'
X
X$FreeBSD$
X
X--- Makefile.am.orig
X+++ Makefile.am
X@@ -1,4 +1,4 @@
X-SUBDIRS = OgreMain PlatformManagers PlugIns RenderSystems Samples Tools Tests
X+SUBDIRS = OgreMain PlatformManagers PlugIns RenderSystems Tools Tests
X 
X pkgconfigdir = $(prefix)/libdata/pkgconfig
X pkgconfig_DATA = OGRE.pc
END-of-ogre/files/patch-Makefile.am
exit
--- ogre-1.0.3p1.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list