aboutsummaryrefslogtreecommitdiff
path: root/graphics/vterrain-sdk/Makefile
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2001-06-11 03:29:56 +0000
committerWill Andrews <will@FreeBSD.org>2001-06-11 03:29:56 +0000
commit6220d336c1a86c7377a0b59c72957d4c5490717d (patch)
tree4626fcde7be94c8036c2d87924d8710f3b2a4b02 /graphics/vterrain-sdk/Makefile
parent3f8dc1279c9e087be35982488ff82bea1e0020f8 (diff)
Add vterrain-sdk 010423, the Virtual Terrain Project Software
Developement Kit. PR: 26930 Submitted by: Randall Hopper <aa8vb@nc.rr.com>
Notes
Notes: svn path=/head/; revision=43796
Diffstat (limited to 'graphics/vterrain-sdk/Makefile')
-rw-r--r--graphics/vterrain-sdk/Makefile49
1 files changed, 49 insertions, 0 deletions
diff --git a/graphics/vterrain-sdk/Makefile b/graphics/vterrain-sdk/Makefile
new file mode 100644
index 000000000000..675cc9fac36d
--- /dev/null
+++ b/graphics/vterrain-sdk/Makefile
@@ -0,0 +1,49 @@
+# New ports collection makefile for: vterrain-sdk
+# Date created: 27 Apr 2001
+# Whom: Randall Hopper <aa8vb@nc.rr.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= vterrain-sdk
+PORTVERSION= 010423
+CATEGORIES= graphics
+MASTER_SITES= ftp://ftp.vterrain.org/pub/vterrain/dist/ \
+ http://www.boost.org/libs/dir_it/
+DISTFILES= TerrainSDK-${PORTVERSION}.zip \
+ dir_it.zip
+EXTRACT_ONLY= TerrainSDK-${PORTVERSION}.zip
+
+MAINTAINER= aa8vb@nc.rr.com
+
+LIB_DEPENDS= netcdf.1:${PORTSDIR}/math/netcdf \
+ shp.1:${PORTSDIR}/devel/shapelib \
+ png.4:${PORTSDIR}/graphics/png \
+ osg.1:${PORTSDIR}/graphics/osg \
+ projection.1:${PORTSDIR}/devel/projectionlib
+
+WRKSRC= ${WRKDIR}/TerrainSDK
+USE_ZIP= yes
+EXTRACT_BEFORE_ARGS+= -a
+USE_X_PREFIX= yes
+USE_MESA= yes
+USE_GMAKE= yes
+INSTALLS_SHLIB= yes
+
+post-extract:
+ cd ${WRKSRC}/vtdata && \
+ ${UNZIP} -aj ${DISTDIR}/dir_it.zip boost/directory.h src/directory.cpp
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/vtdata/libvtdata.so ${PREFIX}/lib/libvtdata.so.1
+ ${INSTALL_DATA} ${WRKSRC}/vtlib/vtosg/libvtosg.so ${PREFIX}/lib/libvtosg.so.1
+ ${LN} -sf libvtdata.so.1 ${PREFIX}/lib/libvtdata.so
+ ${LN} -sf libvtosg.so.1 ${PREFIX}/lib/libvtosg.so
+ ${MKDIR} ${PREFIX}/include/TerrainSDK
+ cd ${WRKSRC} && \
+ find . -name '*.h' -o -name '*.inl' \
+ | cpio -dumpv ${PREFIX}/include/TerrainSDK
+ find ${PREFIX}/include/TerrainSDK -type d | xargs ${CHMOD} 755
+ find ${PREFIX}/include/TerrainSDK -type f | xargs ${CHMOD} 644
+
+.include <bsd.port.mk>