aboutsummaryrefslogtreecommitdiffstats
path: root/astro
diff options
context:
space:
mode:
authorlme <lme@FreeBSD.org>2007-07-27 08:33:07 +0800
committerlme <lme@FreeBSD.org>2007-07-27 08:33:07 +0800
commit5fe05462af8b986f64ed86834e9c371f72f88aad (patch)
tree3af474814f6146a3af95593eb26fe5e7e712d6c2 /astro
parentc93ef0a7467b0e90ee7df41f7ee0d4500284acf8 (diff)
downloadfreebsd-ports-gnome-5fe05462af8b986f64ed86834e9c371f72f88aad.tar.gz
freebsd-ports-gnome-5fe05462af8b986f64ed86834e9c371f72f88aad.tar.zst
freebsd-ports-gnome-5fe05462af8b986f64ed86834e9c371f72f88aad.zip
Update to 1.62
PR: ports/114735 Submitted by: KATO Tsuguru <tkato432@yahoo.com> Approved by: miwi (mentor)
Diffstat (limited to 'astro')
-rw-r--r--astro/nightfall/Makefile18
-rw-r--r--astro/nightfall/distinfo6
2 files changed, 13 insertions, 11 deletions
diff --git a/astro/nightfall/Makefile b/astro/nightfall/Makefile
index ad3638c7887f..9ea50341905b 100644
--- a/astro/nightfall/Makefile
+++ b/astro/nightfall/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= nightfall
-PORTVERSION= 1.61
+PORTVERSION= 1.62
CATEGORIES= astro
MASTER_SITES= http://www.la-samhna.de/nightfall/ CENKES
@@ -45,6 +45,8 @@ RUN_DEPENDS+= gnuplot:${PORTSDIR}/math/gnuplot
CONFIGURE_ARGS+= --with-gnuplot
.else
LIB_DEPENDS+= pgplot.5:${PORTSDIR}/graphics/pgplot
+USE_FORTRAN= yes
+CONFIGURE_ENV+= FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}"
CONFIGURE_ARGS+= --with-pgplot-include=${LOCALBASE}/include \
--with-pgplot-lib=${LOCALBASE}/lib
.endif
@@ -52,12 +54,12 @@ CONFIGURE_ARGS+= --with-pgplot-include=${LOCALBASE}/include \
.if defined(WITHOUT_OPENGL)
CONFIGURE_ARGS+= --disable-opengl
.else
-LIB_DEPENDS+= glut.4:${PORTSDIR}/graphics/libglut \
- gtkgl-2.0.1:${PORTSDIR}/x11-toolkits/gtkglarea2
+LIB_DEPENDS+= gtkgl-2.0.1:${PORTSDIR}/x11-toolkits/gtkglarea2
+USE_GL= glut
CONFIGURE_ARGS+= --with-lib-GL
.endif
-pre-configure:
+pre-everything::
@${ECHO_MSG} "Nightfall has the following tunable option(s):"
@${ECHO_MSG} ""
@${ECHO_MSG} " WITHOUT_GNOME=libgnomeui Turns off Gnome support"
@@ -66,13 +68,13 @@ pre-configure:
@${ECHO_MSG} ""
post-patch:
- @${REINPLACE_CMD} -e 's|-O3||g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|CFLAGS -O3|CFLAGS|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|^Icon=gnome|Icon=${DATADIR}/pixmaps/gnome|g' \
${WRKSRC}/nightfall.desktop
post-install:
- @${INSTALL} -d ${PREFIX}/share/gnome/applications/
- @${INSTALL_DATA} ${WRKSRC}/nightfall.desktop \
- ${PREFIX}/share/gnome/applications/
+ @${MKDIR} ${PREFIX}/share/gnome/applications
+ ${INSTALL_DATA} ${WRKSRC}/nightfall.desktop \
+ ${PREFIX}/share/gnome/applications
.include <bsd.port.post.mk>
diff --git a/astro/nightfall/distinfo b/astro/nightfall/distinfo
index 579df428cdc8..102cb5fee4a2 100644
--- a/astro/nightfall/distinfo
+++ b/astro/nightfall/distinfo
@@ -1,3 +1,3 @@
-MD5 (nightfall-1.61.tar.gz) = 8224a80cbd0a255b0bc8b2c5d94d22e1
-SHA256 (nightfall-1.61.tar.gz) = eefffafd36d415687f13ebf48ee00f66488e6cfc466fad522ff8d1de27139868
-SIZE (nightfall-1.61.tar.gz) = 1331088
+MD5 (nightfall-1.62.tar.gz) = 318314e97b83fdb74860aba6adef219b
+SHA256 (nightfall-1.62.tar.gz) = b2d023b5c7d41d9f28bc0aec1444eb908c6b3dd61e9dd99a8927da1b5808d30f
+SIZE (nightfall-1.62.tar.gz) = 1331078