summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/g3d/Makefile23
-rw-r--r--graphics/g3d/files/md53
-rw-r--r--graphics/g3d/files/patch-sum4
-rw-r--r--graphics/g3d/patches/patch-aa27
-rw-r--r--graphics/g3d/patches/patch-ab19
-rw-r--r--graphics/g3d/pkg/COMMENT1
-rw-r--r--graphics/g3d/pkg/DESCR4
-rw-r--r--graphics/g3d/pkg/PLIST28
8 files changed, 109 insertions, 0 deletions
diff --git a/graphics/g3d/Makefile b/graphics/g3d/Makefile
new file mode 100644
index 00000000000..cc132a9dfd8
--- /dev/null
+++ b/graphics/g3d/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/07/22 03:35:20 sakamoto Exp $
+#
+
+DISTNAME= g3d-0.0.2
+CATEGORIES= graphics
+MASTER_SITES= http://condor.stcloudstate.edu/~hebl9901/g3d/
+
+MAINTAINER= sakamoto@netbsd.org
+HOMEPAGE= http://condor.stcloudstate.edu/~hebl9901/g3d/
+
+DEPENDS+= gtkglarea-1.2.1:../../x11/gtkglarea
+
+WRKSRC= ${WRKDIR}/g3d
+
+USE_LIBTOOL= YES
+USE_GMAKE= YES
+USE_X11BASE= YES
+GNU_CONFIGURE= YES
+
+post-configure:
+ @${LN} -s ${WRKSRC}/b3d/src ${WRKSRC}/g3d/b3d
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/g3d/files/md5 b/graphics/g3d/files/md5
new file mode 100644
index 00000000000..e6d0e834ed6
--- /dev/null
+++ b/graphics/g3d/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/07/22 03:35:21 sakamoto Exp $
+
+MD5 (g3d-0.0.2.tar.gz) = 3f434b9fa12d799a79e87159c130ce4b
diff --git a/graphics/g3d/files/patch-sum b/graphics/g3d/files/patch-sum
new file mode 100644
index 00000000000..b80e8e5f87a
--- /dev/null
+++ b/graphics/g3d/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1.1.1 1999/07/22 03:35:21 sakamoto Exp $
+
+MD5 (patch-aa) = 814f0cebffd22469637aa973af13b199
+MD5 (patch-ab) = 3963778e889f81a1e33baa0b67d760ca
diff --git a/graphics/g3d/patches/patch-aa b/graphics/g3d/patches/patch-aa
new file mode 100644
index 00000000000..0206d494754
--- /dev/null
+++ b/graphics/g3d/patches/patch-aa
@@ -0,0 +1,27 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/07/22 03:35:21 sakamoto Exp $
+
+--- ./g3d/Makefile.in.orig Sat Jul 17 05:29:18 1999
++++ ./g3d/Makefile.in Thu Jul 22 10:24:50 1999
+@@ -100,5 +100,5 @@
+ l = @l@
+
+-CFLAGS = @CFLAGS@ -Wall $(GTK_CFLAGS) -DPIXMAP_DIR=\"/usr/local/share/pixmaps/g3d/\"
++CFLAGS = @CFLAGS@ -Wall $(GTK_CFLAGS) -DPIXMAP_DIR=\"$(prefix)/share/pixmaps/g3d/\"
+
+ bin_PROGRAMS = g3d
+@@ -107,5 +107,5 @@
+
+
+-g3d_LDADD = -lb3d $(GL_LIBS) $(GTK_LIBS) -lgtkgl
++g3d_LDADD = ../b3d/src/libb3d.la $(GL_LIBS) $(GTK_LIBS) -lgtkgl
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = ../config.h
+@@ -370,6 +370,6 @@
+
+ install-data-local:
+- -mkdir /usr/local/share/pixmaps/g3d/
+- cp $(top_srcdir)/pixmaps/*.xpm /usr/local/share/pixmaps/g3d/
++ $(mkinstalldirs) $(prefix)/share/pixmaps/g3d/
++ cp $(top_srcdir)/pixmaps/*.xpm $(prefix)/share/pixmaps/g3d/
+
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
diff --git a/graphics/g3d/patches/patch-ab b/graphics/g3d/patches/patch-ab
new file mode 100644
index 00000000000..2ad6d03001a
--- /dev/null
+++ b/graphics/g3d/patches/patch-ab
@@ -0,0 +1,19 @@
+$NetBSD: patch-ab,v 1.1.1.1 1999/07/22 03:35:21 sakamoto Exp $
+
+--- ./configure.orig Tue Jul 20 04:24:13 1999
++++ ./configure Thu Jul 22 10:21:45 1999
+@@ -1348,6 +1348,7 @@
+
+ # Always use our own libtool.
+-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
++LIBTOOL="$LIBTOOL"
+
++if false; then
+ # Check for any special flags to pass to ltconfig.
+ libtool_flags=
+@@ -1392,4 +1393,5 @@
+ $libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \
+ || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
++fi
+
+ # Redirect the config.log output again, so that the ltconfig log is not
diff --git a/graphics/g3d/pkg/COMMENT b/graphics/g3d/pkg/COMMENT
new file mode 100644
index 00000000000..bb8cf763345
--- /dev/null
+++ b/graphics/g3d/pkg/COMMENT
@@ -0,0 +1 @@
+3D modeller with a view of 3D modelling
diff --git a/graphics/g3d/pkg/DESCR b/graphics/g3d/pkg/DESCR
new file mode 100644
index 00000000000..f31bbefce2c
--- /dev/null
+++ b/graphics/g3d/pkg/DESCR
@@ -0,0 +1,4 @@
+This is G3D. It is a 3D modeller with a narrow view of 3D modelling.
+That is: I wrote this up to make models for 3D games. This means that
+advanced modelling features (NURBS, animation, other stuff like that)
+is not included. It probably never will be either.
diff --git a/graphics/g3d/pkg/PLIST b/graphics/g3d/pkg/PLIST
new file mode 100644
index 00000000000..695cb1496be
--- /dev/null
+++ b/graphics/g3d/pkg/PLIST
@@ -0,0 +1,28 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/07/22 03:35:21 sakamoto Exp $
+bin/g3d
+include/b3d/b3d.h
+include/b3d/btex.h
+include/b3d/geo.h
+include/b3d/global.h
+include/b3d/model.h
+include/b3d/sgi.h
+include/b3d/transform.h
+lib/libb3d.a
+lib/libb3d.so.0.1
+share/pixmaps/g3d/exit.xpm
+share/pixmaps/g3d/file.xpm
+share/pixmaps/g3d/lineadd.xpm
+share/pixmaps/g3d/linesel.xpm
+share/pixmaps/g3d/linesub.xpm
+share/pixmaps/g3d/new.xpm
+share/pixmaps/g3d/pointadd.xpm
+share/pixmaps/g3d/pointsel.xpm
+share/pixmaps/g3d/pointsub.xpm
+share/pixmaps/g3d/right_arrow.xpm
+share/pixmaps/g3d/save.xpm
+share/pixmaps/g3d/triadd.xpm
+share/pixmaps/g3d/trisel.xpm
+share/pixmaps/g3d/trisub.xpm
+share/pixmaps/g3d/tritex.xpm
+@dirrm share/pixmaps/g3d
+@dirrm include/b3d