summaryrefslogtreecommitdiff
path: root/x11/ssystem
diff options
context:
space:
mode:
authorfredb <fredb>2001-03-26 07:08:59 +0000
committerfredb <fredb>2001-03-26 07:08:59 +0000
commitb16d86bfae0eda5a125eb3061c7e50e6f98f0079 (patch)
treee845b4b0438541927607de69467f36dfa5eb1d58 /x11/ssystem
parent0dcb826938bc6d8e106b8528e02c4351a16a1fd7 (diff)
downloadpkgsrc-b16d86bfae0eda5a125eb3061c7e50e6f98f0079.tar.gz
Initial import of ssystem, a Solar System Flyby Simulator, (and most
excellent screensaver). It's possible to download and install high-res maps of selected moons and planets, but including those in the package would make it weigh in a little heavy, so we just install the READMEs, and leave it to the user to download the jpgs, if he wants them.
Diffstat (limited to 'x11/ssystem')
-rw-r--r--x11/ssystem/Makefile32
-rw-r--r--x11/ssystem/files/md53
-rw-r--r--x11/ssystem/files/patch-sum3
-rw-r--r--x11/ssystem/patches/patch-aa15
-rw-r--r--x11/ssystem/pkg/DESCR3
-rw-r--r--x11/ssystem/pkg/PLIST36
6 files changed, 92 insertions, 0 deletions
diff --git a/x11/ssystem/Makefile b/x11/ssystem/Makefile
new file mode 100644
index 00000000000..fd70a684edd
--- /dev/null
+++ b/x11/ssystem/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/03/26 07:08:59 fredb Exp $
+#
+
+DISTNAME= ssystem-1.6
+CATEGORIES= x11 graphics
+MASTER_SITES= ${HOMEPAGE} # ${HOMEPAGE}/hires/
+
+MAINTAINER= fredb@netbsd.org
+HOMEPAGE= http://www1.las.es/~amil/ssystem/
+COMMENT= Solar System Flyby Simulator
+
+BUILD_DEPENDS+= bison:../../devel/bison
+
+USE_MESA= yes
+USE_X11BASE= yes
+
+MAKEFILE= Makefile.FreeBSD
+
+DATA_FILES= *.jpg *.dat ssystem.conf
+DOC_FILES= LICENSE README
+
+do-install:
+ cd ${WRKSRC} && \
+ ${INSTALL_PROGRAM} ssystem ${X11BASE}/bin; \
+ ${INSTALL_DATA_DIR} ${X11BASE}/share/ssystem; \
+ ${INSTALL_DATA_DIR} ${X11BASE}/share/doc/ssystem; \
+ ${INSTALL_DATA_DIR} ${X11BASE}/share/ssystem/hires; \
+ ${INSTALL_DATA} ${DATA_FILES} ${X11BASE}/share/ssystem; \
+ ${INSTALL_DATA} ${DOC_FILES} ${X11BASE}/share/doc/ssystem; \
+ ${INSTALL_DATA} hires/README ${X11BASE}/share/ssystem/hires
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/ssystem/files/md5 b/x11/ssystem/files/md5
new file mode 100644
index 00000000000..64a6f68f974
--- /dev/null
+++ b/x11/ssystem/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2001/03/26 07:08:59 fredb Exp $
+
+SHA1 (ssystem-1.6.tar.gz) = b22f766159c8e9c861c23aa6ca47f374294a847a
diff --git a/x11/ssystem/files/patch-sum b/x11/ssystem/files/patch-sum
new file mode 100644
index 00000000000..18e530d803d
--- /dev/null
+++ b/x11/ssystem/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 2001/03/26 07:08:59 fredb Exp $
+
+SHA1 (patch-aa) = f44692941d5b001d6b3017a5a8af8c0e0aab00b7
diff --git a/x11/ssystem/patches/patch-aa b/x11/ssystem/patches/patch-aa
new file mode 100644
index 00000000000..ed7ad52d49e
--- /dev/null
+++ b/x11/ssystem/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/03/26 07:08:59 fredb Exp $
+
+--- Makefile.FreeBSD.orig Thu Feb 25 05:48:53 1999
++++ Makefile.FreeBSD Sun Mar 25 23:28:12 2001
+@@ -28,8 +28,8 @@
+
+ CFLAGS+= -I$(X11BASE)/include -I$(MESADIR)/include -I$(JPEGDIR)/include -DSDATADIR=\"${SDATADIR}\"
+
+-LDFLAGS= -L$(X11BASE)/lib -L$(MESADIR)/lib -L${JPEGDIR}/lib \
+- -ljpeg -lglut -lMesaGLU -lMesaGL -lXext -lXmu -lX11 -lXi -lm
++LDFLAGS= -L$(X11BASE)/lib -Wl,-R$(X11BASE)/lib -L${JPEGDIR}/lib -Wl,-R${JPEGDIR}/lib \
++ -ljpeg -lglut -lGLU -lGL -lXext -lXmu -lX11 -lXi -lm
+
+ # FreeBSD specific
+ .ifdef PORTOBJFORMAT
diff --git a/x11/ssystem/pkg/DESCR b/x11/ssystem/pkg/DESCR
new file mode 100644
index 00000000000..276189f7f29
--- /dev/null
+++ b/x11/ssystem/pkg/DESCR
@@ -0,0 +1,3 @@
+Ssystem is an OpenGL Solar System simulator. Visit the Sun, the
+nine planets and a few major satellites (catalog based background
+stars are also supported) with four camera modes.
diff --git a/x11/ssystem/pkg/PLIST b/x11/ssystem/pkg/PLIST
new file mode 100644
index 00000000000..4de33377312
--- /dev/null
+++ b/x11/ssystem/pkg/PLIST
@@ -0,0 +1,36 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/03/26 07:08:59 fredb Exp $
+bin/ssystem
+share/doc/ssystem/LICENSE
+share/doc/ssystem/README
+share/ssystem/hires/README
+share/ssystem/ssystem.conf
+share/ssystem/stars.dat
+share/ssystem/vsop87.dat
+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/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
+@unexec rmdir %D/share/ssystem/hires || true
+@unexec rmdir %D/share/ssystem || true