View | Details | Raw Unified | Return to bug 42039
Collapse All | Expand All

(-)graphics/white_dune/Makefile (-11 / +13 lines)
Lines 7-43 Link Here
7
#
7
#
8
8
9
PORTNAME=	white_dune
9
PORTNAME=	white_dune
10
PORTVERSION=	0.19b31
10
PORTVERSION=	0.19.4
11
PORTEPOCH=	1
11
CATEGORIES=	graphics
12
CATEGORIES=	graphics
12
MASTER_SITES=	http://www.csv.ica.uni-stuttgart.de/vrml/dune/
13
MASTER_SITES=	http://www.csv.ica.uni-stuttgart.de/vrml/dune/
13
DISTNAME=	${PORTNAME}-${PORTVERSION:S/b/beta/}
14
DISTNAME=	${PORTNAME}-${PORTVERSION:R}pl${PORTVERSION:E}
14
15
15
MAINTAINER=	ports@FreeBSD.org
16
MAINTAINER=	ports@FreeBSD.org
16
17
17
LIB_DEPENDS=	png:${PORTSDIR}/graphics/png \
18
LIB_DEPENDS=	jpeg.9:${PORTSDIR}/graphics/jpeg \
18
		jpeg:${PORTSDIR}/graphics/jpeg
19
		png.5:${PORTSDIR}/graphics/png
19
20
20
USE_REINPLACE=	yes
21
USE_REINPLACE=	yes
21
USE_BISON=	yes
22
USE_MESA=	yes
22
USE_MESA=	yes
23
USE_MOTIF=	yes
23
USE_MOTIF=	yes
24
GNU_CONFIGURE=	yes
24
GNU_CONFIGURE=	yes
25
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
26
		LDFLAGS="-L${LOCALBASE}/lib"
25
ALL_TARGET=	# empty
27
ALL_TARGET=	# empty
26
28
27
MAN1=	dune.1
29
MAN1=	dune.1
28
30
29
post-patch:
31
post-patch:
30
	@${GREP} -lR "malloc.h" ${WRKSRC} | ${XARGS} \
32
	@${REINPLACE_CMD} -e 's|<values.h>|<limits.h>|g' ${WRKSRC}/src/stdafx.h
31
		${REINPLACE_CMD} -e "s/malloc\.h/stdlib.h/g"
32
	@${REINPLACE_CMD} -e "s/values\.h/limits.h/g" ${WRKSRC}/stdafx.h
33
	@${REINPLACE_CMD} -e "s/alloca\.h/stdlib.h/g" ${WRKSRC}/NodeNurbsSurface.cpp
34
33
35
do-install:
34
do-install:
36
	${INSTALL_PROGRAM} ${WRKSRC}/dune ${PREFIX}/bin
35
	${INSTALL_PROGRAM} ${WRKSRC}/bin/dune ${PREFIX}/bin
36
	${INSTALL_SCRIPT} ${WRKSRC}/bin/nostereodune ${PREFIX}/bin
37
	${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1
37
	${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1
38
.if !defined(NOPORTDOCS)
38
.if !defined(NOPORTDOCS)
39
	@${MKDIR} ${DOCSDIR}
39
	@${MKDIR} ${DOCSDIR}
40
	${CP} -R ${WRKSRC}/docs/* ${DOCSDIR}
40
	${TAR} -C ${WRKSRC}/docs -cf - . | \
41
		${TAR} -C ${DOCSDIR} --unlink -xf -
42
	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
41
.endif
43
.endif
42
44
43
.include <bsd.port.mk>
45
.include <bsd.port.mk>
(-)graphics/white_dune/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (white_dune-0.19beta31.tar.gz) = 4823ee000399235cbd197fdc9e838d30
1
MD5 (white_dune-0.19pl4.tar.gz) = eeaec7cade0befab101aea4b2b58a3a9
(-)graphics/white_dune/files/patch-src::Makefile.in (+13 lines)
Line 0 Link Here
1
--- src/Makefile.in.orig	Tue Jul 16 23:42:39 2002
2
+++ src/Makefile.in	Tue Aug 20 05:03:35 2002
3
@@ -11,8 +11,8 @@
4
 # WARNINGS = -Wall -Wwrite-strings
5
 # WARNINGS = -woff 3303
6
 # LFLAGS = -woff 1167 -woff 1110 -woff 3322
7
-CFLAGS = @OPTIM@ $(WARNINGS) -I. -Iswt/include @CPPFLAGS@
8
-CXXFLAGS = $(CFLAGS)
9
+CFLAGS = @CFLAGS@ $(WARNINGS) -I. -Iswt/include @CPPFLAGS@
10
+CXXFLAGS = @CXXFLAGS@ $(WARNINGS) -I. -Iswt/include @CPPFLAGS@
11
 LIBS = @STATIC@ -Lswt/lib -lswt @LIBS@
12
 
13
 .SUFFIXES: .cpp
(-)graphics/white_dune/files/patch-src::swt::motif::Makefile.in (+11 lines)
Line 0 Link Here
1
--- src/swt/motif/Makefile.in.orig	Tue Jul 16 23:42:39 2002
2
+++ src/swt/motif/Makefile.in	Tue Aug 20 05:05:49 2002
3
@@ -8,7 +8,7 @@
4
 INCDIRS = -I../.. -I../include @CPPFLAGS@
5
 # WARNINGS = -Wall -Wwrite-strings
6
 FONT24 = @FONT24@
7
-CFLAGS = @OPTIM@ $(WARNINGS) $(INCDIRS) -DFONT24=\"$(FONT24)\"
8
+CFLAGS = @CFLAGS@ $(WARNINGS) $(INCDIRS) -DFONT24=\"$(FONT24)\"
9
 DLIB = ../lib/libswt.so.0.1
10
 SLIB = ../lib/libswt.a
11
 
(-)graphics/white_dune/files/patch-src::swt::rc::Makefile.in (+13 lines)
Line 0 Link Here
1
--- src/swt/rc/Makefile.in.orig	Tue Jul 16 23:42:38 2002
2
+++ src/swt/rc/Makefile.in	Tue Aug 20 05:08:27 2002
3
@@ -10,8 +10,8 @@
4
 LIBDIRS =
5
 INCDIRS = -I../include
6
 # WARNINGS = -Wall -Wwrite-strings
7
-CFLAGS = -g $(WARNINGS) $(INCDIRS)
8
-MAKEDEPEND=gcc -MM
9
+CFLAGS = @CFLAGS@ $(WARNINGS) $(INCDIRS)
10
+MAKEDEPEND=@CC@ -MM
11
 YFLAGS = -d
12
 
13
 TARGET = rc
(-)graphics/white_dune/files/patch-src::swt::tests::Makefile.in (+13 lines)
Line 0 Link Here
1
--- src/swt/tests/Makefile.in.orig	Tue Jul 16 23:42:38 2002
2
+++ src/swt/tests/Makefile.in	Tue Aug 20 05:04:37 2002
3
@@ -12,8 +12,8 @@
4
 INCDIRS = -I../include
5
 
6
 # WARNINGS = -Wall -Wwrite-strings
7
-CFLAGS = -g $(WARNINGS) $(INCDIRS)
8
-CXXFLAGS = $(CFLAGS)
9
+CFLAGS = @CFLAGS@ $(WARNINGS) $(INCDIRS)
10
+CXXFLAGS = @CXXFLAGS@ $(WARNINGS) $(INCDIRS)
11
 
12
 TARGETS = swTest text buttons doodle drawing tree restest draw1
13
 
(-)graphics/white_dune/pkg-plist (-16 / +62 lines)
Lines 1-7 Link Here
1
bin/dune
1
bin/dune
2
bin/nostereodune
3
%%PORTDOCS%%share/doc/white_dune/commandline_examples/animation_example.wrl
4
%%PORTDOCS%%share/doc/white_dune/commandline_examples/index.html
5
%%PORTDOCS%%share/doc/white_dune/commandline_examples/joystick2.sh
6
%%PORTDOCS%%share/doc/white_dune/commandline_examples/joystick2.sh.html
7
%%PORTDOCS%%share/doc/white_dune/commandline_examples/nostereo.sh
8
%%PORTDOCS%%share/doc/white_dune/commandline_examples/nostereo.sh.html
9
%%PORTDOCS%%share/doc/white_dune/commandline_examples/spaceball_joystick_example.sh
10
%%PORTDOCS%%share/doc/white_dune/commandline_examples/spaceball_joystick_example.sh.html
11
%%PORTDOCS%%share/doc/white_dune/commandline_examples/wingmancordlessgamepad.sh
12
%%PORTDOCS%%share/doc/white_dune/commandline_examples/xinput_example.sh
13
%%PORTDOCS%%share/doc/white_dune/commandline_examples/xinput_example.sh.html
14
%%PORTDOCS%%share/doc/white_dune/commandline_examples/xinput_irix6.2_example.sh
15
%%PORTDOCS%%share/doc/white_dune/deutsch.jpg
16
%%PORTDOCS%%share/doc/white_dune/developer_docs/Doxyfile.in
17
%%PORTDOCS%%share/doc/white_dune/developer_docs/Makefile
2
%%PORTDOCS%%share/doc/white_dune/developer_docs/dune.jpg
18
%%PORTDOCS%%share/doc/white_dune/developer_docs/dune.jpg
3
%%PORTDOCS%%share/doc/white_dune/developer_docs/dune.png
4
%%PORTDOCS%%share/doc/white_dune/developer_docs/dune_developer.html
19
%%PORTDOCS%%share/doc/white_dune/developer_docs/dune_developer.html
20
%%PORTDOCS%%share/doc/white_dune/english.jpg
5
%%PORTDOCS%%share/doc/white_dune/index.html
21
%%PORTDOCS%%share/doc/white_dune/index.html
6
%%PORTDOCS%%share/doc/white_dune/typical_vrml_examples/billboard.wrl
22
%%PORTDOCS%%share/doc/white_dune/typical_vrml_examples/billboard.wrl
7
%%PORTDOCS%%share/doc/white_dune/typical_vrml_examples/bubble.wav
23
%%PORTDOCS%%share/doc/white_dune/typical_vrml_examples/bubble.wav
Lines 23-51 Link Here
23
%%PORTDOCS%%share/doc/white_dune/typical_vrml_examples/touch_trigger.wrl
39
%%PORTDOCS%%share/doc/white_dune/typical_vrml_examples/touch_trigger.wrl
24
%%PORTDOCS%%share/doc/white_dune/typical_vrml_examples/transform_animation.wrl
40
%%PORTDOCS%%share/doc/white_dune/typical_vrml_examples/transform_animation.wrl
25
%%PORTDOCS%%share/doc/white_dune/typical_vrml_examples/visibilty_trigger.wrl
41
%%PORTDOCS%%share/doc/white_dune/typical_vrml_examples/visibilty_trigger.wrl
42
%%PORTDOCS%%share/doc/white_dune/usage_docs/6d.jpg
43
%%PORTDOCS%%share/doc/white_dune/usage_docs/6dloc.jpg
44
%%PORTDOCS%%share/doc/white_dune/usage_docs/6dlocal_right1.jpg
45
%%PORTDOCS%%share/doc/white_dune/usage_docs/6dlocal_right2.jpg
46
%%PORTDOCS%%share/doc/white_dune/usage_docs/6dlocal_right3.jpg
47
%%PORTDOCS%%share/doc/white_dune/usage_docs/6dlocal_wrong.jpg
48
%%PORTDOCS%%share/doc/white_dune/usage_docs/animation_onetime.jpg
49
%%PORTDOCS%%share/doc/white_dune/usage_docs/animation_onetime2.jpg
50
%%PORTDOCS%%share/doc/white_dune/usage_docs/animation_recording.jpg
26
%%PORTDOCS%%share/doc/white_dune/usage_docs/cassettenrecorder.jpg
51
%%PORTDOCS%%share/doc/white_dune/usage_docs/cassettenrecorder.jpg
52
%%PORTDOCS%%share/doc/white_dune/usage_docs/center.jpg
53
%%PORTDOCS%%share/doc/white_dune/usage_docs/colorcircle1.jpg
54
%%PORTDOCS%%share/doc/white_dune/usage_docs/colorcircle2.jpg
55
%%PORTDOCS%%share/doc/white_dune/usage_docs/cosmo_colorpervertex.jpg
56
%%PORTDOCS%%share/doc/white_dune/usage_docs/cosmo_no_colorpervertex.jpg
57
%%PORTDOCS%%share/doc/white_dune/usage_docs/crash.jpg
58
%%PORTDOCS%%share/doc/white_dune/usage_docs/crashrestore.jpg
59
%%PORTDOCS%%share/doc/white_dune/usage_docs/rot.jpg
60
%%PORTDOCS%%share/doc/white_dune/usage_docs/dials_default.jpg
61
%%PORTDOCS%%share/doc/white_dune/usage_docs/dials_normal.jpg
62
%%PORTDOCS%%share/doc/white_dune/usage_docs/dune.1.html
27
%%PORTDOCS%%share/doc/white_dune/usage_docs/dune_animation.jpg
63
%%PORTDOCS%%share/doc/white_dune/usage_docs/dune_animation.jpg
64
%%PORTDOCS%%share/doc/white_dune/usage_docs/dune_colorpervertex.jpg
28
%%PORTDOCS%%share/doc/white_dune/usage_docs/dune_de.html
65
%%PORTDOCS%%share/doc/white_dune/usage_docs/dune_de.html
66
%%PORTDOCS%%share/doc/white_dune/usage_docs/dune_de_exercise.html
29
%%PORTDOCS%%share/doc/white_dune/usage_docs/dune_en.html
67
%%PORTDOCS%%share/doc/white_dune/usage_docs/dune_en.html
68
%%PORTDOCS%%share/doc/white_dune/usage_docs/dune_en_exercise.html
30
%%PORTDOCS%%share/doc/white_dune/usage_docs/dune_interaktion.jpg
69
%%PORTDOCS%%share/doc/white_dune/usage_docs/dune_interaktion.jpg
31
%%PORTDOCS%%share/doc/white_dune/usage_docs/rot.jpg
70
%%PORTDOCS%%share/doc/white_dune/usage_docs/dune_no_colorpervertex.jpg
71
%%PORTDOCS%%share/doc/white_dune/usage_docs/fieldchange.jpg
72
%%PORTDOCS%%share/doc/white_dune/usage_docs/interpolator.jpg
73
%%PORTDOCS%%share/doc/white_dune/usage_docs/level3.jpg
74
%%PORTDOCS%%share/doc/white_dune/usage_docs/navigation.jpg
75
%%PORTDOCS%%share/doc/white_dune/usage_docs/node_add_invalid.jpg
76
%%PORTDOCS%%share/doc/white_dune/usage_docs/node_add_valid.jpg
77
%%PORTDOCS%%share/doc/white_dune/usage_docs/recording.jpg
78
%%PORTDOCS%%share/doc/white_dune/usage_docs/recording_one.jpg
79
%%PORTDOCS%%share/doc/white_dune/usage_docs/routecut1.jpg
80
%%PORTDOCS%%share/doc/white_dune/usage_docs/routecut2.jpg
81
%%PORTDOCS%%share/doc/white_dune/usage_docs/routemake1.jpg
82
%%PORTDOCS%%share/doc/white_dune/usage_docs/routemake2.jpg
32
%%PORTDOCS%%share/doc/white_dune/usage_docs/scale.jpg
83
%%PORTDOCS%%share/doc/white_dune/usage_docs/scale.jpg
84
%%PORTDOCS%%share/doc/white_dune/usage_docs/scenegraphchange_invalid.jpg
85
%%PORTDOCS%%share/doc/white_dune/usage_docs/scenegraphchange_valid.jpg
86
%%PORTDOCS%%share/doc/white_dune/usage_docs/sceneicon.jpg
33
%%PORTDOCS%%share/doc/white_dune/usage_docs/schieb.jpg
87
%%PORTDOCS%%share/doc/white_dune/usage_docs/schieb.jpg
88
%%PORTDOCS%%share/doc/white_dune/usage_docs/spaceball.jpg
89
%%PORTDOCS%%share/doc/white_dune/usage_docs/timesensor.jpg
34
%%PORTDOCS%%share/doc/white_dune/usage_docs/transform.jpg
90
%%PORTDOCS%%share/doc/white_dune/usage_docs/transform.jpg
35
%%PORTDOCS%%share/doc/white_dune/usage_docs/transform2.jpg
91
%%PORTDOCS%%share/doc/white_dune/usage_docs/transform2.jpg
36
%%PORTDOCS%%share/doc/white_dune/usage_examples/animation_example.wrl
92
%%PORTDOCS%%share/doc/white_dune/usage_docs/windows.jpg
37
%%PORTDOCS%%share/doc/white_dune/usage_examples/index.html
38
%%PORTDOCS%%share/doc/white_dune/usage_examples/joystick2.sh
39
%%PORTDOCS%%share/doc/white_dune/usage_examples/joystick2.sh.html
40
%%PORTDOCS%%share/doc/white_dune/usage_examples/nostereo.sh
41
%%PORTDOCS%%share/doc/white_dune/usage_examples/nostereo.sh.html
42
%%PORTDOCS%%share/doc/white_dune/usage_examples/spaceball_joystick_example.sh
43
%%PORTDOCS%%share/doc/white_dune/usage_examples/spaceball_joystick_example.sh.html
44
%%PORTDOCS%%share/doc/white_dune/usage_examples/xinput_example.sh
45
%%PORTDOCS%%share/doc/white_dune/usage_examples/xinput_example.sh.html
46
%%PORTDOCS%%share/doc/white_dune/usage_examples/xinput_irix6.2_example.sh
47
%%PORTDOCS%%@dirrm share/doc/white_dune/developer_docs
48
%%PORTDOCS%%@dirrm share/doc/white_dune/typical_vrml_examples
49
%%PORTDOCS%%@dirrm share/doc/white_dune/usage_docs
93
%%PORTDOCS%%@dirrm share/doc/white_dune/usage_docs
50
%%PORTDOCS%%@dirrm share/doc/white_dune/usage_examples
94
%%PORTDOCS%%@dirrm share/doc/white_dune/typical_vrml_examples
95
%%PORTDOCS%%@dirrm share/doc/white_dune/developer_docs
96
%%PORTDOCS%%@dirrm share/doc/white_dune/commandline_examples
51
%%PORTDOCS%%@dirrm share/doc/white_dune
97
%%PORTDOCS%%@dirrm share/doc/white_dune

Return to bug 42039