summaryrefslogtreecommitdiff
path: root/astro
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-11-16 14:17:23 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-11-16 14:17:23 +0000
commita2bf0540528c649d2996e65fd7605dad2b770fea (patch)
treee4664220f1a65454c54126635d4fd1a7450cb81d /astro
parentUpdated to 2.9003 (diff)
- Update to version 1.34
PR: 59327 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=94091
Diffstat (limited to 'astro')
-rw-r--r--astro/nightfall/Makefile26
-rw-r--r--astro/nightfall/distinfo2
-rw-r--r--astro/nightfall/files/patch-LightGLAnimate.c10
-rw-r--r--astro/nightfall/pkg-descr2
-rw-r--r--astro/nightfall/pkg-plist167
5 files changed, 106 insertions, 101 deletions
diff --git a/astro/nightfall/Makefile b/astro/nightfall/Makefile
index 9d51452b8dd3..394dbff5af01 100644
--- a/astro/nightfall/Makefile
+++ b/astro/nightfall/Makefile
@@ -6,15 +6,14 @@
#
PORTNAME= nightfall
-PORTVERSION= 1.32
+PORTVERSION= 1.34
CATEGORIES= astro
-MASTER_SITES= http://www.lsw.uni-heidelberg.de/~rwichman/
+MASTER_SITES= http://www.lsw.uni-heidelberg.de/users/rwichman/
MAINTAINER= ports@FreeBSD.org
COMMENT= An interactive binary star application
-LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
- gtkgl.5:${PORTSDIR}/x11-toolkits/gtkglarea
+LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg
USE_PERL5= yes
USE_X_PREFIX= yes
@@ -34,10 +33,9 @@ MAN1= nightfall.1
.if ${HAVE_GNOME:Mgnomelibs}!=""
PKGNAMESUFFIX= -gnome
USE_GNOME+= gnomelibs gnomeprefix
-PLIST_SUB+= NFDATADIR="share/gnome"
+DATADIR= ${PREFIX}/share/gnome/${PORTNAME}
.else
CONFIGURE_ARGS+= --disable-gnome
-PLIST_SUB+= NFDATADIR="share"
.endif
.if defined(WITHOUT_PGPLOT)
@@ -49,6 +47,22 @@ CONFIGURE_ARGS+= --with-pgplot-include=${LOCALBASE}/include \
--with-pgplot-lib=${LOCALBASE}/lib
.endif
+.if defined(WITHOUT_OPENGL)
+CONFIGURE_ARGS+= --disable-opengl
+.else
+LIB_DEPENDS+= glut.3:${PORTSDIR}/graphics/libglut \
+ gtkgl.5:${PORTSDIR}/x11-toolkits/gtkglarea
+CONFIGURE_ARGS+= --with-lib-GL
+.endif
+
+pre-everything::
+ @${ECHO_MSG} "Nightfall has the following tunable option(s):"
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} " WITHOUT_GNOME=gnomelibs Turns off Gnome support"
+ @${ECHO_MSG} " WITHOUT_PGPLOT=yes Turns off PGPLOT support"
+ @${ECHO_MSG} " WITHOUT_OPENGL=yes Turns off OpenGL support"
+ @${ECHO_MSG} ""
+
post-patch:
@${REINPLACE_CMD} -e 's|CFLAGS -O3|CFLAGS|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|(GNOME_DATADIR)/gnome/|(GNOME_DATADIR)/|g' \
diff --git a/astro/nightfall/distinfo b/astro/nightfall/distinfo
index 9dc294ebf980..97acf73cfb75 100644
--- a/astro/nightfall/distinfo
+++ b/astro/nightfall/distinfo
@@ -1 +1 @@
-MD5 (nightfall-1.32.tar.gz) = bd5e2c42f1639dc338250ab80fc8e0f5
+MD5 (nightfall-1.34.tar.gz) = a2557c2c40cd94144272ca1b8a9317aa
diff --git a/astro/nightfall/files/patch-LightGLAnimate.c b/astro/nightfall/files/patch-LightGLAnimate.c
deleted file mode 100644
index 1f7ca6c063a0..000000000000
--- a/astro/nightfall/files/patch-LightGLAnimate.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- LightGLAnimate.c.orig Fri Dec 27 23:39:13 2002
-+++ LightGLAnimate.c Sat Jun 14 20:17:07 2003
-@@ -25,6 +25,7 @@
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
-+#include <sys/types.h>
- #include "Light.h"
-
- #ifdef _WITH_OPENGL
diff --git a/astro/nightfall/pkg-descr b/astro/nightfall/pkg-descr
index a590ed142239..e93718cc0658 100644
--- a/astro/nightfall/pkg-descr
+++ b/astro/nightfall/pkg-descr
@@ -5,7 +5,7 @@ determine the best-fit model for a given set of observational data of
an eclipsing binary star system.
It is, however, not able to fry your breakfast egg on your harddisk ;-)
-WWW: http://www.lsw.uni-heidelberg.de/~rwichman/Nightfall.html
+WWW: http://www.lsw.uni-heidelberg.de/users/rwichman/Nightfall.html
- Christian Brueffer
chris@unixpages.org
diff --git a/astro/nightfall/pkg-plist b/astro/nightfall/pkg-plist
index 0c7ddbbc59ac..c98c60e38fe6 100644
--- a/astro/nightfall/pkg-plist
+++ b/astro/nightfall/pkg-plist
@@ -8,89 +8,90 @@ bin/nightfall
%%GNOME:%%share/gnome/help/nightfall/de/topic.dat
%%GNOME:%%share/gnome/pixmaps/gnome-nightfall.png
share/locale/de/LC_MESSAGES/nightfall.mo
-%%NFDATADIR%%/nightfall/cfg/51_peg.cfg
-%%NFDATADIR%%/nightfall/cfg/bh_vir.cfg
-%%NFDATADIR%%/nightfall/cfg/dd_mon.cfg
-%%NFDATADIR%%/nightfall/cfg/er_vul.cfg
-%%NFDATADIR%%/nightfall/cfg/lz_cen.cfg
-%%NFDATADIR%%/nightfall/cfg/mr_cyg.cfg
-%%NFDATADIR%%/nightfall/cfg/ty_boo.cfg
-%%NFDATADIR%%/nightfall/cfg/v541_cyg.cfg
-%%NFDATADIR%%/nightfall/data/51_pegR1.dat
-%%NFDATADIR%%/nightfall/data/bh_virB.dat
-%%NFDATADIR%%/nightfall/data/bh_virR1.dat
-%%NFDATADIR%%/nightfall/data/bh_virR2.dat
-%%NFDATADIR%%/nightfall/data/bh_virV.dat
-%%NFDATADIR%%/nightfall/data/bh_virb.dat
-%%NFDATADIR%%/nightfall/data/bh_viru.dat
-%%NFDATADIR%%/nightfall/data/bh_virv.dat
-%%NFDATADIR%%/nightfall/data/bh_viry.dat
-%%NFDATADIR%%/nightfall/data/dd_monB.dat
-%%NFDATADIR%%/nightfall/data/dd_monR2.dat
-%%NFDATADIR%%/nightfall/data/dd_monV.dat
-%%NFDATADIR%%/nightfall/data/er_vulB.dat
-%%NFDATADIR%%/nightfall/data/er_vulI.dat
-%%NFDATADIR%%/nightfall/data/er_vulR.dat
-%%NFDATADIR%%/nightfall/data/er_vulR1.dat
-%%NFDATADIR%%/nightfall/data/er_vulR2.dat
-%%NFDATADIR%%/nightfall/data/er_vulU.dat
-%%NFDATADIR%%/nightfall/data/er_vulV.dat
-%%NFDATADIR%%/nightfall/data/lz_cenR1.dat
-%%NFDATADIR%%/nightfall/data/lz_cenR2.dat
-%%NFDATADIR%%/nightfall/data/lz_cenb.dat
-%%NFDATADIR%%/nightfall/data/lz_cenu.dat
-%%NFDATADIR%%/nightfall/data/lz_cenv.dat
-%%NFDATADIR%%/nightfall/data/lz_ceny.dat
-%%NFDATADIR%%/nightfall/data/mr_cygB.dat
-%%NFDATADIR%%/nightfall/data/mr_cygR1.dat
-%%NFDATADIR%%/nightfall/data/mr_cygR2.dat
-%%NFDATADIR%%/nightfall/data/mr_cygU.dat
-%%NFDATADIR%%/nightfall/data/mr_cygV.dat
-%%NFDATADIR%%/nightfall/data/ty_booB.dat
-%%NFDATADIR%%/nightfall/data/ty_booR1.dat
-%%NFDATADIR%%/nightfall/data/ty_booR2.dat
-%%NFDATADIR%%/nightfall/data/ty_booV.dat
-%%NFDATADIR%%/nightfall/data/v541_cygR1.dat
-%%NFDATADIR%%/nightfall/data/v541_cygR2.dat
-%%NFDATADIR%%/nightfall/data/v541_cygV.dat
-%%NFDATADIR%%/nightfall/doc/C/help0.txt
-%%NFDATADIR%%/nightfall/doc/C/help1.txt
-%%NFDATADIR%%/nightfall/doc/C/help2.txt
-%%NFDATADIR%%/nightfall/doc/C/help3.txt
-%%NFDATADIR%%/nightfall/doc/C/help4.txt
-%%NFDATADIR%%/nightfall/doc/C/help5.txt
-%%NFDATADIR%%/nightfall/doc/C/help6.txt
-%%NFDATADIR%%/nightfall/doc/C/help7.txt
-%%NFDATADIR%%/nightfall/doc/de/help0.txt
-%%NFDATADIR%%/nightfall/doc/de/help1.txt
-%%NFDATADIR%%/nightfall/doc/de/help2.txt
-%%NFDATADIR%%/nightfall/doc/de/help3.txt
-%%NFDATADIR%%/nightfall/doc/de/help4.txt
-%%NFDATADIR%%/nightfall/doc/de/help5.txt
-%%NFDATADIR%%/nightfall/doc/de/help6.txt
-%%NFDATADIR%%/nightfall/doc/de/help7.txt
-%%NFDATADIR%%/nightfall/pixmaps/checker_256.jpg
-%%NFDATADIR%%/nightfall/pixmaps/disk_128.jpg
-%%NFDATADIR%%/nightfall/pixmaps/disk_256.jpg
-%%NFDATADIR%%/nightfall/pixmaps/gnome-nightfall.png
-%%NFDATADIR%%/nightfall/pixmaps/manim.xpm
-%%NFDATADIR%%/nightfall/pixmaps/mcomp.xpm
-%%NFDATADIR%%/nightfall/pixmaps/mhelp.xpm
-%%NFDATADIR%%/nightfall/pixmaps/mplot.xpm
-%%NFDATADIR%%/nightfall/pixmaps/nf_logo.xpm
-%%NFDATADIR%%/nightfall/pixmaps/star_128.jpg
-%%NFDATADIR%%/nightfall/pixmaps/star_256.jpg
-%%NFDATADIR%%/nightfall/pixmaps/starp_128.jpg
-%%NFDATADIR%%/nightfall/pixmaps/starp_256.jpg
-%%NFDATADIR%%/nightfall/pixmaps/stars_128.jpg
-%%NFDATADIR%%/nightfall/pixmaps/stars_256.jpg
-@dirrm %%NFDATADIR%%/nightfall/pixmaps
-@dirrm %%NFDATADIR%%/nightfall/doc/de
-@dirrm %%NFDATADIR%%/nightfall/doc/C
-@dirrm %%NFDATADIR%%/nightfall/doc
-@dirrm %%NFDATADIR%%/nightfall/data
-@dirrm %%NFDATADIR%%/nightfall/cfg
-@dirrm %%NFDATADIR%%/nightfall
+share/locale/it/LC_MESSAGES/nightfall.mo
+%%DATADIR%%/cfg/51_peg.cfg
+%%DATADIR%%/cfg/bh_vir.cfg
+%%DATADIR%%/cfg/dd_mon.cfg
+%%DATADIR%%/cfg/er_vul.cfg
+%%DATADIR%%/cfg/lz_cen.cfg
+%%DATADIR%%/cfg/mr_cyg.cfg
+%%DATADIR%%/cfg/ty_boo.cfg
+%%DATADIR%%/cfg/v541_cyg.cfg
+%%DATADIR%%/data/51_pegR1.dat
+%%DATADIR%%/data/bh_virB.dat
+%%DATADIR%%/data/bh_virR1.dat
+%%DATADIR%%/data/bh_virR2.dat
+%%DATADIR%%/data/bh_virV.dat
+%%DATADIR%%/data/bh_virb.dat
+%%DATADIR%%/data/bh_viru.dat
+%%DATADIR%%/data/bh_virv.dat
+%%DATADIR%%/data/bh_viry.dat
+%%DATADIR%%/data/dd_monB.dat
+%%DATADIR%%/data/dd_monR2.dat
+%%DATADIR%%/data/dd_monV.dat
+%%DATADIR%%/data/er_vulB.dat
+%%DATADIR%%/data/er_vulI.dat
+%%DATADIR%%/data/er_vulR.dat
+%%DATADIR%%/data/er_vulR1.dat
+%%DATADIR%%/data/er_vulR2.dat
+%%DATADIR%%/data/er_vulU.dat
+%%DATADIR%%/data/er_vulV.dat
+%%DATADIR%%/data/lz_cenR1.dat
+%%DATADIR%%/data/lz_cenR2.dat
+%%DATADIR%%/data/lz_cenb.dat
+%%DATADIR%%/data/lz_cenu.dat
+%%DATADIR%%/data/lz_cenv.dat
+%%DATADIR%%/data/lz_ceny.dat
+%%DATADIR%%/data/mr_cygB.dat
+%%DATADIR%%/data/mr_cygR1.dat
+%%DATADIR%%/data/mr_cygR2.dat
+%%DATADIR%%/data/mr_cygU.dat
+%%DATADIR%%/data/mr_cygV.dat
+%%DATADIR%%/data/ty_booB.dat
+%%DATADIR%%/data/ty_booR1.dat
+%%DATADIR%%/data/ty_booR2.dat
+%%DATADIR%%/data/ty_booV.dat
+%%DATADIR%%/data/v541_cygR1.dat
+%%DATADIR%%/data/v541_cygR2.dat
+%%DATADIR%%/data/v541_cygV.dat
+%%DATADIR%%/doc/C/help0.txt
+%%DATADIR%%/doc/C/help1.txt
+%%DATADIR%%/doc/C/help2.txt
+%%DATADIR%%/doc/C/help3.txt
+%%DATADIR%%/doc/C/help4.txt
+%%DATADIR%%/doc/C/help5.txt
+%%DATADIR%%/doc/C/help6.txt
+%%DATADIR%%/doc/C/help7.txt
+%%DATADIR%%/doc/de/help0.txt
+%%DATADIR%%/doc/de/help1.txt
+%%DATADIR%%/doc/de/help2.txt
+%%DATADIR%%/doc/de/help3.txt
+%%DATADIR%%/doc/de/help4.txt
+%%DATADIR%%/doc/de/help5.txt
+%%DATADIR%%/doc/de/help6.txt
+%%DATADIR%%/doc/de/help7.txt
+%%DATADIR%%/pixmaps/checker_256.jpg
+%%DATADIR%%/pixmaps/disk_128.jpg
+%%DATADIR%%/pixmaps/disk_256.jpg
+%%DATADIR%%/pixmaps/gnome-nightfall.png
+%%DATADIR%%/pixmaps/manim.xpm
+%%DATADIR%%/pixmaps/mcomp.xpm
+%%DATADIR%%/pixmaps/mhelp.xpm
+%%DATADIR%%/pixmaps/mplot.xpm
+%%DATADIR%%/pixmaps/nf_logo.xpm
+%%DATADIR%%/pixmaps/star_128.jpg
+%%DATADIR%%/pixmaps/star_256.jpg
+%%DATADIR%%/pixmaps/starp_128.jpg
+%%DATADIR%%/pixmaps/starp_256.jpg
+%%DATADIR%%/pixmaps/stars_128.jpg
+%%DATADIR%%/pixmaps/stars_256.jpg
+@dirrm %%DATADIR%%/pixmaps
+@dirrm %%DATADIR%%/doc/de
+@dirrm %%DATADIR%%/doc/C
+@dirrm %%DATADIR%%/doc
+@dirrm %%DATADIR%%/data
+@dirrm %%DATADIR%%/cfg
+@dirrm %%DATADIR%%
%%GNOME:%%@dirrm share/gnome/help/nightfall/de
%%GNOME:%%@dirrm share/gnome/help/nightfall/C
%%GNOME:%%@dirrm share/gnome/help/nightfall