# 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: # # opencsg # opencsg/distinfo # opencsg/Makefile # opencsg/pkg-descr # echo c - opencsg mkdir -p opencsg > /dev/null 2>&1 echo x - opencsg/distinfo sed 's/^X//' >opencsg/distinfo << '40527d3038a72d4f3674cdb2f37348e2' XMD5 (OpenCSG-1.2.0.tar.gz) = f5383ab4c120c10845bdfa92bac2ca3c XSHA256 (OpenCSG-1.2.0.tar.gz) = ec6ff7b14eb1da7900a82bd9a55f896f63181099dc084e5bd7df3abc02ee26ac XSIZE (OpenCSG-1.2.0.tar.gz) = 651554 40527d3038a72d4f3674cdb2f37348e2 echo x - opencsg/Makefile sed 's/^X//' >opencsg/Makefile << '0cea717e568d379a276adda6286eb783' X# New ports collection Makefile for: opencsg X# Date created: 4 January 2009 X# Whom: gahr X# X# $FreeBSD$ X# X XPORTNAME= opencsg XPORTVERSION= 1.2.0 XCATEGORIES= graphics XMASTER_SITES= http://www.opencsg.org/ XDISTNAME= OpenCSG-${PORTVERSION} X XMAINTAINER= gahr@FreeBSD.org XCOMMENT= Image-based CSG rendering library X XLIB_DEPENDS= GLEW.1:${PORTSDIR}/graphics/glew X XUSE_GMAKE= yes XUSE_GL= glu glut XUSE_LDCONFIG= yes X XINC_FILES= include/opencsg.h XLIB_FILES= lib/libopencsg.so.1.2.0 lib/libopencsg.so.1.2 \ X lib/libopencsg.so.1 lib/libopencsg.so XPLIST_FILES= ${INC_FILES} ${LIB_FILES} X Xpost-patch: X ${REINPLACE_CMD} -e 's|make|${GMAKE}|g;s|glew||g' ${WRKSRC}/Makefile X ${REINPLACE_CMD} -e 's|\.\./glew/include|${LOCALBASE}/include|; \ X s|/usr/X11R6|${LOCALBASE}|g' ${WRKSRC}/src/Makefile ${WRKSRC}/example/Makefile X Xdo-install: X.for f in ${INC_FILES} X ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/include X.endfor X.for f in ${LIB_FILES} X ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/lib X.endfor X X.include 0cea717e568d379a276adda6286eb783 echo x - opencsg/pkg-descr sed 's/^X//' >opencsg/pkg-descr << 'e587caf0026f5a5e35db86483234816a' XOpenCSG is a library that does image-based CSG rendering using OpenGL. XOpenCSG is written in C++ and supports most modern graphics hardware Xusing Microsoft Windows or the Linux operating system. X XWWW: http://www.opencsg.org/ e587caf0026f5a5e35db86483234816a exit