summaryrefslogtreecommitdiff
path: root/x11/xglobe
diff options
context:
space:
mode:
authorhubertf <hubertf>1999-01-05 01:17:47 +0000
committerhubertf <hubertf>1999-01-05 01:17:47 +0000
commite40e96f797ec39cf2b383b9adb0b05d9ff44396f (patch)
tree06746fd7445e5e4e910d7b875aed18a647688834 /x11/xglobe
parent83343e1213e42898b15b71a050c301d3f50df5d8 (diff)
downloadpkgsrc-e40e96f797ec39cf2b383b9adb0b05d9ff44396f.tar.gz
Displays the earth as seen from space on your X Desktop, similar to xearth,
but using rendered images (textures) instead.
Diffstat (limited to 'x11/xglobe')
-rw-r--r--x11/xglobe/Makefile26
-rw-r--r--x11/xglobe/files/md56
-rw-r--r--x11/xglobe/patches/patch-aa36
-rw-r--r--x11/xglobe/pkg/COMMENT1
-rw-r--r--x11/xglobe/pkg/DESCR10
-rw-r--r--x11/xglobe/pkg/PLIST7
6 files changed, 86 insertions, 0 deletions
diff --git a/x11/xglobe/Makefile b/x11/xglobe/Makefile
new file mode 100644
index 00000000000..d9ae84cedf1
--- /dev/null
+++ b/x11/xglobe/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/01/05 01:17:47 hubertf Exp $
+#
+
+DISTNAME= xglobe-0.1
+CATEGORIES= x11
+MASTER_SITES= http://www.uni-karlsruhe.de/~uddn/xglobe/ \
+ http://livingearth.com/LE/images/ \
+ http://www.ngdc.noaa.gov/mgg/image/
+DISTFILES+= ${MAPS} ${DISTNAME}${EXTRACT_SUFX}
+
+MAINTAINER= hubertf@netbsd.org
+HOMEPAGE= http://www.uni-karlsruhe.de/~uddn/xglobe/
+
+MAPS= LE.400.gif Brill.400.gif mggd.gif
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+
+USE_X11= YES
+USE_GMAKE= YES
+MAKE_ENV+= QTDIR=${X11BASE}
+
+post-install:
+ ${INSTALL_DATA} ${DISTDIR}/mggd.gif ${X11BASE}/lib/X11/xglobe/map.bmp
+ ${INSTALL_DATA} ${DISTDIR}/LE.400.gif ${X11BASE}/lib/X11/xglobe/daymap.gif
+ ${INSTALL_DATA} ${DISTDIR}/Brill.400.gif ${X11BASE}/lib/X11/xglobe/nightmap.gif
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/xglobe/files/md5 b/x11/xglobe/files/md5
new file mode 100644
index 00000000000..edf199e926a
--- /dev/null
+++ b/x11/xglobe/files/md5
@@ -0,0 +1,6 @@
+$NetBSD: md5,v 1.1.1.1 1999/01/05 01:17:47 hubertf Exp $
+
+MD5 (LE.400.gif) = 2950d9d315db019f8ce9142ddbfc992a
+MD5 (Brill.400.gif) = da9f9061201b9da2ace1d988e9f99954
+MD5 (mggd.gif) = 7980806c25a35c2801a89a7d1223cf49
+MD5 (xglobe-0.1.tar.gz) = cc5da3a7c541aac09bd19e8caa17e110
diff --git a/x11/xglobe/patches/patch-aa b/x11/xglobe/patches/patch-aa
new file mode 100644
index 00000000000..5630259cac4
--- /dev/null
+++ b/x11/xglobe/patches/patch-aa
@@ -0,0 +1,36 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/01/05 01:17:48 hubertf Exp $
+
+--- Makefile.orig Thu Dec 10 21:33:10 1998
++++ Makefile Fri Jan 1 19:43:28 1999
+@@ -4,17 +4,17 @@
+
+ ####### Installation directory
+
+-XGLOBE_DIR = /usr/local
+-XGLOBE_LIB_DIR = $(XGLOBE_DIR)/lib/xglobe
++XGLOBE_DIR = ${PREFIX}
++XGLOBE_LIB_DIR = $(XGLOBE_DIR)/lib/X11/xglobe
+ XGLOBE_BIN_DIR = $(XGLOBE_DIR)/bin
+
+ ####### Library directories - you may need to modify these
+
+-X11_INCLUDE_DIR = /usr/X11R6/include
+-QT_INCLUDE_DIR = $(QTDIR)/include
++X11_INCLUDE_DIR = ${X11BASE}/include
++QT_INCLUDE_DIR = $(QTDIR)/include/qt
+
+ QT_LIB_DIR = $(QTDIR)/lib
+-X11_LIB_DIR = /usr/X11R6/lib
++X11_LIB_DIR = ${X11BASE}/lib
+
+
+ ####### Compiler and tools
+@@ -22,7 +22,7 @@
+ CPP = g++
+ LINK = g++
+ MOC = moc
+-INSTALL = install
++INSTALL = install -c
+
+ ####### compile and link options
+
diff --git a/x11/xglobe/pkg/COMMENT b/x11/xglobe/pkg/COMMENT
new file mode 100644
index 00000000000..55b99dca6e2
--- /dev/null
+++ b/x11/xglobe/pkg/COMMENT
@@ -0,0 +1 @@
+Displays the earth as seen from space on your X Desktop, similar to xearth.
diff --git a/x11/xglobe/pkg/DESCR b/x11/xglobe/pkg/DESCR
new file mode 100644
index 00000000000..e7cf7cc7bdb
--- /dev/null
+++ b/x11/xglobe/pkg/DESCR
@@ -0,0 +1,10 @@
+XGlobe displays the earth as seen from space on your X Desktop,
+similar to xearth by Kirk Lauritz Johnson. The code to calculate
+the sun's position was taken from this program. The image of the
+globe is updated at regular intervals. XGlobe uses a world map
+image which is mapped to the globe. With a good map this can look
+very nice. It is possible to mark locations on the globe.
+
+The provided daymap.gif and nightmap.gif (in /usr/X11R6/lib/X11) are
+(c) Copyright 1996 by The Living Earth, Inc./Earth Imaging, All
+Rights Reserved. See also http://livingearth.com.
diff --git a/x11/xglobe/pkg/PLIST b/x11/xglobe/pkg/PLIST
new file mode 100644
index 00000000000..e2248e8b407
--- /dev/null
+++ b/x11/xglobe/pkg/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/01/05 01:17:48 hubertf Exp $
+bin/xglobe
+lib/X11/xglobe/xglobe-markers
+lib/X11/xglobe/map.bmp
+lib/X11/xglobe/daymap.gif
+lib/X11/xglobe/nightmap.gif
+@dirrm lib/X11/xglobe