summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/vterrain-apps/Makefile37
-rw-r--r--graphics/vterrain-apps/distinfo1
-rw-r--r--graphics/vterrain-apps/files/patch-aa11
-rw-r--r--graphics/vterrain-apps/pkg-comment1
-rw-r--r--graphics/vterrain-apps/pkg-descr9
-rw-r--r--graphics/vterrain-apps/pkg-plist1
7 files changed, 61 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 15b5317c40c8..1e16908e3a47 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -288,6 +288,7 @@
SUBDIR += vid
SUBDIR += view3ds
SUBDIR += vlc
+ SUBDIR += vterrain-apps
SUBDIR += vterrain-sdk
SUBDIR += whirlgif
SUBDIR += win32-codecs
diff --git a/graphics/vterrain-apps/Makefile b/graphics/vterrain-apps/Makefile
new file mode 100644
index 000000000000..b6d3ed9b6536
--- /dev/null
+++ b/graphics/vterrain-apps/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: vterrain-apps
+# Date created: 27 Apr 2001
+# Whom: Randall Hopper
+#
+# $FreeBSD$
+#
+
+PORTNAME= vterrain-apps
+PORTVERSION= 010829
+CATEGORIES= graphics
+MASTER_SITES= ftp://ftp.vterrain.org/pub/vterrain/dist/
+DISTNAME= TerrainApps-${PORTVERSION}
+
+MAINTAINER= aa8vb@nc.rr.com
+
+LIB_DEPENDS= vtdata.1:${PORTSDIR}/graphics/vterrain-sdk \
+ wx_gtk_gl.2:${PORTSDIR}/x11-toolkits/wxgtk \
+ netcdf.1:${PORTSDIR}/math/netcdf \
+ osg.1:${PORTSDIR}/graphics/osg \
+ png.4:${PORTSDIR}/graphics/png
+
+WRKSRC= ${WRKDIR}/TerrainApps
+
+USE_ZIP= yes
+EXTRACT_BEFORE_ARGS+= -a
+USE_X_PREFIX= yes
+USE_MESA= yes
+INSTALLS_SHLIB= yes
+USE_GMAKE= yes
+MAKE_ENV= CXX="${CXX}" \
+ COPT="${CXXFLAGS} -fpic -DPIC" \
+ PTHREAD_LIBS="${PTHREAD_LIBS}"
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/Enviro/wxEnviro ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/graphics/vterrain-apps/distinfo b/graphics/vterrain-apps/distinfo
new file mode 100644
index 000000000000..d87ddc42b365
--- /dev/null
+++ b/graphics/vterrain-apps/distinfo
@@ -0,0 +1 @@
+MD5 (TerrainApps-010829.zip) = 89c8175863f57e5d22544098b2dcc47e
diff --git a/graphics/vterrain-apps/files/patch-aa b/graphics/vterrain-apps/files/patch-aa
new file mode 100644
index 000000000000..15a0b65e9cd4
--- /dev/null
+++ b/graphics/vterrain-apps/files/patch-aa
@@ -0,0 +1,11 @@
+--- ORIG/Make.defs Tue Aug 28 20:35:10 2001
++++ Make.defs Wed Aug 29 16:58:09 2001
+@@ -91,7 +91,7 @@
+ # NOTE: VTP_ROOT is set in each Makefile
+
+ APIS_DIR = $(VTP_ROOT)/APIs
+-TERRAIN_SDK_DIR = $(VTP_ROOT)/TerrainSDK
++TERRAIN_SDK_DIR = $(X11BASE)/include/TerrainSDK
+ TERRAIN_APPS_DIR = $(VTP_ROOT)/TerrainApps
+ VTDATA_DIR = $(TERRAIN_SDK_DIR)/vtdata
+ VTLIB_DIR = $(TERRAIN_SDK_DIR)/vtlib
diff --git a/graphics/vterrain-apps/pkg-comment b/graphics/vterrain-apps/pkg-comment
new file mode 100644
index 000000000000..e929848df523
--- /dev/null
+++ b/graphics/vterrain-apps/pkg-comment
@@ -0,0 +1 @@
+Virtual Terrain Project Applications
diff --git a/graphics/vterrain-apps/pkg-descr b/graphics/vterrain-apps/pkg-descr
new file mode 100644
index 000000000000..c40bfdd5fb5b
--- /dev/null
+++ b/graphics/vterrain-apps/pkg-descr
@@ -0,0 +1,9 @@
+ VTP Apps - Virtual Terrain Project Applications
+
+The goal of VTP is to foster the creation of tools for easily constructing
+any part of the real world in interactive, 3D digital form.
+
+The VTP applications provide the ability to construct (VTBuilder) and
+interactively view (Enviro) 3D virtual terrains.
+
+WWW: http://www.vterrain.org/
diff --git a/graphics/vterrain-apps/pkg-plist b/graphics/vterrain-apps/pkg-plist
new file mode 100644
index 000000000000..65392c411075
--- /dev/null
+++ b/graphics/vterrain-apps/pkg-plist
@@ -0,0 +1 @@
+bin/wxEnviro