Index: head/cad/brlcad/Makefile =================================================================== --- head/cad/brlcad/Makefile (nonexistent) +++ head/cad/brlcad/Makefile (revision 517198) @@ -0,0 +1,63 @@ +# Created by: Pedro F. Giffuni +# $FreeBSD$ + +PORTNAME= brlcad +PORTVERSION= 7.28.0 +CATEGORIES= cad +MASTER_SITES= SF/${PORTNAME}/BRL-CAD%20Source/${PORTVERSION} + +MAINTAINER= erik@brlcad.org +COMMENT= CSG modelling system from the US Ballistic Research Laboratory + +LICENSE= LGPL21 +LICENSE_FILE= ${WRKSRC}/COPYING + +BROKEN_sparc64= does not compile: invokes i386 assembler + +BUILD_DEPENDS= xsltproc:textproc/libxslt +LIB_DEPENDS= liblz4.so:archivers/liblz4 \ + libdrm.so:graphics/libdrm \ + libpng.so:graphics/png \ + libfreetype.so:print/freetype2 \ + libexpat.so:textproc/expat2 \ + libfontconfig.so:x11-fonts/fontconfig + +CONFLICTS_INSTALL= py[23][0-9]-epsilon + +USES= bison cmake:insource gl pathfix pkgconfig python:env \ + shebangfix tar:bzip2 tk xorg +USE_GL= gl glu +USE_XORG= ice sm x11 xau xcb xdamage xdmcp xext xfixes xft xi \ + xorgproto xrender xscrnsaver xt xxf86vm +USE_LDCONFIG= yes +SHEBANG_FILES= src/conv/intaval-g.py + +NO_MTREE= yes + +PLIST_SUB+= PORTVERSION=${PORTVERSION} + +CMAKE_OFF= BRLCAD_ENABLE_STRICT +CMAKE_INSTALL_PREFIX= ${PREFIX}/${PORTNAME} +MANPREFIX= ${PREFIX}/${PORTNAME}/share + +TEST_TARGET= check + +post-patch: + @${REINPLACE_CMD} -e 's+-exact Tcl 8\.5\.9+Tcl 8.5+' \ + ${WRKSRC}/src/other/tcl/library/init.tcl + @${REINPLACE_CMD} -e '2709s+^+include(CheckSymbolExists)+' \ + ${WRKSRC}/CMakeLists.txt + +pre-install: + ${CP} ${FILESDIR}/mged.sh ${WRKSRC} + ${REINPLACE_CMD} -e 's+%%BRLCAD_ROOT%%+${PREFIX}/${PORTNAME}+g;' ${WRKSRC}/mged.sh + +# note that installing outside of PREFIX wigs out package stuff... :/ +post-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/mged.sh ${STAGEDIR}${PREFIX}/bin/mged.sh + +regression-test: build + @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} test) + +.include Property changes on: head/cad/brlcad/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/cad/brlcad/distinfo =================================================================== --- head/cad/brlcad/distinfo (nonexistent) +++ head/cad/brlcad/distinfo (revision 517198) @@ -0,0 +1,3 @@ +TIMESTAMP = 1538508663 +SHA256 (brlcad-7.28.0.tar.bz2) = c6df320117fd50ecada5745a6f4c079b361df240915ed9c536aa1b697548a466 +SIZE (brlcad-7.28.0.tar.bz2) = 117290430 Property changes on: head/cad/brlcad/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/cad/brlcad/files/mged.sh =================================================================== --- head/cad/brlcad/files/mged.sh (nonexistent) +++ head/cad/brlcad/files/mged.sh (revision 517198) @@ -0,0 +1,13 @@ +#!/bin/sh +# This is pretty lame for the time being, but it serves as a reminder +# to set correctly your environment before attempting to run BRL CAD. + +BRLCAD_ROOT=%%BRLCAD_ROOT%% + +export BRLCAD_ROOT +export PATH=%%BRLCAD_ROOT%%/bin:$PATH +export MANPATH=%%BRLCAD_ROOT%%/man:$MANPATH +export ITCL_PATH=%%BRLCAD_ROOT%%/lib/itcl3.4 +export ITK_PATH=%%BRLCAD_ROOT%%/lib/itk3.4 + +exec %%BRLCAD_ROOT%%/bin/mged "$@" Property changes on: head/cad/brlcad/files/mged.sh ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/cad/brlcad/pkg-descr =================================================================== --- head/cad/brlcad/pkg-descr (nonexistent) +++ head/cad/brlcad/pkg-descr (revision 517198) @@ -0,0 +1,17 @@ +BRL-CAD is a powerful Combinatorial/Constructive Solid Geometry (CSG) +solid modeling system that includes an interactive geometry editor, +ray-tracing support for rendering and geometric analysis, +network-distributed framebuffer support, image and signal-processing +tools, and an embedded scripting language. + +The package is a collection of over 400 tools and utilities across +over 750,000 lines of source code. Included is support for various +geometric data format conversions, image and signal processing +capabilities, sophisticated ray-tracing based lighting models, network +distributed ray-tracing, massively parallel ray-tracing, animation +capabilities, data compression, image handling, and interactive 3-D +geometric editing. Included is an implementation of Weiler's +n-Manifold Geometry (NMG) data structures for surface-based solid +models and photon mapping. + +WWW: http://www.brlcad.org/ Property changes on: head/cad/brlcad/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/cad/brlcad/pkg-message =================================================================== --- head/cad/brlcad/pkg-message (nonexistent) +++ head/cad/brlcad/pkg-message (revision 517198) @@ -0,0 +1,12 @@ +[ +{ type: install + message: <