summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/vertex/Makefile27
-rw-r--r--graphics/vertex/distinfo1
-rw-r--r--graphics/vertex/files/patch-Makefile.Linux50
-rw-r--r--graphics/vertex/files/patch-Makefile.install.UNIX30
-rw-r--r--graphics/vertex/files/patch-config.h14
-rw-r--r--graphics/vertex/pkg-comment1
-rw-r--r--graphics/vertex/pkg-descr24
-rw-r--r--graphics/vertex/pkg-plist16
9 files changed, 164 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 8ca664e..b1a5508 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -245,6 +245,7 @@
SUBDIR += vcdpad
SUBDIR += vcdtools
SUBDIR += vcg
+ SUBDIR += vertex
SUBDIR += vid
SUBDIR += view3ds
SUBDIR += whirlgif
diff --git a/graphics/vertex/Makefile b/graphics/vertex/Makefile
new file mode 100644
index 0000000..74be0e7
--- /dev/null
+++ b/graphics/vertex/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: vertex
+# Date created: 1 June 2001
+# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= vertex
+PORTVERSION= 0.0.1d
+CATEGORIES= graphics
+MASTER_SITES= ftp://wolfpack.twu.net/users/wolfpack/
+DISTNAME= ${PORTNAME}${PORTVERSION}
+
+MAINTAINER= sobomax@FreeBSD.org
+
+LIB_DEPENDS= gtkgl.5:${PORTSDIR}/x11-toolkits/gtkglarea \
+ tiff.4:${PORTSDIR}/graphics/tiff
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/vertex
+
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+USE_MESA= yes
+USE_GTK= yes
+MAKEFILE= Makefile.Linux
+
+.include <bsd.port.mk>
diff --git a/graphics/vertex/distinfo b/graphics/vertex/distinfo
new file mode 100644
index 0000000..1da687c
--- /dev/null
+++ b/graphics/vertex/distinfo
@@ -0,0 +1 @@
+MD5 (vertex0.0.1d.tar.bz2) = 3381347a13d4588f6e861fc4e6831fcc
diff --git a/graphics/vertex/files/patch-Makefile.Linux b/graphics/vertex/files/patch-Makefile.Linux
new file mode 100644
index 0000000..b31298c
--- /dev/null
+++ b/graphics/vertex/files/patch-Makefile.Linux
@@ -0,0 +1,50 @@
+
+$FreeBSD$
+
+--- Makefile.Linux 2001/06/01 17:04:37 1.1
++++ Makefile.Linux 2001/06/01 17:20:49
+@@ -18,7 +18,7 @@
+ # You may modify any value as needed. Change only the ones you are
+ # absolutly sure that requires modification.
+ #
+-PREFIX = /usr
++PREFIX ?= /usr
+
+
+ # ########################################################################
+@@ -70,7 +70,9 @@
+ # to debug the program.
+ #
+
+-CFLAGS = -DHAVE_IMLIB `gtk-config --cflags` -O -g -Wall
++GTK_CFLAGS != $(GTK_CONFIG) --cflags
++CFLAGS += -DHAVE_IMLIB -DHAVE_GTKGLAREA -DUSE_XSHM $(GTK_CFLAGS) -Wall \
++ -DPREFIX=\"${PREFIX}\"
+
+ CPPFLAGS = -D__cplusplus -Dc_plusplus
+
+@@ -86,9 +88,11 @@
+ # to the LIB line depending on what you have set in the CFLAGS line
+ # farther above.
+ #
++GTK_LIBS != $(GTK_CONFIG) --libs
++IMLIB_LIBS != $(X11BASE)/bin/imlib-config --libs
+ LIB = -lm \
+- -lImlib -lpng -ltiff -lgif -ljpeg \
+- `gtk-config --libs` \
++ $(IMLIB_LIBS) \
++ $(GTK_LIBS) \
+ -lGLU -lGL \
+ -lgtkgl \
+ -lz
+@@ -121,8 +125,8 @@
+ #
+ include Makefile.srclist
+
+-CC = gcc
+-CPP = g++
++CC ?= gcc
++CPP = $(CXX)
+ BIN = vertex
+ OBJ_C = $(SRC_C:.c=.o)
+ OBJ_CPP = $(SRC_CPP:.cpp=.o)
diff --git a/graphics/vertex/files/patch-Makefile.install.UNIX b/graphics/vertex/files/patch-Makefile.install.UNIX
new file mode 100644
index 0000000..20dc392
--- /dev/null
+++ b/graphics/vertex/files/patch-Makefile.install.UNIX
@@ -0,0 +1,30 @@
+
+$FreeBSD$
+
+--- Makefile.install.UNIX 2001/06/01 17:28:56 1.1
++++ Makefile.install.UNIX 2001/06/01 17:32:30
+@@ -28,17 +28,19 @@
+
+ BIN_DIR = $(PREFIX)/bin
+ DATA_DIR = $(PREFIX)/share/$(BIN)
+-ICONS_DIR = $(PREFIX)/share/icons
++ICONS_DIR = $(PREFIX)/share/$(BIN)/icons
+
+ HR = "-------------------------------------------------------------------------"
+
+ install:
+ $(MKDIR) $(MKDIRFLAGS) $(BIN_DIR)
+- $(INSTALL) $(INSTBINFLAGS) $(BIN) $(BIN_DIR)
++ $(BSD_INSTALL_PROGRAM) $(BIN) $(BIN_DIR)
+ $(MKDIR) $(MKDIRFLAGS) $(ICONS_DIR)
+- $(INSTALL) $(INSTDATFLAGS) $(BIN).xpm $(ICONS_DIR)
+- $(MKDIR) $(MKDIRFLAGS) $(DATA_DIR)
+- $(COPY) -r data/* $(DATA_DIR)
++ $(BSD_INSTALL_DATA) $(BIN).xpm $(ICONS_DIR)
++.for subd in help preset_models preset_primitives
++ $(MKDIR) $(MKDIRFLAGS) $(DATA_DIR)/$(subd)
++ $(BSD_INSTALL_DATA) data/$(subd)/* $(DATA_DIR)/$(subd)
++.endfor
+ @echo $(HR)
+ @echo "Program $(BIN) installed in:"
+ @echo " "
diff --git a/graphics/vertex/files/patch-config.h b/graphics/vertex/files/patch-config.h
new file mode 100644
index 0000000..4959730
--- /dev/null
+++ b/graphics/vertex/files/patch-config.h
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- config.h 2001/06/01 17:19:04 1.1
++++ config.h 2001/06/01 17:19:54
+@@ -53,7 +53,7 @@
+ /*
+ * File and directory paths:
+ */
+-#define VMA_DEF_DATA_GLOBAL_DIR "/usr/share/vertex"
++#define VMA_DEF_DATA_GLOBAL_DIR (PREFIX "/share/vertex")
+
+ /* Local data directory, user's home dir will be prefixed. */
+ #define VMA_DEF_DATA_LOCAL_DIR ".vertex"
diff --git a/graphics/vertex/pkg-comment b/graphics/vertex/pkg-comment
new file mode 100644
index 0000000..3391d4e
--- /dev/null
+++ b/graphics/vertex/pkg-comment
@@ -0,0 +1 @@
+A 3D modeller designed specifically for generating efficient game models
diff --git a/graphics/vertex/pkg-descr b/graphics/vertex/pkg-descr
new file mode 100644
index 0000000..32deb1d
--- /dev/null
+++ b/graphics/vertex/pkg-descr
@@ -0,0 +1,24 @@
+Vertex 3D Model Assembler (sometimes reffered to as just Vertex) is a unique
+modeller designed specifically for generating efficient game models for (but
+not limited to) games and applications using OpenGL's style of graphics
+rendering.
+
+This is not a modeller intended to create massive 3D scenes for ray tracers.
+However there are plans to support exporting models to ray tracers (ie POVRAY),
+Vertex is not intended to be an eye candy modeller but rather a strict high
+performance game model maker.
+
+Vertex supports the native V3D format, it is a hybrid text file format designed
+to easilly support third party proprietery data as well as V3D model data in an
+OpenGL friendly layout so that it can be read and loaded quickly into OpenGL
+display lists (if that is what the application wants) or into editable data
+structures in terms of `models' and `primitives'. One V3D file may contain
+multiple modelmodels and embedded third party proprietery data within and
+outside model sections in the file.
+
+Vertex is a modeller written by game programmers for game programmers, its
+intent is to maximize efficiency and detail tradeoff for high performance
+animations in games. Artists using modellers for ray-tracers make need some
+breaking into the differences of making models for ray tracers vs games.
+
+WWW: http://wolfpack.twu.net/Vertex/
diff --git a/graphics/vertex/pkg-plist b/graphics/vertex/pkg-plist
new file mode 100644
index 0000000..5f8da4b
--- /dev/null
+++ b/graphics/vertex/pkg-plist
@@ -0,0 +1,16 @@
+bin/vertex
+share/vertex/help/contacts.html
+share/vertex/help/index.html
+share/vertex/help/keyboard.html
+share/vertex/help/tutorial.html
+share/vertex/help/v3dformat.html
+share/vertex/help/viewing.html
+share/vertex/icons/vertex.xpm
+share/vertex/preset_models/01.3d
+share/vertex/preset_models/02.3d
+share/vertex/preset_primitives/01.3d
+@dirrm share/vertex/preset_primitives
+@dirrm share/vertex/preset_models
+@dirrm share/vertex/icons
+@dirrm share/vertex/help
+@dirrm share/vertex
OpenPOWER on IntegriCloud