mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Add stellarium 0.5.2,
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. PR: ports/61927 Submitted by: Jean-Yves Lefort <jylefort@brutele.be>
This commit is contained in:
parent
5872ad0839
commit
0fdce07768
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=99180
@ -53,6 +53,7 @@
|
||||
SUBDIR += sscalc
|
||||
SUBDIR += starplot
|
||||
SUBDIR += stars
|
||||
SUBDIR += stellarium
|
||||
SUBDIR += sunclock
|
||||
SUBDIR += tkseti
|
||||
SUBDIR += wmglobe
|
||||
|
37
astro/stellarium/Makefile
Normal file
37
astro/stellarium/Makefile
Normal file
@ -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>
|
1
astro/stellarium/distinfo
Normal file
1
astro/stellarium/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (stellarium-0.5.2.tar.gz) = 3765a5ba8cb0e328ccccc282e21c875e
|
71
astro/stellarium/files/patch-configure
Normal file
71
astro/stellarium/files/patch-configure
Normal file
@ -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;
|
9
astro/stellarium/pkg-descr
Normal file
9
astro/stellarium/pkg-descr
Normal file
@ -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
|
132
astro/stellarium/pkg-plist
Normal file
132
astro/stellarium/pkg-plist
Normal file
@ -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%%
|
Loading…
Reference in New Issue
Block a user