aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/white_dune
diff options
context:
space:
mode:
authordwcjr <dwcjr@FreeBSD.org>2002-09-02 01:02:36 +0800
committerdwcjr <dwcjr@FreeBSD.org>2002-09-02 01:02:36 +0800
commit510d737e579ed9f3badee07052efed7f98d71a93 (patch)
tree38e080b8b8359c308f1c6455569663fbccce73ed /graphics/white_dune
parent360559446796a3850f14fb6295d0f199d0edfb20 (diff)
downloadfreebsd-ports-gnome-510d737e579ed9f3badee07052efed7f98d71a93.tar.gz
freebsd-ports-gnome-510d737e579ed9f3badee07052efed7f98d71a93.tar.zst
freebsd-ports-gnome-510d737e579ed9f3badee07052efed7f98d71a93.zip
Update to 0.19pl4
PR: 42039 Submitted by: tkato@prontomail.com
Diffstat (limited to 'graphics/white_dune')
-rw-r--r--graphics/white_dune/Makefile24
-rw-r--r--graphics/white_dune/distinfo2
-rw-r--r--graphics/white_dune/files/patch-src::Makefile.in13
-rw-r--r--graphics/white_dune/files/patch-src::swt::motif::Makefile.in11
-rw-r--r--graphics/white_dune/files/patch-src::swt::rc::Makefile.in13
-rw-r--r--graphics/white_dune/files/patch-src::swt::tests::Makefile.in13
-rw-r--r--graphics/white_dune/pkg-plist78
7 files changed, 126 insertions, 28 deletions
diff --git a/graphics/white_dune/Makefile b/graphics/white_dune/Makefile
index 8d13a532af89..011d7950b21a 100644
--- a/graphics/white_dune/Makefile
+++ b/graphics/white_dune/Makefile
@@ -7,37 +7,39 @@
#
PORTNAME= white_dune
-PORTVERSION= 0.19b31
+PORTVERSION= 0.19.4
+PORTEPOCH= 1
CATEGORIES= graphics
MASTER_SITES= http://www.csv.ica.uni-stuttgart.de/vrml/dune/
-DISTNAME= ${PORTNAME}-${PORTVERSION:S/b/beta/}
+DISTNAME= ${PORTNAME}-${PORTVERSION:R}pl${PORTVERSION:E}
MAINTAINER= ports@FreeBSD.org
-LIB_DEPENDS= png:${PORTSDIR}/graphics/png \
- jpeg:${PORTSDIR}/graphics/jpeg
+LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
+ png.5:${PORTSDIR}/graphics/png
USE_REINPLACE= yes
-USE_BISON= yes
USE_MESA= yes
USE_MOTIF= yes
GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
ALL_TARGET= # empty
MAN1= dune.1
post-patch:
- @${GREP} -lR "malloc.h" ${WRKSRC} | ${XARGS} \
- ${REINPLACE_CMD} -e "s/malloc\.h/stdlib.h/g"
- @${REINPLACE_CMD} -e "s/values\.h/limits.h/g" ${WRKSRC}/stdafx.h
- @${REINPLACE_CMD} -e "s/alloca\.h/stdlib.h/g" ${WRKSRC}/NodeNurbsSurface.cpp
+ @${REINPLACE_CMD} -e 's|<values.h>|<limits.h>|g' ${WRKSRC}/src/stdafx.h
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/dune ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/dune ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/nostereodune ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
- ${CP} -R ${WRKSRC}/docs/* ${DOCSDIR}
+ ${TAR} -C ${WRKSRC}/docs -cf - . | \
+ ${TAR} -C ${DOCSDIR} --unlink -xf -
+ @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/graphics/white_dune/distinfo b/graphics/white_dune/distinfo
index 657395b44980..692020977146 100644
--- a/graphics/white_dune/distinfo
+++ b/graphics/white_dune/distinfo
@@ -1 +1 @@
-MD5 (white_dune-0.19beta31.tar.gz) = 4823ee000399235cbd197fdc9e838d30
+MD5 (white_dune-0.19pl4.tar.gz) = eeaec7cade0befab101aea4b2b58a3a9
diff --git a/graphics/white_dune/files/patch-src::Makefile.in b/graphics/white_dune/files/patch-src::Makefile.in
new file mode 100644
index 000000000000..7dcd125b2b9d
--- /dev/null
+++ b/graphics/white_dune/files/patch-src::Makefile.in
@@ -0,0 +1,13 @@
+--- src/Makefile.in.orig Tue Jul 16 23:42:39 2002
++++ src/Makefile.in Tue Aug 20 05:03:35 2002
+@@ -11,8 +11,8 @@
+ # WARNINGS = -Wall -Wwrite-strings
+ # WARNINGS = -woff 3303
+ # LFLAGS = -woff 1167 -woff 1110 -woff 3322
+-CFLAGS = @OPTIM@ $(WARNINGS) -I. -Iswt/include @CPPFLAGS@
+-CXXFLAGS = $(CFLAGS)
++CFLAGS = @CFLAGS@ $(WARNINGS) -I. -Iswt/include @CPPFLAGS@
++CXXFLAGS = @CXXFLAGS@ $(WARNINGS) -I. -Iswt/include @CPPFLAGS@
+ LIBS = @STATIC@ -Lswt/lib -lswt @LIBS@
+
+ .SUFFIXES: .cpp
diff --git a/graphics/white_dune/files/patch-src::swt::motif::Makefile.in b/graphics/white_dune/files/patch-src::swt::motif::Makefile.in
new file mode 100644
index 000000000000..1e93e289e747
--- /dev/null
+++ b/graphics/white_dune/files/patch-src::swt::motif::Makefile.in
@@ -0,0 +1,11 @@
+--- src/swt/motif/Makefile.in.orig Tue Jul 16 23:42:39 2002
++++ src/swt/motif/Makefile.in Tue Aug 20 05:05:49 2002
+@@ -8,7 +8,7 @@
+ INCDIRS = -I../.. -I../include @CPPFLAGS@
+ # WARNINGS = -Wall -Wwrite-strings
+ FONT24 = @FONT24@
+-CFLAGS = @OPTIM@ $(WARNINGS) $(INCDIRS) -DFONT24=\"$(FONT24)\"
++CFLAGS = @CFLAGS@ $(WARNINGS) $(INCDIRS) -DFONT24=\"$(FONT24)\"
+ DLIB = ../lib/libswt.so.0.1
+ SLIB = ../lib/libswt.a
+
diff --git a/graphics/white_dune/files/patch-src::swt::rc::Makefile.in b/graphics/white_dune/files/patch-src::swt::rc::Makefile.in
new file mode 100644
index 000000000000..b9f0098fa9e3
--- /dev/null
+++ b/graphics/white_dune/files/patch-src::swt::rc::Makefile.in
@@ -0,0 +1,13 @@
+--- src/swt/rc/Makefile.in.orig Tue Jul 16 23:42:38 2002
++++ src/swt/rc/Makefile.in Tue Aug 20 05:08:27 2002
+@@ -10,8 +10,8 @@
+ LIBDIRS =
+ INCDIRS = -I../include
+ # WARNINGS = -Wall -Wwrite-strings
+-CFLAGS = -g $(WARNINGS) $(INCDIRS)
+-MAKEDEPEND=gcc -MM
++CFLAGS = @CFLAGS@ $(WARNINGS) $(INCDIRS)
++MAKEDEPEND=@CC@ -MM
+ YFLAGS = -d
+
+ TARGET = rc
diff --git a/graphics/white_dune/files/patch-src::swt::tests::Makefile.in b/graphics/white_dune/files/patch-src::swt::tests::Makefile.in
new file mode 100644
index 000000000000..cbe9b8575c30
--- /dev/null
+++ b/graphics/white_dune/files/patch-src::swt::tests::Makefile.in
@@ -0,0 +1,13 @@
+--- src/swt/tests/Makefile.in.orig Tue Jul 16 23:42:38 2002
++++ src/swt/tests/Makefile.in Tue Aug 20 05:04:37 2002
+@@ -12,8 +12,8 @@
+ INCDIRS = -I../include
+
+ # WARNINGS = -Wall -Wwrite-strings
+-CFLAGS = -g $(WARNINGS) $(INCDIRS)
+-CXXFLAGS = $(CFLAGS)
++CFLAGS = @CFLAGS@ $(WARNINGS) $(INCDIRS)
++CXXFLAGS = @CXXFLAGS@ $(WARNINGS) $(INCDIRS)
+
+ TARGETS = swTest text buttons doodle drawing tree restest draw1
+
diff --git a/graphics/white_dune/pkg-plist b/graphics/white_dune/pkg-plist
index 51568ac34dda..b3930a64e18b 100644
--- a/graphics/white_dune/pkg-plist
+++ b/graphics/white_dune/pkg-plist
@@ -1,7 +1,23 @@
bin/dune
+bin/nostereodune
+%%PORTDOCS%%share/doc/white_dune/commandline_examples/animation_example.wrl
+%%PORTDOCS%%share/doc/white_dune/commandline_examples/index.html
+%%PORTDOCS%%share/doc/white_dune/commandline_examples/joystick2.sh
+%%PORTDOCS%%share/doc/white_dune/commandline_examples/joystick2.sh.html
+%%PORTDOCS%%share/doc/white_dune/commandline_examples/nostereo.sh
+%%PORTDOCS%%share/doc/white_dune/commandline_examples/nostereo.sh.html
+%%PORTDOCS%%share/doc/white_dune/commandline_examples/spaceball_joystick_example.sh
+%%PORTDOCS%%share/doc/white_dune/commandline_examples/spaceball_joystick_example.sh.html
+%%PORTDOCS%%share/doc/white_dune/commandline_examples/wingmancordlessgamepad.sh
+%%PORTDOCS%%share/doc/white_dune/commandline_examples/xinput_example.sh
+%%PORTDOCS%%share/doc/white_dune/commandline_examples/xinput_example.sh.html
+%%PORTDOCS%%share/doc/white_dune/commandline_examples/xinput_irix6.2_example.sh
+%%PORTDOCS%%share/doc/white_dune/deutsch.jpg
+%%PORTDOCS%%share/doc/white_dune/developer_docs/Doxyfile.in
+%%PORTDOCS%%share/doc/white_dune/developer_docs/Makefile
%%PORTDOCS%%share/doc/white_dune/developer_docs/dune.jpg
-%%PORTDOCS%%share/doc/white_dune/developer_docs/dune.png
%%PORTDOCS%%share/doc/white_dune/developer_docs/dune_developer.html
+%%PORTDOCS%%share/doc/white_dune/english.jpg
%%PORTDOCS%%share/doc/white_dune/index.html
%%PORTDOCS%%share/doc/white_dune/typical_vrml_examples/billboard.wrl
%%PORTDOCS%%share/doc/white_dune/typical_vrml_examples/bubble.wav
@@ -23,29 +39,59 @@ bin/dune
%%PORTDOCS%%share/doc/white_dune/typical_vrml_examples/touch_trigger.wrl
%%PORTDOCS%%share/doc/white_dune/typical_vrml_examples/transform_animation.wrl
%%PORTDOCS%%share/doc/white_dune/typical_vrml_examples/visibilty_trigger.wrl
+%%PORTDOCS%%share/doc/white_dune/usage_docs/6d.jpg
+%%PORTDOCS%%share/doc/white_dune/usage_docs/6dloc.jpg
+%%PORTDOCS%%share/doc/white_dune/usage_docs/6dlocal_right1.jpg
+%%PORTDOCS%%share/doc/white_dune/usage_docs/6dlocal_right2.jpg
+%%PORTDOCS%%share/doc/white_dune/usage_docs/6dlocal_right3.jpg
+%%PORTDOCS%%share/doc/white_dune/usage_docs/6dlocal_wrong.jpg
+%%PORTDOCS%%share/doc/white_dune/usage_docs/animation_onetime.jpg
+%%PORTDOCS%%share/doc/white_dune/usage_docs/animation_onetime2.jpg
+%%PORTDOCS%%share/doc/white_dune/usage_docs/animation_recording.jpg
%%PORTDOCS%%share/doc/white_dune/usage_docs/cassettenrecorder.jpg
+%%PORTDOCS%%share/doc/white_dune/usage_docs/center.jpg
+%%PORTDOCS%%share/doc/white_dune/usage_docs/colorcircle1.jpg
+%%PORTDOCS%%share/doc/white_dune/usage_docs/colorcircle2.jpg
+%%PORTDOCS%%share/doc/white_dune/usage_docs/cosmo_colorpervertex.jpg
+%%PORTDOCS%%share/doc/white_dune/usage_docs/cosmo_no_colorpervertex.jpg
+%%PORTDOCS%%share/doc/white_dune/usage_docs/crash.jpg
+%%PORTDOCS%%share/doc/white_dune/usage_docs/crashrestore.jpg
+%%PORTDOCS%%share/doc/white_dune/usage_docs/rot.jpg
+%%PORTDOCS%%share/doc/white_dune/usage_docs/dials_default.jpg
+%%PORTDOCS%%share/doc/white_dune/usage_docs/dials_normal.jpg
+%%PORTDOCS%%share/doc/white_dune/usage_docs/dune.1.html
%%PORTDOCS%%share/doc/white_dune/usage_docs/dune_animation.jpg
+%%PORTDOCS%%share/doc/white_dune/usage_docs/dune_colorpervertex.jpg
%%PORTDOCS%%share/doc/white_dune/usage_docs/dune_de.html
+%%PORTDOCS%%share/doc/white_dune/usage_docs/dune_de_exercise.html
%%PORTDOCS%%share/doc/white_dune/usage_docs/dune_en.html
+%%PORTDOCS%%share/doc/white_dune/usage_docs/dune_en_exercise.html
%%PORTDOCS%%share/doc/white_dune/usage_docs/dune_interaktion.jpg
-%%PORTDOCS%%share/doc/white_dune/usage_docs/rot.jpg
+%%PORTDOCS%%share/doc/white_dune/usage_docs/dune_no_colorpervertex.jpg
+%%PORTDOCS%%share/doc/white_dune/usage_docs/fieldchange.jpg
+%%PORTDOCS%%share/doc/white_dune/usage_docs/interpolator.jpg
+%%PORTDOCS%%share/doc/white_dune/usage_docs/level3.jpg
+%%PORTDOCS%%share/doc/white_dune/usage_docs/navigation.jpg
+%%PORTDOCS%%share/doc/white_dune/usage_docs/node_add_invalid.jpg
+%%PORTDOCS%%share/doc/white_dune/usage_docs/node_add_valid.jpg
+%%PORTDOCS%%share/doc/white_dune/usage_docs/recording.jpg
+%%PORTDOCS%%share/doc/white_dune/usage_docs/recording_one.jpg
+%%PORTDOCS%%share/doc/white_dune/usage_docs/routecut1.jpg
+%%PORTDOCS%%share/doc/white_dune/usage_docs/routecut2.jpg
+%%PORTDOCS%%share/doc/white_dune/usage_docs/routemake1.jpg
+%%PORTDOCS%%share/doc/white_dune/usage_docs/routemake2.jpg
%%PORTDOCS%%share/doc/white_dune/usage_docs/scale.jpg
+%%PORTDOCS%%share/doc/white_dune/usage_docs/scenegraphchange_invalid.jpg
+%%PORTDOCS%%share/doc/white_dune/usage_docs/scenegraphchange_valid.jpg
+%%PORTDOCS%%share/doc/white_dune/usage_docs/sceneicon.jpg
%%PORTDOCS%%share/doc/white_dune/usage_docs/schieb.jpg
+%%PORTDOCS%%share/doc/white_dune/usage_docs/spaceball.jpg
+%%PORTDOCS%%share/doc/white_dune/usage_docs/timesensor.jpg
%%PORTDOCS%%share/doc/white_dune/usage_docs/transform.jpg
%%PORTDOCS%%share/doc/white_dune/usage_docs/transform2.jpg
-%%PORTDOCS%%share/doc/white_dune/usage_examples/animation_example.wrl
-%%PORTDOCS%%share/doc/white_dune/usage_examples/index.html
-%%PORTDOCS%%share/doc/white_dune/usage_examples/joystick2.sh
-%%PORTDOCS%%share/doc/white_dune/usage_examples/joystick2.sh.html
-%%PORTDOCS%%share/doc/white_dune/usage_examples/nostereo.sh
-%%PORTDOCS%%share/doc/white_dune/usage_examples/nostereo.sh.html
-%%PORTDOCS%%share/doc/white_dune/usage_examples/spaceball_joystick_example.sh
-%%PORTDOCS%%share/doc/white_dune/usage_examples/spaceball_joystick_example.sh.html
-%%PORTDOCS%%share/doc/white_dune/usage_examples/xinput_example.sh
-%%PORTDOCS%%share/doc/white_dune/usage_examples/xinput_example.sh.html
-%%PORTDOCS%%share/doc/white_dune/usage_examples/xinput_irix6.2_example.sh
-%%PORTDOCS%%@dirrm share/doc/white_dune/developer_docs
-%%PORTDOCS%%@dirrm share/doc/white_dune/typical_vrml_examples
+%%PORTDOCS%%share/doc/white_dune/usage_docs/windows.jpg
%%PORTDOCS%%@dirrm share/doc/white_dune/usage_docs
-%%PORTDOCS%%@dirrm share/doc/white_dune/usage_examples
+%%PORTDOCS%%@dirrm share/doc/white_dune/typical_vrml_examples
+%%PORTDOCS%%@dirrm share/doc/white_dune/developer_docs
+%%PORTDOCS%%@dirrm share/doc/white_dune/commandline_examples
%%PORTDOCS%%@dirrm share/doc/white_dune