aboutsummaryrefslogtreecommitdiff
path: root/astro
diff options
context:
space:
mode:
Diffstat (limited to 'astro')
-rw-r--r--astro/xglobe/Makefile25
-rw-r--r--astro/xglobe/distinfo1
-rw-r--r--astro/xglobe/files/patch-aa80
-rw-r--r--astro/xglobe/pkg-comment1
-rw-r--r--astro/xglobe/pkg-descr5
-rw-r--r--astro/xglobe/pkg-plist4
6 files changed, 116 insertions, 0 deletions
diff --git a/astro/xglobe/Makefile b/astro/xglobe/Makefile
new file mode 100644
index 000000000000..92c3e71258ee
--- /dev/null
+++ b/astro/xglobe/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: xglobe
+# Version required: 0.2
+# Date created: 20 January 1998
+# Whom: Kris Kennaway <kkennawa@physics.adelaide.edu.au>
+#
+# $Id$
+#
+
+DISTNAME= xglobe-0.2
+CATEGORIES= astro
+MASTER_SITES= http://www.uni-karlsruhe.de/~uddn/xglobe/
+
+MAINTAINER= kkennawa@physics.adelaide.edu.au
+
+USE_QT= yes
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+
+do-install:
+ @${MKDIR} ${PREFIX}/share/xglobe/
+ @${INSTALL_PROGRAM} ${WRKSRC}/xglobe ${PREFIX}/bin/
+ @${INSTALL_DATA} ${WRKSRC}/map.bmp ${PREFIX}/share/xglobe/
+ @${INSTALL_DATA} ${WRKSRC}/xglobe-markers ${PREFIX}/share/xglobe/
+
+.include <bsd.port.mk>
diff --git a/astro/xglobe/distinfo b/astro/xglobe/distinfo
new file mode 100644
index 000000000000..432adec6fce9
--- /dev/null
+++ b/astro/xglobe/distinfo
@@ -0,0 +1 @@
+MD5 (xglobe-0.2.tar.gz) = a6852863764b22cc9cf484dea848315a
diff --git a/astro/xglobe/files/patch-aa b/astro/xglobe/files/patch-aa
new file mode 100644
index 000000000000..e9ed2d66a237
--- /dev/null
+++ b/astro/xglobe/files/patch-aa
@@ -0,0 +1,80 @@
+*** Makefile.orig Wed Jan 20 06:02:59 1999
+--- Makefile Wed Jan 20 21:59:45 1999
+***************
+*** 4,40 ****
+
+ ####### Installation directory
+
+! XGLOBE_DIR = /usr/local
+! XGLOBE_LIB_DIR = $(XGLOBE_DIR)/lib/xglobe
+ XGLOBE_BIN_DIR = $(XGLOBE_DIR)/bin
+
+ ####### Library directories - you may need to modify these
+
+ X11_INCLUDE_DIR = /usr/X11R6/include
+! QT_INCLUDE_DIR = /usr/lib/qt/include
+
+! QT_LIB_DIR = /usr/lib/qt/lib
+ X11_LIB_DIR = /usr/X11R6/lib
+
+
+ ####### Compiler and tools
+
+! CPP = g++
+! LINK = g++
+ MOC = moc
+ INSTALL = install
+
+ ####### compile and link options
+
+! CFLAGS = $(INCLUDE_DIRS) -DXGLOBE_LIB_DIR=\"$(XGLOBE_LIB_DIR)\" -O2 -Wall
+!
+ LFLAGS =
+
+ INCLUDE_DIRS = -I$(QT_INCLUDE_DIR) -I$(X11_INCLUDE_DIR)
+
+ LIB_DIRS = -L$(QT_LIB_DIR) -L$(X11_LIB_DIR)
+
+! #LIBS = -lX11 -lqt -lm
+ # If you want to use the QImageIO lib (to support jpg and png maps) use this
+ # line and comment the one above (don't forget to edit config.h as well!)
+ #LIBS = -lX11 -lqt -lm -lqimgio
+--- 4,41 ----
+
+ ####### Installation directory
+
+! XGLOBE_DIR = ${PREFIX}
+! XGLOBE_LIB_DIR = $(XGLOBE_DIR)/share/xglobe
+ XGLOBE_BIN_DIR = $(XGLOBE_DIR)/bin
+
+ ####### Library directories - you may need to modify these
+
+ X11_INCLUDE_DIR = /usr/X11R6/include
+! QT_INCLUDE_DIR = /usr/X11R6/include/X11/qt
+
+! QT_LIB_DIR = /usr/X11R6/lib
+ X11_LIB_DIR = /usr/X11R6/lib
+
+
+ ####### Compiler and tools
+
+! CXX ?= g++
+! CPP = ${CXX}
+! LINK = ${CXX}
+ MOC = moc
+ INSTALL = install
+
+ ####### compile and link options
+
+! CFLAGS ?= -O2 -pipe
+! CFLAGS += $(INCLUDE_DIRS) -DXGLOBE_LIB_DIR=\"$(XGLOBE_LIB_DIR)\" -Wall
+ LFLAGS =
+
+ INCLUDE_DIRS = -I$(QT_INCLUDE_DIR) -I$(X11_INCLUDE_DIR)
+
+ LIB_DIRS = -L$(QT_LIB_DIR) -L$(X11_LIB_DIR)
+
+! LIBS = -lX11 -lqt -lm
+ # If you want to use the QImageIO lib (to support jpg and png maps) use this
+ # line and comment the one above (don't forget to edit config.h as well!)
+ #LIBS = -lX11 -lqt -lm -lqimgio
diff --git a/astro/xglobe/pkg-comment b/astro/xglobe/pkg-comment
new file mode 100644
index 000000000000..1e774287ca45
--- /dev/null
+++ b/astro/xglobe/pkg-comment
@@ -0,0 +1 @@
+Displays a view of the Earth (like xearth) with a rendered photo map.
diff --git a/astro/xglobe/pkg-descr b/astro/xglobe/pkg-descr
new file mode 100644
index 000000000000..e7b28d4ae2ef
--- /dev/null
+++ b/astro/xglobe/pkg-descr
@@ -0,0 +1,5 @@
+Displays a rendered view of the earth in your root window, similar to
+xearth, but instead uses a satellite image map of the earth. You can also
+substitute surface maps of other planets if you're feeling cosmic.
+
+http://www.uni-karlsruhe.de/~uddn/xglobe/
diff --git a/astro/xglobe/pkg-plist b/astro/xglobe/pkg-plist
new file mode 100644
index 000000000000..e705ced823b4
--- /dev/null
+++ b/astro/xglobe/pkg-plist
@@ -0,0 +1,4 @@
+bin/xglobe
+share/xglobe/map.bmp
+share/xglobe/xglobe-markers
+@dirrm share/xglobe