summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--astro/nightfall/Makefile20
-rw-r--r--astro/nightfall/distinfo6
2 files changed, 14 insertions, 12 deletions
diff --git a/astro/nightfall/Makefile b/astro/nightfall/Makefile
index 988b85998..306dcb1ec 100644
--- a/astro/nightfall/Makefile
+++ b/astro/nightfall/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= nightfall
-PORTVERSION= 1.61
+PORTVERSION= 1.62
PORTREVISION= 1
CATEGORIES= astro
MASTER_SITES= http://www.la-samhna.de/nightfall/ CENKES
@@ -44,6 +44,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
@@ -51,12 +53,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"
@@ -65,13 +67,13 @@ pre-configure:
@${ECHO_MSG} ""
post-patch:
- @${REINPLACE_CMD} -e 's|-O3||g' ${WRKSRC}/configure
- @${REINPLACE_CMD} -e 's|^Icon=gnome|Icon=${DATADIR}/pixmaps/gnome|g' \
+ @${REINPLACE_CMD} -e 's|CFLAGS -O3|CFLAGS|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|^Icon=gnome|Icon=${DATADIR}/pixmaps|g' \
${WRKSRC}/nightfall.desktop
post-install:
- @${INSTALL} -d ${PREFIX}/share/applications/
- @${INSTALL_DATA} ${WRKSRC}/nightfall.desktop \
- ${PREFIX}/share/applications/
+ @${MKDIR} ${PREFIX}/share/applications
+ ${INSTALL_DATA} ${WRKSRC}/nightfall.desktop \
+ ${PREFIX}/share/applications
.include <bsd.port.post.mk>
diff --git a/astro/nightfall/distinfo b/astro/nightfall/distinfo
index 579df428c..102cb5fee 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