Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Aug 1998 09:27:23 +0400 (MSD)
From:      Andrey Zakhvatov <andy@icc.surw.chel.su>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/7495: New port: ssystem-1.3
Message-ID:  <199808050527.JAA07806@icc.surw.chel.su>

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

>Number:         7495
>Category:       ports
>Synopsis:       New port: ssystem-1.3
>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 Aug  4 22:30:01 PDT 1998
>Last-Modified:
>Originator:     Andrey Zakhvatov
>Organization:
South Ural Railway ICC
>Release:        FreeBSD 2.2.2-RELEASE i386
>Environment:

>Description:

   This is a port of OpenGL Solar System simulator for X Window System.
ssystem is an OpenGL Solar System simulator. Only the Sun , the nine
planets and a few major satellites are included. Background stars are
also included.


# 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:
#
#	ssystem-1.3
#	ssystem-1.3/Makefile
#	ssystem-1.3/files
#	ssystem-1.3/files/md5
#	ssystem-1.3/patches
#	ssystem-1.3/patches/patch-ab
#	ssystem-1.3/patches/patch-aa
#	ssystem-1.3/pkg
#	ssystem-1.3/pkg/PLIST
#	ssystem-1.3/pkg/COMMENT
#	ssystem-1.3/pkg/DESCR
#
echo c - ssystem-1.3
mkdir -p ssystem-1.3 > /dev/null 2>&1
echo x - ssystem-1.3/Makefile
sed 's/^X//' >ssystem-1.3/Makefile << 'END-of-ssystem-1.3/Makefile'
X# New ports collection makefile for:	ssystem
X# Version required:			1.3
X# Date created:				4 August 1998
X# Whom:					Andrey Zakhvatov
X#
X# $Id$
X#
X
XDISTNAME=	ssystem-1.3
XCATEGORIES=	astro x11
XMASTER_SITES=	http://www1.las.es/~amil/ssystem/
X
XMAINTAINER=	andy@icc.surw.chel.su
X
XLIB_DEPENDS=	jpeg\\.9\\.:${PORTSDIR}/graphics/jpeg \
X		MesaGL\\.13\\.:${PORTSDIR}/graphics/Mesa \
X		MesaGLU\\.13\\.:${PORTSDIR}/graphics/Mesa \
X		glut\\.3\\.:${PORTSDIR}/graphics/Mesa
X
XUSE_X11=	yes
X
Xdo-install:
X	@ ${INSTALL_PROGRAM} ${WRKSRC}/ssystem ${PREFIX}/bin
X	@ ${MKDIR} ${PREFIX}/share/ssystem
X	@ ${INSTALL_DATA} ${WRKSRC}/*.jpg ${PREFIX}/share/ssystem
X	@ ${INSTALL_DATA} ${WRKSRC}/Stars.dat ${PREFIX}/share/ssystem
X.if !defined(NOPORTDOCS)
X	@ ${MKDIR} ${PREFIX}/share/doc/ssystem
X.for file in CHANGES LEEME LICENSE README TODO
X	@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/ssystem
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-ssystem-1.3/Makefile
echo c - ssystem-1.3/files
mkdir -p ssystem-1.3/files > /dev/null 2>&1
echo x - ssystem-1.3/files/md5
sed 's/^X//' >ssystem-1.3/files/md5 << 'END-of-ssystem-1.3/files/md5'
XMD5 (ssystem-1.3.tar.gz) = e43299591e5851cd224cf612e170d1c2
END-of-ssystem-1.3/files/md5
echo c - ssystem-1.3/patches
mkdir -p ssystem-1.3/patches > /dev/null 2>&1
echo x - ssystem-1.3/patches/patch-ab
sed 's/^X//' >ssystem-1.3/patches/patch-ab << 'END-of-ssystem-1.3/patches/patch-ab'
X--- init.c	Sat Jul 25 23:16:42 1998
X+++ /home/andy/tmp/wrk/init.c	Mon Aug  3 18:05:11 1998
X@@ -57,7 +57,7 @@
X GLfloat stars[NUMSTARS][4];
X double days,timefactor=1/(24.0*60.0); /* iterarion = 1 minute */
X int SLICES=12,STACKS=12;
X-char texturepath[100]=".";
X+char texturepath[100]=DATADIR;
X static void InitSun(void),InitMercury(void),InitVenus(void),InitEarth(void),
X 	InitMars(void),InitJupiter(void),InitSaturn(void),InitUranus(void),
X 	InitNeptune(void),InitPluto(void),InitStars(void);
END-of-ssystem-1.3/patches/patch-ab
echo x - ssystem-1.3/patches/patch-aa
sed 's/^X//' >ssystem-1.3/patches/patch-aa << 'END-of-ssystem-1.3/patches/patch-aa'
X--- Makefile	Sat Jul 25 23:16:42 1998
X+++ /home/andy/tmp/wrk/Makefile	Mon Aug  3 18:05:04 1998
X@@ -4,15 +4,18 @@
X #	Remove -DLINUXJOY if your linux kernel doesn't support joysticks or
X #	you're running other OS
X 
X-CC= gcc
X+#CC= gcc
X 
X # Your Mesa base directory
X-MESADIR=/root/Mesa-3.0
X+MESADIR=${X11BASE}
X 
X-CFLAGS = -Wall -O6 -I$(MESADIR)/include -ffast-math -fPIC -fomit-frame-pointer \
X-         -mpentium -funroll-all-loops -DLINUXJOY
X+# Data directory
X+PREFIX?=${X11BASE}
X+DATADIR=${PREFIX}/share/ssystem
X 
X-LDFLAGS= -lX11 -L/usr/X11R6/lib -L$(MESADIR)/lib \
X+CFLAGS+= -I$(MESADIR)/include -I/usr/local/include -DDATADIR=\"${DATADIR}\"
X+
X+LDFLAGS= -lX11 -L${X11BASE}/lib -L$(MESADIR)/lib -L/usr/local/lib \
X 	  -ljpeg -lm -lXmu -lXi -lXext -lMesaGL -lMesaGLU -lglut
X 
X OBJ = ssystem.o init.o positions.o joystick.o
END-of-ssystem-1.3/patches/patch-aa
echo c - ssystem-1.3/pkg
mkdir -p ssystem-1.3/pkg > /dev/null 2>&1
echo x - ssystem-1.3/pkg/PLIST
sed 's/^X//' >ssystem-1.3/pkg/PLIST << 'END-of-ssystem-1.3/pkg/PLIST'
Xbin/ssystem
Xshare/doc/ssystem/CHANGES
Xshare/doc/ssystem/LEEME
Xshare/doc/ssystem/LICENSE
Xshare/doc/ssystem/README
Xshare/doc/ssystem/TODO
Xshare/ssystem/Stars.dat
Xshare/ssystem/callisto.jpg
Xshare/ssystem/charon.jpg
Xshare/ssystem/dione.jpg
Xshare/ssystem/earth.jpg
Xshare/ssystem/europa.jpg
Xshare/ssystem/ganymede.jpg
Xshare/ssystem/io.jpg
Xshare/ssystem/jupiter.jpg
Xshare/ssystem/mars.jpg
Xshare/ssystem/mercury.jpg
Xshare/ssystem/moon.jpg
Xshare/ssystem/neptune.jpg
Xshare/ssystem/pluto.jpg
Xshare/ssystem/rhea.jpg
Xshare/ssystem/satrings.jpg
Xshare/ssystem/saturn.jpg
Xshare/ssystem/sun.jpg
Xshare/ssystem/tethys.jpg
Xshare/ssystem/titan.jpg
Xshare/ssystem/triton.jpg
Xshare/ssystem/uranus.jpg
Xshare/ssystem/venus.jpg
X@dirrm share/doc/ssystem
X@dirrm share/ssystem
END-of-ssystem-1.3/pkg/PLIST
echo x - ssystem-1.3/pkg/COMMENT
sed 's/^X//' >ssystem-1.3/pkg/COMMENT << 'END-of-ssystem-1.3/pkg/COMMENT'
XOpenGL Solar System simulator for X Window System.
END-of-ssystem-1.3/pkg/COMMENT
echo x - ssystem-1.3/pkg/DESCR
sed 's/^X//' >ssystem-1.3/pkg/DESCR << 'END-of-ssystem-1.3/pkg/DESCR'
Xssystem is an OpenGL Solar System simulator. Only the Sun , the nine
Xplanets and a few major satellites are included. Background stars are
Xalso included.
X
Xhttp://www1.las.es/~amil/ssystem
END-of-ssystem-1.3/pkg/DESCR
exit


>How-To-Repeat:

>Fix:

   Please, check and commit this port.

>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?199808050527.JAA07806>