summaryrefslogtreecommitdiffstats
path: root/cad/brlcad
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2006-07-06 13:56:37 +0000
committergarga <garga@FreeBSD.org>2006-07-06 13:56:37 +0000
commit6df509ea9f05b8513dd2669730862855b8f3dea8 (patch)
tree77d70aea21e8b09b5ef0eac36e0d633fddb1ce0d /cad/brlcad
parentcaeff957b4520e96e9516cb0308072210b0cdace (diff)
downloadFreeBSD-ports-6df509ea9f05b8513dd2669730862855b8f3dea8.zip
FreeBSD-ports-6df509ea9f05b8513dd2669730862855b8f3dea8.tar.gz
- Update to 7.8.2
This release has several notable enhancements, including the addition of a new example geometry model of a toy vehicle. The DXF converter received considerable attention with the addition of support for most of the formerly unsupported 2D entities. Several bugs were identified and fixed in mged, g2asc, g_diff, and asc-nmg. Documentation was improved for dbupgrade and dxf-g, and a new g-var tool was created to facilitate conversion of models for purposes directly related to OpenGL display lists. Finally, the new archer modeling tool received support for multi-select and cut-n-paste. PR: ports/99819 Submitted by: maintainer
Diffstat (limited to 'cad/brlcad')
-rw-r--r--cad/brlcad/Makefile92
-rw-r--r--cad/brlcad/distinfo6
-rw-r--r--cad/brlcad/files/patch-configure11
-rw-r--r--cad/brlcad/pkg-plist15
4 files changed, 61 insertions, 63 deletions
diff --git a/cad/brlcad/Makefile b/cad/brlcad/Makefile
index 433df47..e8074a4 100644
--- a/cad/brlcad/Makefile
+++ b/cad/brlcad/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= brlcad
-PORTVERSION= 7.8.0
+PORTVERSION= 7.8.2
CATEGORIES= cad
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= brlcad
@@ -42,35 +42,35 @@ MAN1= alias-pix.1 all_sf.1 anim_cascade.1 anim_fly.1 anim_hardtrack.1 \
bwhist.1 bwhisteq.1 bwmod.1 bwrect.1 bwrot.1 bwscale.1 bwshrink.1 \
bwstat.1 bwthresh.1 cad_boundp.1 cad_parea.1 cat-fb.1 cell-fb.1 \
chan_mult.1 chan_permute.1 cmap-fb.1 comgeom-g.1 conv-vg2g.1 cv.1 \
- cy-g.1 dbclean.1 dbcp.1 decimate.1 dpix-pix.1 dunncolor.1 dunnsnap.1 \
- dxf-g.1 enf-g.1 euclid-g.1 fast4-g.1 fb-bw.1 fb-cmap.1 fb-fb.1 \
- fb-orle.1 fb-pix.1 fb-png.1 fb-rle.1 fbanim.1 fbcbars.1 fbclear.1 \
- fbcmap.1 fbcmrot.1 fbcolor.1 fbed.1 fbfade.1 fbframe.1 fbfree.1 \
- fbgamma.1 fbgrid.1 fbhelp.1 fblabel.1 fbline.1 fbpoint.1 fbscanplot.1 \
- fbserv.1 fbstretch.1 fbzoom.1 firpass.1 g-acad.1 g-dxf.1 g-euclid.1 \
- g-iges.1 g-nff.1 g-nmg.1 g-obj.1 g-shell.rect.1 g-stl.1 g-tankill.1 \
- g-vrml.1 g-x3d.1 g2asc.1 g_diff.1 g_lint.1 g_qa.1 gencolor.1 gif-fb.1 \
- gif2fb.1 halftone.1 hd.1 iges-g.1 imgdims.1 ir-X.1 ir-sgi.1 irdisp.1 \
- lgt.1 loop.1 mac-pix.1 mged.1 mk_bolt.1 mk_gastank.1 mk_handle.1 \
- mk_window.1 mk_winfrm.1 mk_wire.1 morphedit.1 nastran-g.1 nirt.1 \
- nmg-bot.1 nmg-rib.1 op-bw.1 orle-fb.1 orle-pix.1 patch-g.1 pcd-pix.1 \
- picket_fence.1 pix-alias.1 pix-bw.1 pix-bw3.1 pix-fb.1 pix-orle.1 \
- pix-png.1 pix-ps.1 pix-rle.1 pix-sun.1 pix2asc.1 pixautosize.1 \
- pixbackgnd.1 pixbgstrip.1 pixblend.1 pixborder.1 pixbustup.1 \
- pixclump.1 pixcolors.1 pixcut.1 pixdiff.1 pixdsplit.1 pixfade.1 \
- pixfilter.1 pixhalve.1 pixhist.1 pixhist3d-pl.1 pixhist3d.1 \
+ cy-g.1 dbclean.1 dbcp.1 dbupgrade.1 decimate.1 dpix-pix.1 dunncolor.1 \
+ dunnsnap.1 dxf-g.1 enf-g.1 euclid-g.1 fast4-g.1 fb-bw.1 fb-cmap.1 \
+ fb-fb.1 fb-orle.1 fb-pix.1 fb-png.1 fb-rle.1 fbanim.1 fbcbars.1 \
+ fbclear.1 fbcmap.1 fbcmrot.1 fbcolor.1 fbed.1 fbfade.1 fbframe.1 \
+ fbfree.1 fbgamma.1 fbgrid.1 fbhelp.1 fblabel.1 fbline.1 fbpoint.1 \
+ fbscanplot.1 fbserv.1 fbstretch.1 fbzoom.1 firpass.1 g-acad.1 g-dxf.1 \
+ g-euclid.1 g-iges.1 g-nff.1 g-nmg.1 g-obj.1 g-shell.rect.1 g-stl.1 \
+ g-tankill.1 g-var.1 g-vrml.1 g-x3d.1 g2asc.1 g_diff.1 g_lint.1 g_qa.1 \
+ gencolor.1 gif-fb.1 gif2fb.1 halftone.1 hd.1 iges-g.1 imgdims.1 ir-X.1 \
+ ir-sgi.1 irdisp.1 lgt.1 loop.1 mac-pix.1 mged.1 mk_bolt.1 mk_gastank.1 \
+ mk_handle.1 mk_window.1 mk_winfrm.1 mk_wire.1 morphedit.1 nastran-g.1 \
+ nirt.1 nmg-bot.1 nmg-rib.1 op-bw.1 orle-fb.1 orle-pix.1 patch-g.1 \
+ pcd-pix.1 picket_fence.1 pix-alias.1 pix-bw.1 pix-bw3.1 pix-fb.1 \
+ pix-orle.1 pix-png.1 pix-ps.1 pix-rle.1 pix-sun.1 pix2asc.1 \
+ pixautosize.1 pixbackgnd.1 pixbgstrip.1 pixblend.1 pixborder.1 \
+ pixbustup.1 pixclump.1 pixcolors.1 pixcut.1 pixdiff.1 pixdsplit.1 \
+ pixfade.1 pixfilter.1 pixhalve.1 pixhist.1 pixhist3d-pl.1 pixhist3d.1 \
pixinterp2x.1 pixmatte.1 pixmerge.1 pixmorph.1 pixrect.1 pixrot.1 \
pixsaturate.1 pixscale.1 pixshrink.1 pixstat.1 pixsubst.1 pixtile.1 \
- pixuntile.1 pl-X.1 pl-X10.1 pl-asc.1 pl-fb.1 pl-hpgl.1 pl-pl.1 \
- pl-ps.1 pl-sgi.1 pl-starbase.1 pl-tek.1 plcolor.1 pldebug.1 \
- plgetframe.1 plline2.1 plrot.1 ply-g.1 png-bw.1 png-fb.1 png-pix.1 \
- png_info.1 polar-fb.1 poly-bot.1 pp-fb.1 proe-g.1 query.1 remrt.1 \
- rle-fb.1 rle-pix.1 rpatch.1 rt.1 rt_bot_faces.1 rtarea.1 rtcheck.1 \
- rtedge.1 rtg3.1 rthide.1 rtpp.1 rtrange.1 rtray.1 rtregis.1 rtscale.1 \
- rtshot.1 rttherm.1 rtwalk.1 rtweight.1 rtxray.1 scriptsort.1 \
- secpass.1 shapefact.1 showshot.1 showtherm.1 ssamp-bw.1 stl-g.1 \
- sun-pix.1 tabinterp.1 tabsub.1 tankill-g.1 tclsh.1 terrain.1 ug-g.1 \
- vas4.1 vdeck.1 viewpoint-g.1 wavelet.1 wish.1
+ pixuntile.1 pl-X.1 pl-X10.1 pl-asc.1 pl-fb.1 pl-hpgl.1 pl-pl.1 pl-ps.1 \
+ pl-sgi.1 pl-starbase.1 pl-tek.1 plcolor.1 pldebug.1 plgetframe.1 \
+ plline2.1 plrot.1 ply-g.1 png-bw.1 png-fb.1 png-pix.1 png_info.1 \
+ polar-fb.1 poly-bot.1 pp-fb.1 proe-g.1 query.1 remrt.1 rle-fb.1 \
+ rle-pix.1 rpatch.1 rt.1 rt_bot_faces.1 rtarea.1 rtcheck.1 rtedge.1 \
+ rtg3.1 rthide.1 rtpp.1 rtrange.1 rtray.1 rtregis.1 rtscale.1 rtshot.1 \
+ rttherm.1 rtwalk.1 rtweight.1 rtxray.1 scriptsort.1 secpass.1 \
+ shapefact.1 showshot.1 showtherm.1 ssamp-bw.1 stl-g.1 sun-pix.1 \
+ tabinterp.1 tabsub.1 tankill-g.1 tclsh.1 terrain.1 ug-g.1 vas4.1 \
+ vdeck.1 viewpoint-g.1 wavelet.1 wish.1
MAN3= 3DBorder.3 Access.3 AddErrInfo.3 AddOption.3 Alloc.3 AllowExc.3 \
AppInit.3 AssocData.3 Async.3 BackgdErr.3 Backslash.3 BindTable.3 \
@@ -154,34 +154,22 @@ MANN= Archetype.n Tcl.n Toplevel.n Widget.n after.n append.n array.n \
tkwait.n toplevel.n trace.n unknown.n unset.n update.n uplevel.n \
upvar.n usual.n variable.n vwait.n while.n winfo.n wm.n
+OPTIONS= OPTIMIZATION "Try building with optimizations" on
+
.include <bsd.port.pre.mk>
+# we only run on i386 and amd64 release 5+
.if ${OSVERSION} < 500000
-LDFLAGS+= ${PTHREAD_LIBS}
BROKEN= Does not compile on FreeBSD-${OSREL}
-.endif
-
-.if !(${ARCH} == i386 || ${ARCH} == amd64)
+.elif !(${ARCH} == i386 || ${ARCH} == amd64)
IGNORE= dumps core on ${ARCH}
.endif
-.ifndef WITHOUT_OPTIMIZATION
+.ifdef WITH_OPTIMIZATION
CONFIGURE_ARGS+= --disable-debug
-#.if !(${ARCH} == alpha || ${ARCH} == sparc64 || ${ARCH} == amd64)
-.if !(${ARCH} == alpha || ${ARCH} == sparc64)
+.if (${ARCH} == i386 || ${ARCH} == amd64)
CONFIGURE_ARGS+= --enable-optimized
.endif
-.else
-CONFIGURE_ARGS+= --disable-dependency-tracking --disable-libtool-lock
-.endif
-
-.ifndef (WITHOUT_OPTIMIZATION)
-pre-everything::
- @${ECHO_MSG}
- @${ECHO_MSG} Hit CTRL+C now and build an unoptimized version of brlcad by
- @${ECHO_MSG} specifying -DWITHOUT_OPTIMIZATION at the command line!
- @${ECHO_MSG}
- @sleep 2
.endif
pre-install:
@@ -189,7 +177,17 @@ pre-install:
${REINPLACE_CMD} -e 's+%%BRLCAD_ROOT%%+${PREFIX}+g;' \
${WRKSRC}/mged.sh
+# note that installing outside of PREFIX wigs out package stuff... :/
post-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/mged.sh ${LOCALBASE}/bin/mged.sh
+ ${INSTALL_SCRIPT} ${WRKSRC}/mged.sh ${PREFIX}/bin/mged.sh
+ ${LN} -s ${PREFIX}/bin/mged.sh ${LOCALBASE}/bin/mged.sh
+.if defined(WITH_OPTIMIZATION) && !(${ARCH} == i386 || ${ARCH} == amd64)
+ @echo "Optimization does not work here, but we went ahead and turned off debugging"
+.endif
+
+.if defined(WITH_OPTIMIZATION) && !(${ARCH} == i386 || ${ARCH} == amd64)
+post-build:
+ @echo "Optimization does not work here, but we went ahead and turned off debugging"
+.endif
.include <bsd.port.post.mk>
diff --git a/cad/brlcad/distinfo b/cad/brlcad/distinfo
index d657e82..d4f2c1e 100644
--- a/cad/brlcad/distinfo
+++ b/cad/brlcad/distinfo
@@ -1,3 +1,3 @@
-MD5 (brlcad-7.8.0.tar.bz2) = bb4c5fd83ae1dd1b5dd84384f7894fc8
-SHA256 (brlcad-7.8.0.tar.bz2) = 7db5b30074d3b44d17dcf2b79961d4b899a61c5f67662308b83de1892b15f4ca
-SIZE (brlcad-7.8.0.tar.bz2) = 20000408
+MD5 (brlcad-7.8.2.tar.bz2) = 38854509545cb4a1b037d1ac47aac731
+SHA256 (brlcad-7.8.2.tar.bz2) = 6e7d17f57383ba8830aedf126a205bed46f4bbbc857118eb8021f706720711c6
+SIZE (brlcad-7.8.2.tar.bz2) = 19955186
diff --git a/cad/brlcad/files/patch-configure b/cad/brlcad/files/patch-configure
deleted file mode 100644
index b442c17..0000000
--- a/cad/brlcad/files/patch-configure
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.orig Tue Apr 11 13:11:45 2006
-+++ configure Tue Apr 11 13:12:18 2006
-@@ -45156,6 +45156,8 @@
- build_brlcad_jove=no
- if test "x$bc_build_jove" = "xyes" ; then
- build_brlcad_jove=yes
-+elif test "x$bc_build_jove" = "xno" ; then
-+ build_brlcad_jove=no # damnit
- else
- # enable jove if no suitable system emacs/jove was found
- if test "x$BCEDITOR" = "x" ; then
diff --git a/cad/brlcad/pkg-plist b/cad/brlcad/pkg-plist
index 58bbc7e..125f8e9 100644
--- a/cad/brlcad/pkg-plist
+++ b/cad/brlcad/pkg-plist
@@ -1,6 +1,5 @@
-@unexec rm -f %%LOCALBASE%%/bin/mged
@unexec rm -f %%LOCALBASE%%/bin/mged.sh
-@exec ln -s %D/%F %%LOCALBASE%%/bin/mged
+@exec ln -s %%PREFIX%%/bin/mged.sh %%LOCALBASE%%/bin/mged.sh
bin/a-d
bin/alias-pix
bin/all_sf
@@ -155,6 +154,7 @@ bin/g-off
bin/g-shell.rect
bin/g-stl
bin/g-tankill
+bin/g-var
bin/g-vrml
bin/g-x3d
bin/g2asc
@@ -185,6 +185,7 @@ bin/lgt
bin/loop
bin/mac-pix
bin/mged
+bin/mged.sh
bin/mk_bolt
bin/mk_gastank
bin/mk_handle
@@ -1027,6 +1028,7 @@ lib/tkimg.so.0
%%DATADIR%%/%%PORTVERSION%%/db/tank_car.g
%%DATADIR%%/%%PORTVERSION%%/db/terra.g
%%DATADIR%%/%%PORTVERSION%%/db/truck.g
+%%DATADIR%%/%%PORTVERSION%%/db/toyjeep.g
%%DATADIR%%/%%PORTVERSION%%/db/wave.g
%%DATADIR%%/%%PORTVERSION%%/db/woodsman.g
%%DATADIR%%/%%PORTVERSION%%/db/world.g
@@ -1415,6 +1417,7 @@ lib/tkimg.so.0
%%DATADIR%%/%%PORTVERSION%%/tclscripts/archer/images/Themes/Crystal/bug.png
%%DATADIR%%/%%PORTVERSION%%/tclscripts/archer/images/Themes/Crystal/closeall.png
%%DATADIR%%/%%PORTVERSION%%/tclscripts/archer/images/Themes/Crystal/combination.png
+%%DATADIR%%/%%PORTVERSION%%/tclscripts/archer/images/Themes/Crystal/command.png
%%DATADIR%%/%%PORTVERSION%%/tclscripts/archer/images/Themes/Crystal/configure.png
%%DATADIR%%/%%PORTVERSION%%/tclscripts/archer/images/Themes/Crystal/edit_copy.png
%%DATADIR%%/%%PORTVERSION%%/tclscripts/archer/images/Themes/Crystal/edit_cut.png
@@ -1425,9 +1428,13 @@ lib/tkimg.so.0
%%DATADIR%%/%%PORTVERSION%%/tclscripts/archer/images/Themes/Crystal/edit_translate.png
%%DATADIR%%/%%PORTVERSION%%/tclscripts/archer/images/Themes/Crystal/file_new.png
%%DATADIR%%/%%PORTVERSION%%/tclscripts/archer/images/Themes/Crystal/file_text_small.png
+%%DATADIR%%/%%PORTVERSION%%/tclscripts/archer/images/Themes/Crystal/file_text_small_disabled.png
%%DATADIR%%/%%PORTVERSION%%/tclscripts/archer/images/Themes/Crystal/find.png
%%DATADIR%%/%%PORTVERSION%%/tclscripts/archer/images/Themes/Crystal/folder_closed_small.png
+%%DATADIR%%/%%PORTVERSION%%/tclscripts/archer/images/Themes/Crystal/folder_closed_small_disabled.png
+%%DATADIR%%/%%PORTVERSION%%/tclscripts/archer/images/Themes/Crystal/folder_open.png
%%DATADIR%%/%%PORTVERSION%%/tclscripts/archer/images/Themes/Crystal/folder_open_small.png
+%%DATADIR%%/%%PORTVERSION%%/tclscripts/archer/images/Themes/Crystal/folder_open_small_disabled.png
%%DATADIR%%/%%PORTVERSION%%/tclscripts/archer/images/Themes/Crystal/open.png
%%DATADIR%%/%%PORTVERSION%%/tclscripts/archer/images/Themes/Crystal/option_text.png
%%DATADIR%%/%%PORTVERSION%%/tclscripts/archer/images/Themes/Crystal/option_tree.png
@@ -1469,6 +1476,7 @@ lib/tkimg.so.0
%%DATADIR%%/%%PORTVERSION%%/tclscripts/archer/images/Themes/Crystal_Large/bug.png
%%DATADIR%%/%%PORTVERSION%%/tclscripts/archer/images/Themes/Crystal_Large/closeall.png
%%DATADIR%%/%%PORTVERSION%%/tclscripts/archer/images/Themes/Crystal_Large/combination.png
+%%DATADIR%%/%%PORTVERSION%%/tclscripts/archer/images/Themes/Crystal_Large/command.png
%%DATADIR%%/%%PORTVERSION%%/tclscripts/archer/images/Themes/Crystal_Large/configure.png
%%DATADIR%%/%%PORTVERSION%%/tclscripts/archer/images/Themes/Crystal_Large/edit_copy.png
%%DATADIR%%/%%PORTVERSION%%/tclscripts/archer/images/Themes/Crystal_Large/edit_cut.png
@@ -1479,9 +1487,12 @@ lib/tkimg.so.0
%%DATADIR%%/%%PORTVERSION%%/tclscripts/archer/images/Themes/Crystal_Large/edit_translate.png
%%DATADIR%%/%%PORTVERSION%%/tclscripts/archer/images/Themes/Crystal_Large/file_new.png
%%DATADIR%%/%%PORTVERSION%%/tclscripts/archer/images/Themes/Crystal_Large/file_text_small.png
+%%DATADIR%%/%%PORTVERSION%%/tclscripts/archer/images/Themes/Crystal_Large/file_text_small_disabled.png
%%DATADIR%%/%%PORTVERSION%%/tclscripts/archer/images/Themes/Crystal_Large/find.png
%%DATADIR%%/%%PORTVERSION%%/tclscripts/archer/images/Themes/Crystal_Large/folder_closed_small.png
+%%DATADIR%%/%%PORTVERSION%%/tclscripts/archer/images/Themes/Crystal_Large/folder_closed_small_disabled.png
%%DATADIR%%/%%PORTVERSION%%/tclscripts/archer/images/Themes/Crystal_Large/folder_open_small.png
+%%DATADIR%%/%%PORTVERSION%%/tclscripts/archer/images/Themes/Crystal_Large/folder_open_small_disabled.png
%%DATADIR%%/%%PORTVERSION%%/tclscripts/archer/images/Themes/Crystal_Large/open.png
%%DATADIR%%/%%PORTVERSION%%/tclscripts/archer/images/Themes/Crystal_Large/option_text.png
%%DATADIR%%/%%PORTVERSION%%/tclscripts/archer/images/Themes/Crystal_Large/option_tree.png
OpenPOWER on IntegriCloud