diff options
author | Stefan Eßer <se@FreeBSD.org> | 2006-11-23 20:53:10 +0000 |
---|---|---|
committer | Stefan Eßer <se@FreeBSD.org> | 2006-11-23 20:53:10 +0000 |
commit | 1519befc1a60d3b2e6fa663888f18f8e1d73bb9d (patch) | |
tree | e79135dcd383a6c8d9c3adcc652fde643dcb1acd /astro | |
parent | c5493bcf9e31cdf31a34989ea96218e56bcf4d7e (diff) | |
download | ports-1519befc1a60d3b2e6fa663888f18f8e1d73bb9d.tar.gz ports-1519befc1a60d3b2e6fa663888f18f8e1d73bb9d.zip |
Notes
Diffstat (limited to 'astro')
-rw-r--r-- | astro/Makefile | 1 | ||||
-rw-r--r-- | astro/gaia/Makefile | 49 | ||||
-rw-r--r-- | astro/gaia/distinfo | 3 | ||||
-rw-r--r-- | astro/gaia/files/patch-SConstruct | 15 | ||||
-rw-r--r-- | astro/gaia/pkg-descr | 7 |
5 files changed, 75 insertions, 0 deletions
diff --git a/astro/Makefile b/astro/Makefile index dfd513da1a0e..5bff775eca4d 100644 --- a/astro/Makefile +++ b/astro/Makefile @@ -13,6 +13,7 @@ SUBDIR += cfitsio SUBDIR += dgpsip SUBDIR += ephem + SUBDIR += gaia SUBDIR += gkrellmoon SUBDIR += gkrellmoon2 SUBDIR += gkrellsun diff --git a/astro/gaia/Makefile b/astro/gaia/Makefile new file mode 100644 index 000000000000..f2dc32e6b424 --- /dev/null +++ b/astro/gaia/Makefile @@ -0,0 +1,49 @@ +# New ports collection makefile for: gaia +# Date created: 23 November 2006 +# Whom: Stefan Esser <se@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= gaia +PORTVERSION= 0.1.0 +CATEGORIES= astro +MASTER_SITES= http://gaia.serezhkin.com/ + +MAINTAINER= se@FreeBSD.org +COMMENT= An open source Google Earth client + +LIB_DEPENDS= curl.3:${PORTSDIR}/ftp/curl \ + jpeg.9:${PORTSDIR}/graphics/jpeg \ + png.5:${PORTSDIR}/graphics/png \ + SDL.11:${PORTSDIR}/devel/sdl12 + +USE_BZIP2= yes +USE_SCONS= yes + +OPTIONS= GPS "Build with GPS support" OFF + +.include <bsd.port.pre.mk> + +.if !defined(WITHOUT_GPS) +LIB_DEPENDS+= gps.15:${PORTSDIR}/astro/gpsd +.else +SCONS_ARGS+= gpsd=0 +.endif + +PLIST_FILES= bin/gaia share/gaia/README share/gaia/font.png +PLIST_DIRS= share/gaia + +post-patch: + @${REINPLACE_CMD} -e 's|%%CC%%|${CC}|g ; s|%%CXX%%|${CXX}|g ; \ + s|%%DATADIR%%|${PREFIX}/share/gaia| ; \ + s|%%CFLAGS%%|${CFLAGS}| ; \ + s|%%CXXFLAGS%%|${CXXFLAGS}|g' ${WRKSRC}/SConstruct + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/gaia ${TARGETDIR}/bin/ + ${MKDIR} ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DATADIR}/ + ${INSTALL_DATA} ${WRKSRC}/data/font.png ${DATADIR}/ + +.include <bsd.port.post.mk> diff --git a/astro/gaia/distinfo b/astro/gaia/distinfo new file mode 100644 index 000000000000..fb81a170108a --- /dev/null +++ b/astro/gaia/distinfo @@ -0,0 +1,3 @@ +MD5 (gaia-0.1.0.tar.bz2) = 9a9f5a3e5095dae5dbf2e6dd998d1f5d +SHA256 (gaia-0.1.0.tar.bz2) = 83931c8e5316d3b156a4b71c1e92ec693133daa24f803c35ef983580fe42e48b +SIZE (gaia-0.1.0.tar.bz2) = 64892 diff --git a/astro/gaia/files/patch-SConstruct b/astro/gaia/files/patch-SConstruct new file mode 100644 index 000000000000..888fa6a7e88a --- /dev/null +++ b/astro/gaia/files/patch-SConstruct @@ -0,0 +1,15 @@ +--- SConstruct~ Wed Nov 8 01:42:33 2006 ++++ SConstruct Thu Nov 23 19:46:29 2006 +@@ -10,8 +10,10 @@ + ####################################### + # ENVIRONMENT + ####################################### +-env = Environment( CCFLAGS = [ '-Wall', '-g' ], +- CXXFLAGS = [ '-Wall', '-g' ], ++env = Environment( CCFLAGS = Split("%%CFLAGS%% -DDATADIR='"'"%%DATADIR%%"'"'"), ++ CXXFLAGS = Split("%%CXXFLAGS%% -DDATADIR='"'"%%DATADIR%%"'"'"), ++ CC = Split ('%%CC%%'), ++ CXX = Split('%%CXX%%'), + CPPPATH = [ '/usr/local/include', '/usr/X11R6/include' ], + LIBPATH = [ '/usr/X11R6/lib', '/usr/local/lib' ], + options = opts ) diff --git a/astro/gaia/pkg-descr b/astro/gaia/pkg-descr new file mode 100644 index 000000000000..fcec5bad3d74 --- /dev/null +++ b/astro/gaia/pkg-descr @@ -0,0 +1,7 @@ +Gaia is an open, portable, customizable and extendable Google Earth client, +currently in an early stage of development. + +Optionally, the current position as reported by any GPS device supported +by "gpsd" can be tracked and displayed. + +WWW: http://gaia.serezhkin.com/ |