mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-09 06:51:44 +00:00
- Update to 1.44
PR: ports/90189 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
This commit is contained in:
parent
a3ee26f20c
commit
ef906a1401
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=150883
astro/nightfall
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= nightfall
|
||||
PORTVERSION= 1.42
|
||||
PORTVERSION= 1.44
|
||||
CATEGORIES= astro
|
||||
MASTER_SITES= http://www.lsw.uni-heidelberg.de/users/rwichman/
|
||||
|
||||
@ -15,10 +15,10 @@ COMMENT= An interactive binary star application
|
||||
|
||||
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg
|
||||
|
||||
USE_PERL5= yes
|
||||
USE_X_PREFIX= yes
|
||||
WANT_GNOME= yes
|
||||
USE_GNOME= gtk12 gnometarget
|
||||
USE_GNOME= gnomehack gnomehier gnometarget gtk20
|
||||
USE_PERL5= yes
|
||||
USE_REINPLACE= yes
|
||||
USE_GMAKE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
@ -30,9 +30,11 @@ MAN1= nightfall.1
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${HAVE_GNOME:Mgnomelibs}!=""
|
||||
.if ${HAVE_GNOME:Mlibgnomeui}!=""
|
||||
PKGNAMESUFFIX= -gnome
|
||||
USE_GNOME+= gnomelibs gnomeprefix
|
||||
USE_GNOME+= gnomeprefix libgnomeui
|
||||
CONFIGURE_ARGS+= --with-gnomedoc-prefix=${PREFIX}/share
|
||||
INSTALLS_OMF= yes
|
||||
DATADIR= ${PREFIX}/share/gnome/${PORTNAME}
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-gnome
|
||||
@ -51,21 +53,26 @@ CONFIGURE_ARGS+= --with-pgplot-include=${LOCALBASE}/include \
|
||||
CONFIGURE_ARGS+= --disable-opengl
|
||||
.else
|
||||
LIB_DEPENDS+= glut.3:${PORTSDIR}/graphics/libglut \
|
||||
gtkgl.5:${PORTSDIR}/x11-toolkits/gtkglarea
|
||||
gtkgl-2.0.1:${PORTSDIR}/x11-toolkits/gtkglarea2
|
||||
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_GNOME=libgnomeui 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' \
|
||||
${WRKSRC}/Makefile.in
|
||||
@${REINPLACE_CMD} -e 's|^Icon=gnome|Icon=${DATADIR}/pixmaps/gnome|g' \
|
||||
${WRKSRC}/nightfall.desktop
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${PREFIX}/share/gnome/applications
|
||||
${INSTALL_DATA} ${WRKSRC}/nightfall.desktop \
|
||||
${PREFIX}/share/gnome/applications
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (nightfall-1.42.tar.gz) = 18e93b4a7f6c7098a092b251477cdb28
|
||||
SHA256 (nightfall-1.42.tar.gz) = d84a4e8842fe31fc739394e1a69859e725b51c690913e4d3f0c16b7477b9a4f9
|
||||
SIZE (nightfall-1.42.tar.gz) = 941706
|
||||
MD5 (nightfall-1.44.tar.gz) = 234aaef439ec6397ead49e06175ce02e
|
||||
SHA256 (nightfall-1.44.tar.gz) = 753f77a3c37f7a9acbe8172f9367e8fd0938573ec5b32b84303b8895b31714bf
|
||||
SIZE (nightfall-1.44.tar.gz) = 1041258
|
||||
|
13
astro/nightfall/files/patch-Light.c
Normal file
13
astro/nightfall/files/patch-Light.c
Normal file
@ -0,0 +1,13 @@
|
||||
--- Light.c.orig Thu Oct 20 22:54:11 2005
|
||||
+++ Light.c Wed Dec 7 02:43:38 2005
|
||||
@@ -275,8 +275,10 @@
|
||||
|
||||
/* >>>>>>>>>>>>>>>> ALLOCATE MEMORY <<<<<<<<<<<<<<<<<<<<< */
|
||||
|
||||
+#if 0
|
||||
program_invocation_name = malloc (1 + strlen(argv[0]));
|
||||
strcpy(program_invocation_name, argv[0]);
|
||||
+#endif
|
||||
|
||||
/* should be freed by OS on program exit (?) */
|
||||
|
12
astro/nightfall/files/patch-Light.h
Normal file
12
astro/nightfall/files/patch-Light.h
Normal file
@ -0,0 +1,12 @@
|
||||
--- Light.h.orig Thu Oct 20 22:18:52 2005
|
||||
+++ Light.h Wed Dec 7 02:47:16 2005
|
||||
@@ -805,7 +805,9 @@
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
|
||||
+#if 0
|
||||
extern char * program_invocation_name;
|
||||
+#endif
|
||||
|
||||
/* ----------- Error Messages ---------------------------------------- */
|
||||
|
14
astro/nightfall/files/patch-LightGnome.c
Normal file
14
astro/nightfall/files/patch-LightGnome.c
Normal file
@ -0,0 +1,14 @@
|
||||
--- LightGnome.c.orig Thu Oct 27 21:46:52 2005
|
||||
+++ LightGnome.c Wed Dec 7 02:44:36 2005
|
||||
@@ -335,7 +335,11 @@
|
||||
FileType *dataFile = FileList;
|
||||
char path[256];
|
||||
|
||||
+#if 0
|
||||
argv[0] = program_invocation_name;
|
||||
+#else
|
||||
+ argv[0] = g_get_prgname();
|
||||
+#endif
|
||||
argv[1] = "-U";
|
||||
argv[2] = NULL;
|
||||
|
@ -1,16 +1,12 @@
|
||||
bin/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/gnome/applications/nightfall.desktop
|
||||
%%GNOME:%%share/gnome/help/nightfall/C/nightfall.xml
|
||||
%%GNOME:%%share/gnome/help/nightfall/de/nightfall.xml
|
||||
share/locale/de/LC_MESSAGES/nightfall.mo
|
||||
share/locale/it/LC_MESSAGES/nightfall.mo
|
||||
%%DATADIR%%/cfg/51_peg.cfg
|
||||
%%DATADIR%%/cfg/bh_vir.cfg
|
||||
%%DATADIR%%/cfg/bh_vir_simple.cfg
|
||||
%%DATADIR%%/cfg/dd_mon.cfg
|
||||
%%DATADIR%%/cfg/er_vul.cfg
|
||||
%%DATADIR%%/cfg/lz_cen.cfg
|
||||
@ -85,6 +81,9 @@ share/locale/it/LC_MESSAGES/nightfall.mo
|
||||
%%DATADIR%%/pixmaps/starp_256.jpg
|
||||
%%DATADIR%%/pixmaps/stars_128.jpg
|
||||
%%DATADIR%%/pixmaps/stars_256.jpg
|
||||
%%GNOME:%%share/gnome/omf/nightfall/nightfall-C.omf
|
||||
%%GNOME:%%share/gnome/omf/nightfall/nightfall-de.omf
|
||||
%%GNOME:%%@dirrm share/gnome/omf/nightfall
|
||||
@dirrm %%DATADIR%%/pixmaps
|
||||
@dirrm %%DATADIR%%/doc/de
|
||||
@dirrm %%DATADIR%%/doc/C
|
||||
|
Loading…
Reference in New Issue
Block a user