Date: Tue, 22 Feb 2000 03:40:42 -0500 (EST) From: Will Andrews <andrews@technologist.com> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: ports/16903: new port: astro/xplanet Message-ID: <20000222084042.B231C1995@argon.blackdawn.com>
next in thread | raw e-mail | index | archive | help
>Number: 16903 >Category: ports >Synopsis: new port: astro/xplanet >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: Tue Feb 22 00:50:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Will Andrews >Release: FreeBSD 4.0-CURRENT i386 >Organization: none >Environment: FreeBSD argon.blackdawn.com 4.0-CURRENT FreeBSD 4.0-CURRENT #0: Sat Feb 12 13:20:47 EST 2000 root@argon.blackdawn.com:/usr/src/sys/compile/KRYPTON i386 FreeBSD cain.gsoft.com.au 2.2.8-STABLE FreeBSD 2.2.8-STABLE #0: Wed Sep 8 15:02:18 CST 1999 doconnor@cain.gsoft.com.au:/usr/src/sys/compile/CAIN i386 >Description: XPlanet is a cool "replacement" for xearth. It does _REAL_ 3D rendering, mostly with the help of the Mesa OpenGL libraries. Special thanks goes to Daniel O'Connor <darius@dons.net.au>, who originally figured out how to get around the .ppm problem that I was having trouble with when I worked on this port a couple weeks ago. I'm going to leave his name and email as the original port creator. His machine also ensured that xplanet works on 2.2.8-STABLE as well. >How-To-Repeat: Use the shar below to import the new port to the tree. >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: # # xplanet # xplanet/pkg # xplanet/pkg/COMMENT # xplanet/pkg/DESCR # xplanet/pkg/PLIST # xplanet/files # xplanet/files/md5 # xplanet/Makefile # echo c - xplanet mkdir -p xplanet > /dev/null 2>&1 echo c - xplanet/pkg mkdir -p xplanet/pkg > /dev/null 2>&1 echo x - xplanet/pkg/COMMENT sed 's/^X//' >xplanet/pkg/COMMENT << 'END-of-xplanet/pkg/COMMENT' XDraw pictures of the earth textured by an image END-of-xplanet/pkg/COMMENT echo x - xplanet/pkg/DESCR sed 's/^X//' >xplanet/pkg/DESCR << 'END-of-xplanet/pkg/DESCR' XXplanet was inspired by Xearth, which renders an image of the earth into the X Xroot window. Xplanet uses the Imlib library to read user supplied maps of the Xearth (or another planet). Orthographic and mercator projections can be Xrendered to the root window or saved to a file. An image that the user can Xrotate interactively can be popped up in a window using OpenGL or Mesa. X XWWW: http://www.wrightflyer.org/~hari/xplanet/ XAuthor: Hari Nair <hari@almuni.caltech.edu> X X--Will <andrews@technologist.com> END-of-xplanet/pkg/DESCR echo x - xplanet/pkg/PLIST sed 's/^X//' >xplanet/pkg/PLIST << 'END-of-xplanet/pkg/PLIST' Xbin/xplanet Xbin/xplanetbg Xbin/tkxplanet Xshare/xplanet/earth.jpg Xshare/xplanet/earth-markers.txt Xshare/xplanet/mars-markers.txt Xshare/xplanet/moon-markers.txt X@dirrm share/xplanet END-of-xplanet/pkg/PLIST echo c - xplanet/files mkdir -p xplanet/files > /dev/null 2>&1 echo x - xplanet/files/md5 sed 's/^X//' >xplanet/files/md5 << 'END-of-xplanet/files/md5' XMD5 (xplanet-0.45.tar.gz) = 17314d79c99c68104183b7b6b19f8f48 XMD5 (photo_1600.jpg) = 220cea978ce224c29dd0c1eb080ddb24 END-of-xplanet/files/md5 echo x - xplanet/Makefile sed 's/^X//' >xplanet/Makefile << 'END-of-xplanet/Makefile' X# New ports collection makefile for: xplanet X# Version required: 0.45 X# Date created: 22 Feb 2000 X# Whom: darius@dons.net.au X# X# $FreeBSD$ X# X XDISTNAME= xplanet-0.45 XCATEGORIES= astro x11 XMASTER_SITES= http://www.wrightflyer.org/~hari/xplanet/ \ X http://www.radcyberzine.com/xglobe/ XDISTFILES= ${DISTNAME}${EXTRACT_SUFX} photo_1600.jpg X XMAINTAINER= andrews@technologist.com X XLIB_DEPENDS= Imlib.5:${PORTSDIR}/graphics/imlib \ X GL.14:${PORTSDIR}/graphics/Mesa3 X XEXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} X XUSE_X_PREFIX= yes XUSE_GMAKE= yes XGNU_CONFIGURE= yes XCONFIGURE_ARGS= --with-map-extension=jpg XMAN1= xplanet.1 xplanetbg.1 X X.include <bsd.port.pre.mk> X X.if (!defined(USE_TK80) && !defined(USE_TK81) && !defined(USE_TK82) && !defined(USE_TK83)) X.if exists(${LOCALBASE}/bin/wish8.3) XUSE_TK83= yes X.elif exists(${LOCALBASE}/bin/wish8.2) XUSE_TK82= yes X.elif exists(${LOCALBASE}/bin/wish8.1) XUSE_TK81= yes X.else XUSE_TK80= yes X.endif X.endif X X.if defined(USE_TK80) XRUN_DEPENDS= wish8.0:${PORTSDIR}/x11-toolkits/tk80 XWISH= ${LOCALBASE}/bin/wish8.0 XTKVERMSG= "Using Tk 8.0" X.endif X X.if defined(USE_TK81) XRUN_DEPENDS= wish8.1:${PORTSDIR}/x11-toolkits/tk81 XWISH= ${LOCALBASE}/bin/wish8.1 XTKVERMSG= "Using Tk 8.1" X.endif X X.if defined(USE_TK82) XRUN_DEPENDS= wish8.2:${PORTSDIR}/x11-toolkits/tk82 XWISH= ${LOCALBASE}/bin/wish8.2 XTKVERMSG= "Using Tk 8.2" X.endif X X.if defined(USE_TK83) XRUN_DEPENDS= wish8.3:${PORTSDIR}/x11-toolkits/tk83 XWISH= ${LOCALBASE}/bin/wish8.3 XTKVERMSG= "Using Tk 8.3" X.endif X XCONFIGURE_ENV+= WISH=${WISH} X Xpre-fetch: X @${ECHO} ${TKVERMSG} X @${ECHO} "Define USE_TK80, USE_TK81, USE_TK82, or USE_Tk83" X @${ECHO} "To use a different version of TK" X Xpre-build: X @${PERL} -pi -e "s:/usr/local:${PREFIX}:g" ${WRKSRC}/auxfiles.h X Xpost-install: X @${INSTALL_DATA} ${DISTDIR}/photo_1600.jpg ${PREFIX}/share/xplanet/earth.jpg X X.include <bsd.port.post.mk> END-of-xplanet/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?20000222084042.B231C1995>