2013-02-25 12:09:19 +01:00
|
|
|
# Created by: Christian Brueffer <chris@unixpages.org>
|
2002-05-25 12:48:46 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= nightfall
|
2015-10-01 05:53:02 +02:00
|
|
|
PORTVERSION= 1.86
|
Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
c++14-lang, c++0x, c11, or gcc-c++11-lib.
PR: 219275
2017-09-10 22:55:38 +02:00
|
|
|
PORTREVISION= 4
|
2002-05-25 12:48:46 +02:00
|
|
|
CATEGORIES= astro
|
2009-06-18 14:18:06 +02:00
|
|
|
MASTER_SITES= http://www.la-samhna.de/nightfall/
|
2002-05-25 12:48:46 +02:00
|
|
|
|
2003-06-04 20:58:11 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-02-25 12:09:19 +01:00
|
|
|
COMMENT= Interactive binary star application
|
2002-05-25 12:48:46 +02:00
|
|
|
|
2014-04-12 10:03:14 +02:00
|
|
|
USES= compiler gettext gmake pathfix perl5 pkgconfig
|
2014-12-20 21:50:16 +01:00
|
|
|
USE_GNOME= gtk20
|
2003-07-01 13:47:08 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2003-07-01 13:47:08 +02:00
|
|
|
CONFIGURE_ARGS= --with-locale-prefix=${PREFIX}/share/locale
|
|
|
|
|
2014-04-12 10:03:14 +02:00
|
|
|
OPTIONS_DEFINE= GNOME PGPLOT OPENGL
|
|
|
|
OPTIONS_DEFAULT= PGPLOT OPENGL
|
|
|
|
OPTIONS_SUB= yes
|
|
|
|
|
|
|
|
GNOME_CONFIGURE_ON= --with-gnomedoc-prefix=${PREFIX}/share
|
|
|
|
GNOME_CONFIGURE_OFF= --disable-gnome
|
|
|
|
GNOME_USE= GNOME=gnomeprefix,libgnomeui
|
2015-09-27 23:38:59 +02:00
|
|
|
GNOME_VARS= INSTALLS_OMF=yes
|
2014-04-12 10:03:14 +02:00
|
|
|
|
|
|
|
OPENGL_CONFIGURE_ON= --with-lib-GL
|
|
|
|
OPENGL_CONFIGURE_OFF= --disable-opengl
|
2016-04-01 15:29:15 +02:00
|
|
|
OPENGL_LIB_DEPENDS= libgtkgl-2.0.so:x11-toolkits/gtkglarea2
|
2014-04-12 10:03:14 +02:00
|
|
|
OPENGL_USE= GL=glut
|
|
|
|
|
|
|
|
PGPLOT_DESC= PGPLOT support
|
|
|
|
PGPLOT_CONFIGURE_ON= --with-pgplot-include=${LOCALBASE}/include \
|
|
|
|
--with-pgplot-lib=${LOCALBASE}/lib
|
|
|
|
PGPLOT_CONFIGURE_OFF= --with-gnuplot
|
2016-04-01 15:29:15 +02:00
|
|
|
PGPLOT_LIB_DEPENDS= libpgplot.so:graphics/pgplot
|
|
|
|
PGPLOT_RUN_DEPENDS_OFF= gnuplot:math/gnuplot
|
2014-04-12 10:03:14 +02:00
|
|
|
PGPLOT_USES= fortran
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
2003-07-01 13:47:08 +02:00
|
|
|
|
|
|
|
post-patch:
|
2014-04-12 10:03:14 +02:00
|
|
|
.if ${COMPILER_TYPE} == clang
|
|
|
|
@${REINPLACE_CMD} -e 's|-fforce-addr||' ${WRKSRC}/configure
|
|
|
|
.endif
|
2007-07-27 02:33:07 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|CFLAGS -O3|CFLAGS|g' ${WRKSRC}/configure
|
2007-10-25 01:37:25 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|^Icon=gnome|Icon=${DATADIR}/pixmaps|g' \
|
2005-12-11 16:15:14 +01:00
|
|
|
${WRKSRC}/nightfall.desktop
|
|
|
|
|
|
|
|
post-install:
|
2007-07-27 02:33:07 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/nightfall.desktop \
|
2013-12-17 21:57:25 +01:00
|
|
|
${STAGEDIR}${PREFIX}/share/applications
|
2003-07-01 13:47:08 +02:00
|
|
|
|
2014-04-12 10:03:14 +02:00
|
|
|
.include <bsd.port.post.mk>
|