diff --git a/astro/Makefile b/astro/Makefile index 64770e8e092a..d6a6edcecea3 100644 --- a/astro/Makefile +++ b/astro/Makefile @@ -23,6 +23,7 @@ SUBDIR += sattrack SUBDIR += seti_applet SUBDIR += setiathome + SUBDIR += spacechart SUBDIR += sscalc SUBDIR += stars SUBDIR += sunclock diff --git a/astro/spacechart/Makefile b/astro/spacechart/Makefile new file mode 100644 index 000000000000..14e77d94dd41 --- /dev/null +++ b/astro/spacechart/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: spacechart +# Date created: Mon Aug 20 14:50:20 EDT 2001 +# Whom: Patrick Li +# +# $FreeBSD$ +# + +PORTNAME= spacechart +PORTVERSION= 0.9.2 +CATEGORIES= astro +MASTER_SITES= http://zipi.fi.upm.es/~e970095/spacechart/download/ +DISTNAME= ${PORTNAME}-${PORTVERSION:S/./_/g} +EXTRACT_SUFX= .tgz + +MAINTAINER= pat@databits.net + +LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +USE_X_PREFIX= yes +GNU_CONFIGURE= yes +USE_GNOMELIBS= yes +CONFIGURE_ARGS= --without-included-gettext + +# trick it into using ports installed gettext +post-patch: + @${PERL} -pi -ne "s|(INTLLIBS =).*$$|\1-I${LOCALBASE}/lib -lintl|" \ + ${WRKSRC}/src/Makefile.in + +pre-build: + @${RM} -Rf ${WRKSRC}/intl + +.include diff --git a/astro/spacechart/distinfo b/astro/spacechart/distinfo new file mode 100644 index 000000000000..e256a52fbb96 --- /dev/null +++ b/astro/spacechart/distinfo @@ -0,0 +1 @@ +MD5 (spacechart-0_9_2.tgz) = 80789375b11adda68728241e52900631 diff --git a/astro/spacechart/files/patch-Makefile.in b/astro/spacechart/files/patch-Makefile.in new file mode 100644 index 000000000000..26c8ef15aa83 --- /dev/null +++ b/astro/spacechart/files/patch-Makefile.in @@ -0,0 +1,11 @@ +--- Makefile.in.orig Mon Aug 20 15:30:33 2001 ++++ Makefile.in Mon Aug 20 15:30:47 2001 +@@ -105,7 +105,7 @@ + cxxflags_set = @cxxflags_set@ + l = @l@ + +-SUBDIRS = src include po intl data pixmaps ++SUBDIRS = src include po data pixmaps + ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs + CONFIG_HEADER = config.h diff --git a/astro/spacechart/pkg-comment b/astro/spacechart/pkg-comment new file mode 100644 index 000000000000..0d14a8c5ec1b --- /dev/null +++ b/astro/spacechart/pkg-comment @@ -0,0 +1 @@ +SpaceChart is a star chart viewer for GNOME diff --git a/astro/spacechart/pkg-descr b/astro/spacechart/pkg-descr new file mode 100644 index 000000000000..ad68195b27e7 --- /dev/null +++ b/astro/spacechart/pkg-descr @@ -0,0 +1,8 @@ +SpaceChart is a program that allows you to see the stars in glorious +3D and rotate them to see them from any point of view. You can also +limit which stars you want to see, according to their spectral +class and luminosity, and draw links between all stars closer than +a certain distance. + +WWW: http://zipi.fi.upm.es/~e970095/spacechart/ +Author: Miguel Coca diff --git a/astro/spacechart/pkg-plist b/astro/spacechart/pkg-plist new file mode 100644 index 000000000000..34a8d57fb6af --- /dev/null +++ b/astro/spacechart/pkg-plist @@ -0,0 +1,4 @@ +bin/spacechart +share/locale/es/LC_MESSAGES/spacechart.mo +share/gnome/spacechart/gliese.dat +@dirrm share/gnome/spacechart