Skip site navigation (1)Skip section navigation (2)
Date:      20 Jan 1999 11:51:48 -0000
From:      kkenn@rebel.net.au
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/9585: New port - xglobe (xearth w/ rendered satellite image map)
Message-ID:  <19990120115148.61019.qmail@morden.rebel.net.au>

next in thread | raw e-mail | index | archive | help

>Number:         9585
>Category:       ports
>Synopsis:       New port - xglobe (xearth w/ rendered satellite image map)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 20 04:00:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Kris Kennaway
>Release:        FreeBSD-3.0
>Organization:
FreeBSD
>Environment:
>Description:
This is a new port of XGlobe 0.2, a program similar to xearth, but which
renders a satellite image map of the earth (or any other planet, in fact).
Quite nifty!
 >How-To-Repeat: 
>How-To-Repeat:
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	xglobe/
#	xglobe/files
#	xglobe/files/md5
#	xglobe/pkg
#	xglobe/pkg/COMMENT
#	xglobe/pkg/DESCR
#	xglobe/pkg/PLIST
#	xglobe/patches
#	xglobe/patches/patch-aa
#	xglobe/Makefile
#
echo c - xglobe/
mkdir -p xglobe/ > /dev/null 2>&1
echo c - xglobe/files
mkdir -p xglobe/files > /dev/null 2>&1
echo x - xglobe/files/md5
sed 's/^X//' >xglobe/files/md5 << 'END-of-xglobe/files/md5'
XMD5 (xglobe-0.2.tar.gz) = a6852863764b22cc9cf484dea848315a
END-of-xglobe/files/md5
echo c - xglobe/pkg
mkdir -p xglobe/pkg > /dev/null 2>&1
echo x - xglobe/pkg/COMMENT
sed 's/^X//' >xglobe/pkg/COMMENT << 'END-of-xglobe/pkg/COMMENT'
XDisplays a view of the Earth (like xearth) with a rendered photo map.
END-of-xglobe/pkg/COMMENT
echo x - xglobe/pkg/DESCR
sed 's/^X//' >xglobe/pkg/DESCR << 'END-of-xglobe/pkg/DESCR'
XDisplays a rendered view of the earth in your root window, similar to
Xxearth, but instead uses a satellite image map of the earth. You can also
Xsubstitute surface maps of other planets if you're feeling cosmic.
X
Xhttp://www.uni-karlsruhe.de/~uddn/xglobe/
END-of-xglobe/pkg/DESCR
echo x - xglobe/pkg/PLIST
sed 's/^X//' >xglobe/pkg/PLIST << 'END-of-xglobe/pkg/PLIST'
Xbin/xglobe
Xshare/xglobe/map.bmp
Xshare/xglobe/xglobe-markers
X@dirrm share/xglobe
END-of-xglobe/pkg/PLIST
echo c - xglobe/patches
mkdir -p xglobe/patches > /dev/null 2>&1
echo x - xglobe/patches/patch-aa
sed 's/^X//' >xglobe/patches/patch-aa << 'END-of-xglobe/patches/patch-aa'
X*** Makefile.orig	Wed Jan 20 06:02:59 1999
X--- Makefile	Wed Jan 20 21:59:45 1999
X***************
X*** 4,40 ****
X  
X  ####### Installation directory
X  
X! XGLOBE_DIR     = /usr/local
X! XGLOBE_LIB_DIR = $(XGLOBE_DIR)/lib/xglobe
X  XGLOBE_BIN_DIR = $(XGLOBE_DIR)/bin
X  
X  ####### Library directories - you may need to modify these
X  
X  X11_INCLUDE_DIR = /usr/X11R6/include
X! QT_INCLUDE_DIR  = /usr/lib/qt/include
X  
X! QT_LIB_DIR      = /usr/lib/qt/lib
X  X11_LIB_DIR     = /usr/X11R6/lib
X  
X  
X  ####### Compiler and tools
X  
X! CPP     = g++
X! LINK    = g++
X  MOC     = moc
X  INSTALL = install
X  
X  ####### compile and link options
X  
X! CFLAGS       = $(INCLUDE_DIRS) -DXGLOBE_LIB_DIR=\"$(XGLOBE_LIB_DIR)\" -O2 -Wall
X! 
X  LFLAGS       =
X  
X  INCLUDE_DIRS = -I$(QT_INCLUDE_DIR) -I$(X11_INCLUDE_DIR)
X  
X  LIB_DIRS     = -L$(QT_LIB_DIR) -L$(X11_LIB_DIR)
X  
X! #LIBS         = -lX11 -lqt -lm
X  # If you want to use the QImageIO lib (to support jpg and png maps) use this
X  # line and comment the one above (don't forget to edit config.h as well!)
X  #LIBS         = -lX11 -lqt -lm -lqimgio
X--- 4,41 ----
X  
X  ####### Installation directory
X  
X! XGLOBE_DIR     = ${PREFIX}
X! XGLOBE_LIB_DIR = $(XGLOBE_DIR)/share/xglobe
X  XGLOBE_BIN_DIR = $(XGLOBE_DIR)/bin
X  
X  ####### Library directories - you may need to modify these
X  
X  X11_INCLUDE_DIR = /usr/X11R6/include
X! QT_INCLUDE_DIR  = /usr/X11R6/share/include/X11/qt
X  
X! QT_LIB_DIR      = /usr/X11R6/lib
X  X11_LIB_DIR     = /usr/X11R6/lib
X  
X  
X  ####### Compiler and tools
X  
X! CXX     ?= g++
X! CPP     = ${CXX}
X! LINK    = ${CXX}
X  MOC     = moc
X  INSTALL = install
X  
X  ####### compile and link options
X  
X! CFLAGS       ?= -O2 -pipe
X! CFLAGS       += $(INCLUDE_DIRS) -DXGLOBE_LIB_DIR=\"$(XGLOBE_LIB_DIR)\" -Wall
X  LFLAGS       =
X  
X  INCLUDE_DIRS = -I$(QT_INCLUDE_DIR) -I$(X11_INCLUDE_DIR)
X  
X  LIB_DIRS     = -L$(QT_LIB_DIR) -L$(X11_LIB_DIR)
X  
X! LIBS         = -lX11 -lqt -lm
X  # If you want to use the QImageIO lib (to support jpg and png maps) use this
X  # line and comment the one above (don't forget to edit config.h as well!)
X  #LIBS         = -lX11 -lqt -lm -lqimgio
END-of-xglobe/patches/patch-aa
echo x - xglobe/Makefile
sed 's/^X//' >xglobe/Makefile << 'END-of-xglobe/Makefile'
X# New ports collection makefile for:   xglobe
X# Version required:    0.2
X# Date created:        20 January 1998
X# Whom:                Kris Kennaway <kkennawa@physics.adelaide.edu.au>
X#
X# $Id$
X#
X
XDISTNAME=	xglobe-0.2
XCATEGORIES=	astro
XMASTER_SITES=	http://www.uni-karlsruhe.de/~uddn/xglobe/
X
XMAINTAINER=	kkennawa@physics.adelaide.edu.au
X
XUSE_QT=		yes
XUSE_X_PREFIX=   yes
XUSE_GMAKE=	yes
X
Xdo-install:
X	@${MKDIR} ${PREFIX}/share/xglobe/
X	@${INSTALL_PROGRAM} ${WRKSRC}/xglobe ${PREFIX}/bin/
X	@${INSTALL_DATA} ${WRKSRC}/map.bmp ${PREFIX}/share/xglobe/
X	@${INSTALL_DATA} ${WRKSRC}/xglobe-markers ${PREFIX}/share/xglobe/
X
X.include <bsd.port.mk>
END-of-xglobe/Makefile
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990120115148.61019.qmail>