diff options
author | daichi <daichi@FreeBSD.org> | 2003-07-01 11:47:08 +0000 |
---|---|---|
committer | daichi <daichi@FreeBSD.org> | 2003-07-01 11:47:08 +0000 |
commit | b7dd0f9fbbb7977d0a180f2d38868276cb64323e (patch) | |
tree | 34b9ee1a98a87f8447dd50dd1d35e7a95ef6d062 /astro/nightfall | |
parent | 005404c8f99cf258027d1ff4fb4afa694ce494e8 (diff) | |
download | FreeBSD-ports-b7dd0f9fbbb7977d0a180f2d38868276cb64323e.zip FreeBSD-ports-b7dd0f9fbbb7977d0a180f2d38868276cb64323e.tar.gz |
update astro/nightfall: 1.1 --> 1.32
PR: 53336
Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'astro/nightfall')
-rw-r--r-- | astro/nightfall/Makefile | 66 | ||||
-rw-r--r-- | astro/nightfall/distinfo | 2 | ||||
-rw-r--r-- | astro/nightfall/files/patch-LightGLAnimate.c | 10 | ||||
-rw-r--r-- | astro/nightfall/pkg-plist | 165 |
4 files changed, 147 insertions, 96 deletions
diff --git a/astro/nightfall/Makefile b/astro/nightfall/Makefile index 9d60088..9d51452 100644 --- a/astro/nightfall/Makefile +++ b/astro/nightfall/Makefile @@ -6,36 +6,52 @@ # PORTNAME= nightfall -PORTVERSION= 1.1 +PORTVERSION= 1.32 CATEGORIES= astro -MASTER_SITES= http://www.lsw.uni-heidelberg.de/~rwichman/ \ - http://unixpages.org/distfiles/ +MASTER_SITES= http://www.lsw.uni-heidelberg.de/~rwichman/ MAINTAINER= ports@FreeBSD.org COMMENT= An interactive binary star application -.if !defined(WITHOUT_GTK) -USE_GNOME= gtk12 +LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ + gtkgl.5:${PORTSDIR}/x11-toolkits/gtkglarea + +USE_PERL5= yes +USE_X_PREFIX= yes +WANT_GNOME= yes +USE_GNOME= gtk12 gnometarget +USE_REINPLACE= yes +USE_GMAKE= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS= --with-locale-prefix=${PREFIX}/share/locale + +MAN1= nightfall.1 + +.include <bsd.port.pre.mk> + +.if ${HAVE_GNOME:Mgnomelibs}!="" +PKGNAMESUFFIX= -gnome +USE_GNOME+= gnomelibs gnomeprefix +PLIST_SUB+= NFDATADIR="share/gnome" +.else +CONFIGURE_ARGS+= --disable-gnome +PLIST_SUB+= NFDATADIR="share" .endif -.if !defined(WITHOUT_GNUPLOT) -BUILD_DEPENDS+= gnuplot:${PORTSDIR}/math/gnuplot -RUN_DEPENDS+= gnuplot:${PORTSDIR}/math/gnuplot + +.if defined(WITHOUT_PGPLOT) +RUN_DEPENDS+= gnuplot:${PORTSDIR}/math/gnuplot +CONFIGURE_ARGS+= --with-gnuplot +.else +LIB_DEPENDS+= pgplot.5:${PORTSDIR}/graphics/pgplot +CONFIGURE_ARGS+= --with-pgplot-include=${LOCALBASE}/include \ + --with-pgplot-lib=${LOCALBASE}/lib .endif -USE_GMAKE= yes -GNU_CONFIGURE= yes -CONFIGURE_ARGS= \ - --with-doc-prefix=${DOCSDIR} \ - --with-data-prefix=${PREFIX}/share/nightfall - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/nightfall ${PREFIX}/bin/nightfall - ${MKDIR} ${PREFIX}/share/nightfall/data - ${INSTALL_DATA} ${WRKSRC}/data/* ${PREFIX}/share/nightfall/data - ${MKDIR} ${DOCSDIR}/C - ${MKDIR} ${DOCSDIR}/de - ${INSTALL_DATA} ${WRKSRC}/doc/C/* ${DOCSDIR}/C - ${INSTALL_DATA} ${WRKSRC}/doc/de/* ${DOCSDIR}/de - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} - -.include <bsd.port.mk> +post-patch: + @${REINPLACE_CMD} -e 's|CFLAGS -O3|CFLAGS|g' ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|(GNOME_DATADIR)/gnome/|(GNOME_DATADIR)/|g' \ + ${WRKSRC}/Makefile.in + +.include <bsd.port.post.mk> diff --git a/astro/nightfall/distinfo b/astro/nightfall/distinfo index 02344e4..9dc294e 100644 --- a/astro/nightfall/distinfo +++ b/astro/nightfall/distinfo @@ -1 +1 @@ -MD5 (nightfall-1.1.tar.gz) = b4bbcf560e2a10c91eb159b9fd990a3a +MD5 (nightfall-1.32.tar.gz) = bd5e2c42f1639dc338250ab80fc8e0f5 diff --git a/astro/nightfall/files/patch-LightGLAnimate.c b/astro/nightfall/files/patch-LightGLAnimate.c new file mode 100644 index 0000000..1f7ca6c --- /dev/null +++ b/astro/nightfall/files/patch-LightGLAnimate.c @@ -0,0 +1,10 @@ +--- 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-plist b/astro/nightfall/pkg-plist index 0accc40..0c7ddbb 100644 --- a/astro/nightfall/pkg-plist +++ b/astro/nightfall/pkg-plist @@ -1,71 +1,96 @@ bin/nightfall -share/nightfall/data/51_pegR1.dat -share/nightfall/data/bh_virB.dat -share/nightfall/data/bh_virR1.dat -share/nightfall/data/bh_virR2.dat -share/nightfall/data/bh_virV.dat -share/nightfall/data/bh_virb.dat -share/nightfall/data/bh_viru.dat -share/nightfall/data/bh_virv.dat -share/nightfall/data/bh_viry.dat -share/nightfall/data/dd_monB.dat -share/nightfall/data/dd_monR2.dat -share/nightfall/data/dd_monV.dat -share/nightfall/data/er_vulB.dat -share/nightfall/data/er_vulI.dat -share/nightfall/data/er_vulR.dat -share/nightfall/data/er_vulR1.dat -share/nightfall/data/er_vulR2.dat -share/nightfall/data/er_vulU.dat -share/nightfall/data/er_vulV.dat -share/nightfall/data/lz_cenR1.dat -share/nightfall/data/lz_cenR2.dat -share/nightfall/data/lz_cenb.dat -share/nightfall/data/lz_cenu.dat -share/nightfall/data/lz_cenv.dat -share/nightfall/data/lz_ceny.dat -share/nightfall/data/mr_cygB.dat -share/nightfall/data/mr_cygR1.dat -share/nightfall/data/mr_cygR2.dat -share/nightfall/data/mr_cygU.dat -share/nightfall/data/mr_cygV.dat -share/nightfall/data/ty_boo.fitresults -share/nightfall/data/ty_booB.dat -share/nightfall/data/ty_booR1.dat -share/nightfall/data/ty_booR2.dat -share/nightfall/data/ty_booV.dat -share/nightfall/data/v541_cygR1.dat -share/nightfall/data/v541_cygR2.dat -share/nightfall/data/v541_cygV.dat -share/doc/nightfall/C/help0.txt -share/doc/nightfall/C/help1.txt -share/doc/nightfall/C/help2.txt -share/doc/nightfall/C/help3.txt -share/doc/nightfall/C/help4.txt -share/doc/nightfall/C/help5.txt -share/doc/nightfall/C/help6.txt -share/doc/nightfall/C/help7.txt -share/doc/nightfall/C/index.html -share/doc/nightfall/C/index.html~ -share/doc/nightfall/C/nightfall.html -share/doc/nightfall/C/nightfall.html~ -share/doc/nightfall/C/topic.dat -share/doc/nightfall/de/help0.txt -share/doc/nightfall/de/help1.txt -share/doc/nightfall/de/help2.txt -share/doc/nightfall/de/help3.txt -share/doc/nightfall/de/help4.txt -share/doc/nightfall/de/help5.txt -share/doc/nightfall/de/help6.txt -share/doc/nightfall/de/help7.txt -share/doc/nightfall/de/index.html -share/doc/nightfall/de/index.html~ -share/doc/nightfall/de/nightfall.html -share/doc/nightfall/de/nightfall.html~ -share/doc/nightfall/de/topic.dat -share/doc/nightfall/README -@dirrm share/nightfall/data -@dirrm share/nightfall -@dirrm share/doc/nightfall/C -@dirrm share/doc/nightfall/de -@dirrm share/doc/nightfall +%%GNOME:%%share/gnome/apps/Applications/nightfall.desktop +%%GNOME:%%share/gnome/help/nightfall/C/index.html +%%GNOME:%%share/gnome/help/nightfall/C/nightfall.html +%%GNOME:%%share/gnome/help/nightfall/C/topic.dat +%%GNOME:%%share/gnome/help/nightfall/de/index.html +%%GNOME:%%share/gnome/help/nightfall/de/nightfall.html +%%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 +%%GNOME:%%@dirrm share/gnome/help/nightfall/de +%%GNOME:%%@dirrm share/gnome/help/nightfall/C +%%GNOME:%%@dirrm share/gnome/help/nightfall |