diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-07-31 03:33:15 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-07-31 03:33:15 +0800 |
commit | a56b1567cab361fb1874785378752a094dc6c8d1 (patch) | |
tree | 84dfca3925a51b7090896693a67a3e65b10a2922 /astro/nightfall/Makefile | |
parent | f47c1b298abe3e1c7c1fc9cb584bfec130c7bf0d (diff) | |
download | marcuscom-ports-a56b1567cab361fb1874785378752a094dc6c8d1.tar marcuscom-ports-a56b1567cab361fb1874785378752a094dc6c8d1.tar.gz marcuscom-ports-a56b1567cab361fb1874785378752a094dc6c8d1.tar.bz2 marcuscom-ports-a56b1567cab361fb1874785378752a094dc6c8d1.tar.lz marcuscom-ports-a56b1567cab361fb1874785378752a094dc6c8d1.tar.xz marcuscom-ports-a56b1567cab361fb1874785378752a094dc6c8d1.tar.zst marcuscom-ports-a56b1567cab361fb1874785378752a094dc6c8d1.zip |
Sync w/ FreeBSD ports.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9276 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'astro/nightfall/Makefile')
-rw-r--r-- | astro/nightfall/Makefile | 20 |
1 files changed, 11 insertions, 9 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> |