aboutsummaryrefslogtreecommitdiff
path: root/astro/openuniverse
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2000-08-26 01:48:53 +0000
committerWill Andrews <will@FreeBSD.org>2000-08-26 01:48:53 +0000
commit2462358d175c629fc0fc118427768064be820a4a (patch)
treed37a84407dae71c22bf74e272dca655902a26568 /astro/openuniverse
parentda923f1dc158a67207e05855dbbc8f08b34ab411 (diff)
downloadports-2462358d175c629fc0fc118427768064be820a4a.tar.gz
ports-2462358d175c629fc0fc118427768064be820a4a.zip
Rename ssystem to openuniverse after repository copy. Update to
openuniverse 1.0beta3. PR: 19176 Submitted by: Trevor Johnson <trevor@jpj.net>
Notes
Notes: svn path=/head/; revision=31982
Diffstat (limited to 'astro/openuniverse')
-rw-r--r--astro/openuniverse/Makefile42
-rw-r--r--astro/openuniverse/distinfo2
-rw-r--r--astro/openuniverse/files/patch-a12
-rw-r--r--astro/openuniverse/files/patch-b50
-rw-r--r--astro/openuniverse/pkg-descr25
-rw-r--r--astro/openuniverse/pkg-plist153
6 files changed, 214 insertions, 70 deletions
diff --git a/astro/openuniverse/Makefile b/astro/openuniverse/Makefile
index 5ccb958af9f9..c049ab6c8ec5 100644
--- a/astro/openuniverse/Makefile
+++ b/astro/openuniverse/Makefile
@@ -1,40 +1,30 @@
-# New ports collection makefile for: ssystem
+# New ports collection makefile for: openuniverse
# Date created: 4 August 1998
# Whom: Andrey Zakhvatov
#
# $FreeBSD$
#
-PORTNAME= ssystem
-PORTVERSION= 1.6
+PORTNAME= openuniverse
+PORTVERSION= 1.0beta3
CATEGORIES= astro
-MASTER_SITES= http://plasma.gsfc.nasa.gov/Ssystem/ \
- http://www.wam.umd.edu/~kamelkev/Ssystem/ \
- http://www.wam.umd.edu/~kamelkev/
+MASTER_SITES= http://download.sourceforge.net/openuniverse/
MAINTAINER= will@FreeBSD.org
-LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg
+LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
+ GL.14:${PORTSDIR}/graphics/Mesa3
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+
+CONFIGURE_ARGS= --includedir="${LOCALBASE}/include" \
+ --libdir="${LOCALBASE}/lib" \
+
+CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include -I${X11BASE}/include/GL -I${LOCALBASE}/include" \
+ LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib -lm" \
+ LIBS="-lcompat"
-MAKEFILE= Makefile.FreeBSD
-FETCH_BEFORE_ARGS= -b
USE_X_PREFIX= yes
-USE_MESA= yes
-USE_BISON= yes
-
-do-install:
- @ ${INSTALL_PROGRAM} ${WRKSRC}/ssystem ${PREFIX}/bin
- @ ${MKDIR} ${PREFIX}/share/ssystem
- @ ${INSTALL_DATA} ${WRKSRC}/*.jpg ${PREFIX}/share/ssystem
- @ ${INSTALL_DATA} ${WRKSRC}/stars.dat ${PREFIX}/share/ssystem
- @ ${INSTALL_DATA} ${WRKSRC}/ssystem.conf ${PREFIX}/etc
-
-post-install:
-.if !defined(NOPORTDOCS)
- @ ${MKDIR} ${PREFIX}/share/doc/ssystem
-.for file in CHANGES LEEME LICENSE README README.3D TODO
- @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/ssystem
-.endfor
-.endif
.include <bsd.port.mk>
diff --git a/astro/openuniverse/distinfo b/astro/openuniverse/distinfo
index 6bec2fa6fe8c..cc09e673b0cf 100644
--- a/astro/openuniverse/distinfo
+++ b/astro/openuniverse/distinfo
@@ -1 +1 @@
-MD5 (ssystem-1.6.tar.gz) = 39a20e1ac7ac1d35cf5bd768bac35e4e
+MD5 (openuniverse-1.0beta3.tar.gz) = e6a3e069269db0138e80f926184df3b8
diff --git a/astro/openuniverse/files/patch-a b/astro/openuniverse/files/patch-a
new file mode 100644
index 000000000000..76b6ad6ad7f1
--- /dev/null
+++ b/astro/openuniverse/files/patch-a
@@ -0,0 +1,12 @@
+diff -ruN src/ou.cpp.orig src/ou.cpp
+--- src/ou.cpp.orig Sun Jun 4 21:29:29 2000
++++ src/ou.cpp Sat Jun 10 07:37:23 2000
+@@ -22,7 +22,7 @@
+ #include <string.h>
+ #include <math.h>
+ #include <time.h>
+-#include <sys/timeb.h>
++#include "timeb.h"
+ #include <setjmp.h>
+ #include "ou.h"
+ #include "gui.h"
diff --git a/astro/openuniverse/files/patch-b b/astro/openuniverse/files/patch-b
new file mode 100644
index 000000000000..f87af09f7600
--- /dev/null
+++ b/astro/openuniverse/files/patch-b
@@ -0,0 +1,50 @@
+diff -ruN src/timeb.h.orig src/timeb.h
+--- src/timeb.h.orig Thu Jan 1 00:00:00 1970
++++ src/timeb.h Sat Jun 10 07:37:45 2000
+@@ -0,0 +1,46 @@
++/* Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
++ This file is part of the GNU C Library.
++
++ The GNU C Library is free software; you can redistribute it and/or
++ modify it under the terms of the GNU Library General Public License as
++ published by the Free Software Foundation; either version 2 of the
++ License, or (at your option) any later version.
++
++ The GNU C Library is distributed in the hope that it will be useful,
++ but WITHOUT ANY WARRANTY; without even the implied warranty of
++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
++ Library General Public License for more details.
++
++ You should have received a copy of the GNU Library General Public
++ License along with the GNU C Library; see the file COPYING.LIB. If not,
++ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
++ Boston, MA 02111-1307, USA. */
++
++#ifndef _SYS_TIMEB_H
++#define _SYS_TIMEB_H 1
++
++//#include <features.h>
++
++#define __need_time_t
++#include <time.h>
++
++
++__BEGIN_DECLS
++
++/* Structure returned by the `ftime' function. */
++
++struct timeb
++ {
++ time_t time; /* Seconds since epoch, as from `time'. */
++ unsigned short int millitm; /* Additional milliseconds. */
++ short int timezone; /* Minutes west of GMT. */
++ short int dstflag; /* Nonzero if Daylight Savings Time used. */
++ };
++
++/* Fill in TIMEBUF with information about the current time. */
++
++extern int ftime __P ((struct timeb *__timebuf));
++
++__END_DECLS
++
++#endif /* sys/timeb.h */
diff --git a/astro/openuniverse/pkg-descr b/astro/openuniverse/pkg-descr
index 6e743fc94a50..57ac36b39920 100644
--- a/astro/openuniverse/pkg-descr
+++ b/astro/openuniverse/pkg-descr
@@ -1,8 +1,19 @@
-ssystem is an OpenGL Solar System simulator with Sun, nine
-planets, and a few major satellites. Background stars are
-also included.
+paraphrase of the Web page:
+
+This program draws the Solar System's bodies in simulated
+3-dimensionality. You can view all the planets, their moons and
+a few spaceships in motion, trace them, follow them, orbit them
+and even control them.
-WWW: http://socios.las.es/~amil/ssystem/
- http://www.wam.umd.edu/~kamelkev/
- http://plasma.gsfc.nasa.gov/Ssystem/
- http://www.skysys.org/mirrors/ssystem/
+OpenUniverse was formely known as Solar System Simulator (Ssystem).
+It was initially released in 1997 with the intent of creating a
+rotating display of the Earth on a mainstream PC. Ssystem version
+1.0 was only aware of the planets. Version 1.2 added moons; and
+1.6, more means of movement and better textures.
+
+The program has been renamed OpenUniverse 1.0 to underline the
+concept behind its further development: openness for the whole
+Universe, not just the solar system--open for anyone to use, extend
+and change.
+
+WWW: http://openuniverse.sourceforge.net/
diff --git a/astro/openuniverse/pkg-plist b/astro/openuniverse/pkg-plist
index de8e651274d5..462fc9f52428 100644
--- a/astro/openuniverse/pkg-plist
+++ b/astro/openuniverse/pkg-plist
@@ -1,36 +1,117 @@
-bin/ssystem
-etc/ssystem.conf
-share/doc/ssystem/CHANGES
-share/doc/ssystem/LEEME
-share/doc/ssystem/LICENSE
-share/doc/ssystem/README
-share/doc/ssystem/README.3D
-share/doc/ssystem/TODO
-share/ssystem/asteroid.jpg
-share/ssystem/callisto.jpg
-share/ssystem/charon.jpg
-share/ssystem/dione.jpg
-share/ssystem/earth.jpg
-share/ssystem/earthcld.jpg
-share/ssystem/europa.jpg
-share/ssystem/ganymede.jpg
-share/ssystem/io.jpg
-share/ssystem/jupiter.jpg
-share/ssystem/mars.jpg
-share/ssystem/mercury.jpg
-share/ssystem/moon.jpg
-share/ssystem/neptune.jpg
-share/ssystem/pluto.jpg
-share/ssystem/rhea.jpg
-share/ssystem/satrings.jpg
-share/ssystem/saturn.jpg
-share/ssystem/splash.jpg
-share/ssystem/stars.dat
-share/ssystem/sun.jpg
-share/ssystem/tethys.jpg
-share/ssystem/titan.jpg
-share/ssystem/triton.jpg
-share/ssystem/uranus.jpg
-share/ssystem/venus.jpg
-@dirrm share/doc/ssystem
-@dirrm share/ssystem
+bin/openuniverse
+share/openuniverse/data/stars.dat
+share/openuniverse/data/messier.dat
+share/openuniverse/3dmodels/amalthea.bmf
+share/openuniverse/3dmodels/apollo13.bmf
+share/openuniverse/3dmodels/bacchus.bmf
+share/openuniverse/3dmodels/castalia.bmf
+share/openuniverse/3dmodels/deimos.bmf
+share/openuniverse/3dmodels/discovery.bmf
+share/openuniverse/3dmodels/epimetheus.bmf
+share/openuniverse/3dmodels/gaspra.bmf
+share/openuniverse/3dmodels/geographos.bmf
+share/openuniverse/3dmodels/hst.bmf
+share/openuniverse/3dmodels/hyperion.bmf
+share/openuniverse/3dmodels/ida.bmf
+share/openuniverse/3dmodels/janus.bmf
+share/openuniverse/3dmodels/ky.bmf
+share/openuniverse/3dmodels/phobos.bmf
+share/openuniverse/3dmodels/prometheus.bmf
+share/openuniverse/3dmodels/proteus.bmf
+share/openuniverse/3dmodels/shuttle.bmf
+share/openuniverse/3dmodels/ss5.bmf
+share/openuniverse/3dmodels/toutatis.bmf
+share/openuniverse/3dmodels/vesta.bmf
+share/openuniverse/fonts/default.txf
+share/openuniverse/fonts/courier_14b.txf
+share/openuniverse/fonts/helvetica_12b.txf
+share/openuniverse/fonts/helvetica_14b.txf
+share/openuniverse/fonts/times_14b.txf
+share/openuniverse/textures/apl-bm2.jpg
+share/openuniverse/textures/apl-o01.jpg
+share/openuniverse/textures/apl-o02.jpg
+share/openuniverse/textures/apl-o03.jpg
+share/openuniverse/textures/apl-o04.jpg
+share/openuniverse/textures/asteroid.jpg
+share/openuniverse/textures/body_a.jpg
+share/openuniverse/textures/body_b.jpg
+share/openuniverse/textures/body_c.jpg
+share/openuniverse/textures/body_d.jpg
+share/openuniverse/textures/bottom.jpg
+share/openuniverse/textures/callisto.jpg
+share/openuniverse/textures/castalia.jpg
+share/openuniverse/textures/charon.jpg
+share/openuniverse/textures/clouds.jpg
+share/openuniverse/textures/cockpit2.jpg
+share/openuniverse/textures/cyclo.jpg
+share/openuniverse/textures/deimos.jpg
+share/openuniverse/textures/dione.jpg
+share/openuniverse/textures/earth.jpg
+share/openuniverse/textures/earthcld.jpg
+share/openuniverse/textures/eng_base.jpg
+share/openuniverse/textures/engine01.jpg
+share/openuniverse/textures/europa.jpg
+share/openuniverse/textures/flare1.jpg
+share/openuniverse/textures/flare2.jpg
+share/openuniverse/textures/flare3.jpg
+share/openuniverse/textures/flare4.jpg
+share/openuniverse/textures/flare5.jpg
+share/openuniverse/textures/flare6.jpg
+share/openuniverse/textures/ganymede.jpg
+share/openuniverse/textures/gaspra.jpg
+share/openuniverse/textures/heatshld.jpg
+share/openuniverse/textures/hole.jpg
+share/openuniverse/textures/hyperion.jpg
+share/openuniverse/textures/io.jpg
+share/openuniverse/textures/janus.jpg
+share/openuniverse/textures/jupiter.jpg
+share/openuniverse/textures/m31.jpg
+share/openuniverse/textures/m33.jpg
+share/openuniverse/textures/mars.jpg
+share/openuniverse/textures/mercury.jpg
+share/openuniverse/textures/moon.jpg
+share/openuniverse/textures/mw.jpg
+share/openuniverse/textures/neptune.jpg
+share/openuniverse/textures/panels.jpg
+share/openuniverse/textures/phobos.jpg
+share/openuniverse/textures/pluto.jpg
+share/openuniverse/textures/promethe.jpg
+share/openuniverse/textures/proteus.jpg
+share/openuniverse/textures/rhea.jpg
+share/openuniverse/textures/rings.jpg
+share/openuniverse/textures/saturn.jpg
+share/openuniverse/textures/sidemapl.jpg
+share/openuniverse/textures/sidemapr.jpg
+share/openuniverse/textures/sm_eng.jpg
+share/openuniverse/textures/smoke.jpg
+share/openuniverse/textures/splash1.jpg
+share/openuniverse/textures/splash2.jpg
+share/openuniverse/textures/splash3.jpg
+share/openuniverse/textures/splash4.jpg
+share/openuniverse/textures/station.jpg
+share/openuniverse/textures/sun.jpg
+share/openuniverse/textures/tail.jpg
+share/openuniverse/textures/tethys.jpg
+share/openuniverse/textures/titan.jpg
+share/openuniverse/textures/top.jpg
+share/openuniverse/textures/toutatis.jpg
+share/openuniverse/textures/triton.jpg
+share/openuniverse/textures/uranus.jpg
+share/openuniverse/textures/venus.jpg
+share/openuniverse/textures/wingtop.jpg
+share/openuniverse/conf/ou.conf
+share/openuniverse/docs/title.gif
+share/openuniverse/docs/shot3.gif
+share/openuniverse/docs/shot2.gif
+share/openuniverse/docs/linux.gif
+share/openuniverse/docs/cyclo.gif
+share/openuniverse/docs/OGL_sm.gif
+share/openuniverse/docs/manual.html
+share/openuniverse/docs/BUGS.TXT
+@dirrm share/openuniverse/data
+@dirrm share/openuniverse/3dmodels
+@dirrm share/openuniverse/fonts
+@dirrm share/openuniverse/textures
+@dirrm share/openuniverse/conf
+@dirrm share/openuniverse/docs
+@dirrm share/openuniverse/