b15254402b
A big Thank You to the original contributors of these ports: * ABURAYER Rewsirow <rewsirow@ff.iij4u.or.jp> * Alexander Leidinger * Alexey Dokuchaev <danfe@FreeBSD.org> * Andrew Pantyukhin <infofarmer@FreeBSD.org> * Andrey Zakhvatov * Anton Berezin <tobez@FreeBSD.org> * Anton Berezin <tobez@tobez.org> * Anton Karpov <toxa@toxahost.ru> * Brion Moss <brion@queeg.com> * Bruce M Simpson <bms@FreeBSD.org> * Chris Piazza <cpiazza@FreeBSD.org> * Christian Brueffer <chris@unixpages.org> * David Wolfskill * Frank W. Josellis <frank@dynamical-systems.org> * Gea-Suan Lin <gslin@gslin.org> * Gleb Smirnoff <glebius@FreeBSD.org> * Hye-Shik Chang <perky@fallin.lv> * Jan Srzednicki <w@wrzask.pl> * Jean-Yves Lefort <jylefort@FreeBSD.org> * Jean-Yves Lefort <jylefort@brutele.be> * Jeremy Shaffner <jeremy@external.org> * Keith Walker <kew@icehouse.net> * Kirill Ponomarew <ponomarew@oberon.net> * Kris Kennaway <kkennawa@physics.adelaide.edu.au> * Kris Kennaway <kris@FreeBSD.org * Laurent Courty * Loïc BARTOLETTI <lbartoletti@FreeBSD.org> * Lukas Maly <Iam@LukasMaly.NET> * Markus Brueffer <markus@FreeBSD.org> * Mathias Monnerville <mathias@monnerville.com> * Muhammad Moinur Rahman <bofh@FreeBSD.org> * Patrick Li <pat@FreeBSD.org> * Patrick Li <pat@databits.net> * Piero Serini <piero@FreeBSD.org> * Po-Chuan Hsieh <sunpoet@FreeBSD.org> * Simon Olofsson <simon@olofsson.de> * Slaven Rezic <slaven@rezic.de> * Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> * Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net> * Sébastien Santoro <dereckson@gmail.com> * TAKATSU Tomonari <tota@FreeBSD.org> * Tatsuki Makino <tatsuki_makino@hotmail.com> * Tony Maher <tonymaher@optusnet.com.au> * Wen Heping <wen@FreeBSD.org> * Wen Heping <wenheping@gmail.com> * Wen Heping<wen@FreeBSD.org> * Will Andrews <andrews@technologist.com> * asami * chuck@pkix.net * crwhipp@gmail.com * darius@dons.net.au * db * erich@FreeBSD.org * freebsd-ports@henrik.synth.no * ijliao * nwhitehorn * pat * searle * thierry@pompo.net * torstenb * trevor * will With hat: portmgr
54 lines
1.5 KiB
Makefile
54 lines
1.5 KiB
Makefile
PORTNAME= nightfall
|
|
PORTVERSION= 1.92
|
|
PORTREVISION= 2
|
|
CATEGORIES= astro education
|
|
MASTER_SITES= http://www.la-samhna.de/nightfall/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Interactive binary star application
|
|
|
|
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
|
|
libfreetype.so:print/freetype2
|
|
|
|
USES= compiler gettext gmake gnome jpeg pathfix perl5 pkgconfig
|
|
USE_GNOME= cairo gdkpixbuf2 gtk20
|
|
GNU_CONFIGURE= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
CONFIGURE_ARGS= --with-locale-prefix=${PREFIX}/share/locale \
|
|
--disable-gnome
|
|
|
|
OPTIONS_DEFINE= PGPLOT OPENGL
|
|
OPTIONS_DEFAULT= PGPLOT OPENGL
|
|
OPTIONS_SUB= yes
|
|
|
|
OPENGL_CONFIGURE_ON= --with-lib-GL
|
|
OPENGL_CONFIGURE_OFF= --disable-opengl
|
|
OPENGL_LIB_DEPENDS= libgtkgl-2.0.so:x11-toolkits/gtkglarea2
|
|
OPENGL_USES= gl
|
|
OPENGL_USE= GL=glut,gl,glu
|
|
|
|
PGPLOT_DESC= PGPLOT support
|
|
PGPLOT_CONFIGURE_ON= --with-pgplot-include=${LOCALBASE}/include \
|
|
--with-pgplot-lib=${LOCALBASE}/lib
|
|
PGPLOT_CONFIGURE_OFF= --with-gnuplot
|
|
PGPLOT_LIB_DEPENDS= libpgplot.so:graphics/pgplot
|
|
PGPLOT_RUN_DEPENDS_OFF= gnuplot:math/gnuplot
|
|
PGPLOT_USES= fortran
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-patch:
|
|
.if ${COMPILER_TYPE} == clang
|
|
@${REINPLACE_CMD} -e 's|-fforce-addr||' ${WRKSRC}/configure
|
|
.endif
|
|
@${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_DATA} ${WRKSRC}/nightfall.desktop \
|
|
${STAGEDIR}${PREFIX}/share/applications
|
|
|
|
.include <bsd.port.post.mk>
|