Hi, Here is a patch for the current celestia ports that add a spice flavor (see previous message about astro/cspice).
I haven't emailed the patch to the celestia author because this part seems (from subversion repo) to have been completely rewritten for the next celestia release. ? patches/patch-src_celengine_spiceorbit_cpp ? patches/patch-src_celengine_spicerotation_cpp Index: Makefile =================================================================== RCS file: /cvs/ports/astro/celestia/Makefile,v retrieving revision 1.14 diff -u -p -r1.14 Makefile --- Makefile 17 Nov 2009 23:12:16 -0000 1.14 +++ Makefile 18 Nov 2009 14:04:10 -0000 @@ -10,6 +10,9 @@ HOMEPAGE= http://www.shatters.net/celest MAINTAINER= Antoine Jacoutot <ajacou...@openbsd.org> +FLAVORS= spice +FLAVOR?= + # GPLv2 PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes @@ -45,6 +48,12 @@ CONFIGURE_ARGS= ${CONFIGURE_SHARED} \ --with-lua \ --enable-cairo \ --enable-theora + +.if ${FLAVOR:L:Mspice} +BUILD_DEPENDS+= ::astro/cspice + +CONFIGURE_ARGS+= --with-cspice-dir=${PREFIX} +.endif pre-configure: ${SUBST_CMD} ${WRKSRC}/src/celestia/celestiacore.cpp -- Manuel Giraud
patch-src_celengine_spiceorbit_cpp
Description: Binary data
patch-src_celengine_spicerotation_cpp
Description: Binary data