2018-11-12 11:08:02 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.46 2018/11/12 16:08:02 naddy Exp $
|
Import celestia-1.4.1
Unlike most planetarium software, Celestia doesn't confine you to the
surface of the Earth. You can travel throughout the solar system, to any
of over 100,000 stars, or even beyond the galaxy.
All movement in Celestia is seamless; the exponential zoom feature lets
you explore space across a huge range of scales, from galaxy clusters
down to spacecraft only a few meters across. A 'point-and-goto'
interface makes it simple to navigate through the universe to the object
you want to visit.
Celestia is expandable. It comes with a large catalog of stars,
galaxies, planets, moons, asteroids, comets, and spacecraft. If that's
not enough, you can download dozens of easy to install add-ons with more
objects.
Available flavors:
lua - add Lua scripting engine (extension language support)
ok jasper@
2007-07-16 13:39:21 -04:00
|
|
|
|
2007-07-25 11:24:58 -04:00
|
|
|
COMMENT= free space simulator and planetarium
|
Import celestia-1.4.1
Unlike most planetarium software, Celestia doesn't confine you to the
surface of the Earth. You can travel throughout the solar system, to any
of over 100,000 stars, or even beyond the galaxy.
All movement in Celestia is seamless; the exponential zoom feature lets
you explore space across a huge range of scales, from galaxy clusters
down to spacecraft only a few meters across. A 'point-and-goto'
interface makes it simple to navigate through the universe to the object
you want to visit.
Celestia is expandable. It comes with a large catalog of stars,
galaxies, planets, moons, asteroids, comets, and spacecraft. If that's
not enough, you can download dozens of easy to install add-ons with more
objects.
Available flavors:
lua - add Lua scripting engine (extension language support)
ok jasper@
2007-07-16 13:39:21 -04:00
|
|
|
|
2011-07-08 21:41:13 -04:00
|
|
|
DISTNAME= celestia-1.6.1
|
2018-11-12 11:08:02 -05:00
|
|
|
REVISION= 16
|
2010-12-31 02:10:02 -05:00
|
|
|
|
Import celestia-1.4.1
Unlike most planetarium software, Celestia doesn't confine you to the
surface of the Earth. You can travel throughout the solar system, to any
of over 100,000 stars, or even beyond the galaxy.
All movement in Celestia is seamless; the exponential zoom feature lets
you explore space across a huge range of scales, from galaxy clusters
down to spacecraft only a few meters across. A 'point-and-goto'
interface makes it simple to navigate through the universe to the object
you want to visit.
Celestia is expandable. It comes with a large catalog of stars,
galaxies, planets, moons, asteroids, comets, and spacecraft. If that's
not enough, you can download dozens of easy to install add-ons with more
objects.
Available flavors:
lua - add Lua scripting engine (extension language support)
ok jasper@
2007-07-16 13:39:21 -04:00
|
|
|
CATEGORIES= astro x11
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.shatters.net/celestia/
|
|
|
|
|
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
|
|
|
|
# GPLv2
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=celestia/}
|
|
|
|
|
2016-09-08 06:17:26 -04:00
|
|
|
WANTLIB += GL GLU ICE SM X11 X11-xcb Xcomposite Xcursor Xdamage
|
|
|
|
WANTLIB += Xext Xfixes Xi Xinerama Xmu Xrandr Xrender Xt Xxf86vm
|
|
|
|
WANTLIB += atk-1.0 c cairo drm expat ffi fontconfig freetype gdk-x11-2.0
|
|
|
|
WANTLIB += gdk_pixbuf-2.0 gdkglext-x11-1.0 gio-2.0 glapi glib-2.0
|
|
|
|
WANTLIB += gmodule-2.0 gobject-2.0 graphite2 gthread-2.0 gtk-x11-2.0
|
|
|
|
WANTLIB += gtkglext-x11-1.0 harfbuzz iconv intl jpeg m ogg pango-1.0
|
|
|
|
WANTLIB += pangocairo-1.0 pangoft2-1.0 pangox-1.0 pcre pixman-1
|
2017-10-23 13:02:36 -04:00
|
|
|
WANTLIB += png pthread ${COMPILER_LIBCXX} theora xcb xcb-dri2
|
2016-09-08 06:17:26 -04:00
|
|
|
WANTLIB += xcb-glx xcb-render xcb-shm z
|
|
|
|
WANTLIB += ${MODLUA_WANTLIB}
|
|
|
|
|
2018-10-24 10:27:57 -04:00
|
|
|
COMPILER = base-clang ports-gcc base-gcc
|
|
|
|
|
2016-09-08 06:17:26 -04:00
|
|
|
MODULES= lang/lua
|
|
|
|
BUILD_DEPENDS= devel/gettext-tools
|
|
|
|
LIB_DEPENDS= devel/gettext \
|
2012-05-15 14:03:59 -04:00
|
|
|
multimedia/libtheora \
|
2016-09-08 06:17:26 -04:00
|
|
|
x11/gtkglext \
|
2012-05-15 14:03:59 -04:00
|
|
|
${MODLUA_LIB_DEPENDS}
|
2010-11-14 19:22:45 -05:00
|
|
|
RUN_DEPENDS= devel/desktop-file-utils
|
Import celestia-1.4.1
Unlike most planetarium software, Celestia doesn't confine you to the
surface of the Earth. You can travel throughout the solar system, to any
of over 100,000 stars, or even beyond the galaxy.
All movement in Celestia is seamless; the exponential zoom feature lets
you explore space across a huge range of scales, from galaxy clusters
down to spacecraft only a few meters across. A 'point-and-goto'
interface makes it simple to navigate through the universe to the object
you want to visit.
Celestia is expandable. It comes with a large catalog of stars,
galaxies, planets, moons, asteroids, comets, and spacecraft. If that's
not enough, you can download dozens of easy to install add-ons with more
objects.
Available flavors:
lua - add Lua scripting engine (extension language support)
ok jasper@
2007-07-16 13:39:21 -04:00
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
2013-06-04 14:41:39 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
|
2013-03-30 03:50:14 -04:00
|
|
|
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib -lGL" \
|
2012-07-10 11:22:44 -04:00
|
|
|
LUA_CFLAGS="`pkg-config --cflags ${MODLUA_DEP}`" \
|
|
|
|
LUA_LIBS="`pkg-config --libs ${MODLUA_DEP}`"
|
2016-03-11 15:28:21 -05:00
|
|
|
CONFIGURE_ARGS= --with-gtk \
|
2008-04-08 12:04:27 -04:00
|
|
|
--with-lua \
|
|
|
|
--enable-cairo \
|
|
|
|
--enable-theora
|
Import celestia-1.4.1
Unlike most planetarium software, Celestia doesn't confine you to the
surface of the Earth. You can travel throughout the solar system, to any
of over 100,000 stars, or even beyond the galaxy.
All movement in Celestia is seamless; the exponential zoom feature lets
you explore space across a huge range of scales, from galaxy clusters
down to spacecraft only a few meters across. A 'point-and-goto'
interface makes it simple to navigate through the universe to the object
you want to visit.
Celestia is expandable. It comes with a large catalog of stars,
galaxies, planets, moons, asteroids, comets, and spacecraft. If that's
not enough, you can download dozens of easy to install add-ons with more
objects.
Available flavors:
lua - add Lua scripting engine (extension language support)
ok jasper@
2007-07-16 13:39:21 -04:00
|
|
|
|
|
|
|
pre-configure:
|
2008-05-10 13:25:52 -04:00
|
|
|
${SUBST_CMD} ${WRKSRC}/src/celestia/celestiacore.cpp
|
Import celestia-1.4.1
Unlike most planetarium software, Celestia doesn't confine you to the
surface of the Earth. You can travel throughout the solar system, to any
of over 100,000 stars, or even beyond the galaxy.
All movement in Celestia is seamless; the exponential zoom feature lets
you explore space across a huge range of scales, from galaxy clusters
down to spacecraft only a few meters across. A 'point-and-goto'
interface makes it simple to navigate through the universe to the object
you want to visit.
Celestia is expandable. It comes with a large catalog of stars,
galaxies, planets, moons, asteroids, comets, and spacecraft. If that's
not enough, you can download dozens of easy to install add-ons with more
objects.
Available flavors:
lua - add Lua scripting engine (extension language support)
ok jasper@
2007-07-16 13:39:21 -04:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/models/*.3ds \
|
|
|
|
${PREFIX}/share/celestia/models
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|