aboutsummaryrefslogtreecommitdiff
path: root/astro
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-01-26 13:09:31 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-01-26 13:09:31 +0000
commit0fdce07768510feff95750f45f3f3cfe4b90ec86 (patch)
tree8fcc5b24da645d40d52a35546b5d4d7487dbae08 /astro
parent5872ad083954a6c1fe444a0ae7a3cf506e817881 (diff)
downloadports-0fdce07768510feff95750f45f3f3cfe4b90ec86.tar.gz
ports-0fdce07768510feff95750f45f3f3cfe4b90ec86.zip
Notes
Diffstat (limited to 'astro')
-rw-r--r--astro/Makefile1
-rw-r--r--astro/stellarium/Makefile37
-rw-r--r--astro/stellarium/distinfo1
-rw-r--r--astro/stellarium/files/patch-configure71
-rw-r--r--astro/stellarium/pkg-descr9
-rw-r--r--astro/stellarium/pkg-plist132
6 files changed, 251 insertions, 0 deletions
diff --git a/astro/Makefile b/astro/Makefile
index 3cf4c4a32c7e..ed106b9bd38e 100644
--- a/astro/Makefile
+++ b/astro/Makefile
@@ -53,6 +53,7 @@
SUBDIR += sscalc
SUBDIR += starplot
SUBDIR += stars
+ SUBDIR += stellarium
SUBDIR += sunclock
SUBDIR += tkseti
SUBDIR += wmglobe
diff --git a/astro/stellarium/Makefile b/astro/stellarium/Makefile
new file mode 100644
index 000000000000..30a80443f20f
--- /dev/null
+++ b/astro/stellarium/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: stellarium
+# Date created: 26 Jan 2004
+# Whom: Jean-Yves Lefort <jylefort@brutele.be>
+#
+# $FreeBSD$
+#
+
+PORTNAME= stellarium
+PORTVERSION= 0.5.2
+CATEGORIES= astro
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= jylefort@brutele.be
+COMMENT= A 3D photo-realistic sky renderer
+
+USE_GL= yes
+USE_SDL= sdl
+USE_X_PREFIX= yes
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \
+ LDFLAGS="-L${X11BASE}/lib"
+
+.if !defined(NOPORTDOCS)
+post-install:
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} \
+ ${WRKSRC}/AUTHORS \
+ ${WRKSRC}/ChangeLog \
+ ${WRKSRC}/NEWS \
+ ${WRKSRC}/README \
+ ${WRKSRC}/TODO \
+ ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/astro/stellarium/distinfo b/astro/stellarium/distinfo
new file mode 100644
index 000000000000..8eb84d183619
--- /dev/null
+++ b/astro/stellarium/distinfo
@@ -0,0 +1 @@
+MD5 (stellarium-0.5.2.tar.gz) = 3765a5ba8cb0e328ccccc282e21c875e
diff --git a/astro/stellarium/files/patch-configure b/astro/stellarium/files/patch-configure
new file mode 100644
index 000000000000..ee031ad85cf9
--- /dev/null
+++ b/astro/stellarium/files/patch-configure
@@ -0,0 +1,71 @@
+--- configure.orig Mon Jan 26 06:37:00 2004
++++ configure Mon Jan 26 07:02:35 2004
+@@ -1020,21 +1020,7 @@
+ fi
+
+ echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
+-if test "$ac_test_CFLAGS" = set; then
+- CFLAGS="$ac_save_CFLAGS"
+-elif test $ac_cv_prog_cc_g = yes; then
+- if test "$GCC" = yes; then
+- CFLAGS="-g -O2"
+- else
+- CFLAGS="-g"
+- fi
+-else
+- if test "$GCC" = yes; then
+- CFLAGS="-O2"
+- else
+- CFLAGS=
+- fi
+-fi
++CFLAGS="$ac_save_CFLAGS"
+
+ for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
+ do
+@@ -1163,26 +1149,9 @@
+ fi
+
+ echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
+-if test "$ac_test_CXXFLAGS" = set; then
+- CXXFLAGS="$ac_save_CXXFLAGS"
+-elif test $ac_cv_prog_cxx_g = yes; then
+- if test "$GXX" = yes; then
+- CXXFLAGS="-g -O2"
+- else
+- CXXFLAGS="-g"
+- fi
+-else
+- if test "$GXX" = yes; then
+- CXXFLAGS="-O2"
+- else
+- CXXFLAGS=
+- fi
+-fi
++CXXFLAGS="$ac_save_CXXFLAGS"
+
+
+-CFLAGS="-s -Wall -O2 -ffast-math -fexpensive-optimizations"
+-CXXFLAGS="-s -Wall -O2 -ffast-math -fexpensive-optimizations"
+-LIBS="$LIBS"
+
+ echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
+ echo "configure:1189: checking how to run the C preprocessor" >&5
+@@ -2387,7 +2356,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+-#include "SDL/SDL.h"
++#include <SDL.h>
+
+ char*
+ my_strdup (char *str)
+@@ -2480,7 +2449,7 @@
+ #include "confdefs.h"
+
+ #include <stdio.h>
+-#include "SDL/SDL.h"
++#include <SDL.h>
+
+ int main() {
+ return 0;
diff --git a/astro/stellarium/pkg-descr b/astro/stellarium/pkg-descr
new file mode 100644
index 000000000000..d456b9be2a24
--- /dev/null
+++ b/astro/stellarium/pkg-descr
@@ -0,0 +1,9 @@
+Stellarium is a free software available for Windows, Linux/Unix and
+MacOSX. It renders 3D photo-realistic skies in real time. With
+stellarium, you really see what you can see with your eyes, binoculars
+or a small telescope.
+
+WWW: http://stellarium.free.fr/
+
+- Jean-Yves Lefort
+jylefort@brutele.be
diff --git a/astro/stellarium/pkg-plist b/astro/stellarium/pkg-plist
new file mode 100644
index 000000000000..105459a52043
--- /dev/null
+++ b/astro/stellarium/pkg-plist
@@ -0,0 +1,132 @@
+bin/stellarium
+share/stellarium/config/config.txt
+share/stellarium/config/config_no_3D_acceleration.txt
+share/stellarium/config/default_config.txt
+share/stellarium/config/default_location.txt
+share/stellarium/config/location.txt
+share/stellarium/config/location_examples.txt
+share/stellarium/data/commonname.fab
+share/stellarium/data/constellationship.fab
+share/stellarium/data/hipparcos.fab
+share/stellarium/data/icon.bmp
+share/stellarium/data/messier.fab
+share/stellarium/data/name.fab
+share/stellarium/data/spacefont.txt
+share/stellarium/data/stellarium.ico
+share/stellarium/textures/Bouton1.png
+share/stellarium/textures/Bouton10.png
+share/stellarium/textures/Bouton11.png
+share/stellarium/textures/Bouton12.png
+share/stellarium/textures/Bouton13.png
+share/stellarium/textures/Bouton14.png
+share/stellarium/textures/Bouton15.png
+share/stellarium/textures/Bouton16.png
+share/stellarium/textures/Bouton2.png
+share/stellarium/textures/Bouton3.png
+share/stellarium/textures/Bouton4.png
+share/stellarium/textures/Bouton5.png
+share/stellarium/textures/Bouton6.png
+share/stellarium/textures/Bouton7.png
+share/stellarium/textures/Bouton8.png
+share/stellarium/textures/Bouton9.png
+share/stellarium/textures/backmenu.png
+share/stellarium/textures/ciel.png
+share/stellarium/textures/e.png
+share/stellarium/textures/earthmap.png
+share/stellarium/textures/etoile16x16.png
+share/stellarium/textures/etoile16x162.png
+share/stellarium/textures/etoile16x16Aigrettes.png
+share/stellarium/textures/etoile32x32.png
+share/stellarium/textures/fog.png
+share/stellarium/textures/halo.png
+share/stellarium/textures/haloLune.png
+share/stellarium/textures/headermenu.png
+share/stellarium/textures/jupiter.png
+share/stellarium/textures/landscapes/mountain1.png
+share/stellarium/textures/landscapes/mountain2.png
+share/stellarium/textures/landscapes/mountain3.png
+share/stellarium/textures/landscapes/mountain4.png
+share/stellarium/textures/landscapes/mountain5.png
+share/stellarium/textures/landscapes/sea1.png
+share/stellarium/textures/landscapes/sea2.png
+share/stellarium/textures/landscapes/sea3.png
+share/stellarium/textures/landscapes/sea4.png
+share/stellarium/textures/landscapes/sea5.png
+share/stellarium/textures/landscapes/snowy1.png
+share/stellarium/textures/landscapes/snowy2.png
+share/stellarium/textures/landscapes/snowy3.png
+share/stellarium/textures/landscapes/snowy4.png
+share/stellarium/textures/landscapes/snowy5.png
+share/stellarium/textures/lune.png
+share/stellarium/textures/m1.png
+share/stellarium/textures/m100.png
+share/stellarium/textures/m101.png
+share/stellarium/textures/m104.png
+share/stellarium/textures/m105.png
+share/stellarium/textures/m13.png
+share/stellarium/textures/m15.png
+share/stellarium/textures/m2.png
+share/stellarium/textures/m20.png
+share/stellarium/textures/m27.png
+share/stellarium/textures/m3.png
+share/stellarium/textures/m31.png
+share/stellarium/textures/m33.png
+share/stellarium/textures/m36.png
+share/stellarium/textures/m37.png
+share/stellarium/textures/m38.png
+share/stellarium/textures/m4.png
+share/stellarium/textures/m42.png
+share/stellarium/textures/m43.png
+share/stellarium/textures/m44.png
+share/stellarium/textures/m45.png
+share/stellarium/textures/m46.png
+share/stellarium/textures/m5.png
+share/stellarium/textures/m51.png
+share/stellarium/textures/m57.png
+share/stellarium/textures/m63.png
+share/stellarium/textures/m65.png
+share/stellarium/textures/m66.png
+share/stellarium/textures/m76.png
+share/stellarium/textures/m8.png
+share/stellarium/textures/m81.png
+share/stellarium/textures/m82.png
+share/stellarium/textures/m83.png
+share/stellarium/textures/m84.png
+share/stellarium/textures/m87.png
+share/stellarium/textures/m92.png
+share/stellarium/textures/m95.png
+share/stellarium/textures/m96.png
+share/stellarium/textures/m97.png
+share/stellarium/textures/m98.png
+share/stellarium/textures/m99.png
+share/stellarium/textures/mars.png
+share/stellarium/textures/mercury.png
+share/stellarium/textures/n.png
+share/stellarium/textures/nadir.png
+share/stellarium/textures/neb.png
+share/stellarium/textures/neptune.png
+share/stellarium/textures/pointeur2.png
+share/stellarium/textures/pointeur3.png
+share/stellarium/textures/pointeur4.png
+share/stellarium/textures/pointeur5.png
+share/stellarium/textures/s.png
+share/stellarium/textures/saturn.png
+share/stellarium/textures/saturneAnneaux128x128.png
+share/stellarium/textures/spacefont.png
+share/stellarium/textures/sun.png
+share/stellarium/textures/uranus.png
+share/stellarium/textures/venus.png
+share/stellarium/textures/voielactee256x256.png
+share/stellarium/textures/w.png
+share/stellarium/textures/zenith.png
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+@dirrm share/stellarium/config
+@dirrm share/stellarium/data
+@dirrm share/stellarium/textures/landscapes
+@dirrm share/stellarium/textures
+@dirrm share/stellarium
+%%PORTDOCS%%@dirrm %%DOCSDIR%%