aboutsummaryrefslogtreecommitdiff
path: root/astro/nightfall
diff options
context:
space:
mode:
authorLars Engels <lme@FreeBSD.org>2007-07-27 00:33:07 +0000
committerLars Engels <lme@FreeBSD.org>2007-07-27 00:33:07 +0000
commitcb8d97f8b8bb3ea56cd92cf337a66353b1ca569f (patch)
treef2d08e49e26c15c6521161ab24f3f27a3352bb9a /astro/nightfall
parente8ebf11a7fb69956138393121767e79206c3c6ca (diff)
downloadports-cb8d97f8b8bb3ea56cd92cf337a66353b1ca569f.tar.gz
ports-cb8d97f8b8bb3ea56cd92cf337a66353b1ca569f.zip
Notes
Diffstat (limited to 'astro/nightfall')
-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