aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--astro/Makefile1
-rw-r--r--astro/rmap/Makefile25
-rw-r--r--astro/rmap/distinfo1
-rw-r--r--astro/rmap/files/patch-aa11
-rw-r--r--astro/rmap/pkg-comment1
-rw-r--r--astro/rmap/pkg-descr11
-rw-r--r--astro/rmap/pkg-plist4
7 files changed, 54 insertions, 0 deletions
diff --git a/astro/Makefile b/astro/Makefile
index 585cbe0616d0..e61730b614c0 100644
--- a/astro/Makefile
+++ b/astro/Makefile
@@ -5,6 +5,7 @@
SUBDIR += ephem
SUBDIR += luna
SUBDIR += pyweather
+ SUBDIR += rmap
SUBDIR += saoimage
SUBDIR += sattrack
SUBDIR += setiathome
diff --git a/astro/rmap/Makefile b/astro/rmap/Makefile
new file mode 100644
index 000000000000..e26d236d73b7
--- /dev/null
+++ b/astro/rmap/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: rmap
+# Date created: 29 Mar 2000
+# Whom: trevor@jpj.net
+#
+# $FreeBSD$
+#
+
+PORTNAME= rmap
+PORTVERSION= 1.2
+CATEGORIES= astro
+MASTER_SITES= http://www.reza.net/rmap/
+
+MAINTAINER= trevor@jpj.net
+
+LIB_DEPENDS= gd.1:${PORTSDIR}/graphics/gd \
+ gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+
+MAN1= rmap.1
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I ${LOCALBASE}/include/gd/" \
+ LIBS="-L${LOCALBASE}/lib -lgnugetopt"
+
+.include <bsd.port.mk>
diff --git a/astro/rmap/distinfo b/astro/rmap/distinfo
new file mode 100644
index 000000000000..10a926cc6c2e
--- /dev/null
+++ b/astro/rmap/distinfo
@@ -0,0 +1 @@
+MD5 (rmap-1.2.tar.gz) = 5406a76b66db65a5fc6073cf4bb62eeb
diff --git a/astro/rmap/files/patch-aa b/astro/rmap/files/patch-aa
new file mode 100644
index 000000000000..781a7b095d17
--- /dev/null
+++ b/astro/rmap/files/patch-aa
@@ -0,0 +1,11 @@
+--- main.c.orig Tue Mar 28 17:01:17 2000
++++ main.c Thu Mar 30 02:43:08 2000
+@@ -154,7 +154,7 @@
+ case 'h':
+ printf("Usage: rmap [--zoom=VALUE] [--xrot=VALUE] [--yrot=VALUE] [--zrot=VALUE]\n");
+ printf(" [--datafile=FILENAME] [--continent=LIST] [--category=LIST]\n");
+- printf(" [--outfile=FILENAME] [--height=PIXLES] [--width=PIXLES]\n");
++ printf(" [--outfile=FILENAME] [--height=PIXELS] [--width=PIXELS]\n");
+ printf(" [--colorfile=FILENAME] [--nogridlines] [--cities] [-h] [-v]\n");
+ printf("\n");
+ printf("\t--zoom=<value> Zoom Value, 1=whole earth\n");
diff --git a/astro/rmap/pkg-comment b/astro/rmap/pkg-comment
new file mode 100644
index 000000000000..0e2eabf287e1
--- /dev/null
+++ b/astro/rmap/pkg-comment
@@ -0,0 +1 @@
+Generates images of the Earth centered at a particular location
diff --git a/astro/rmap/pkg-descr b/astro/rmap/pkg-descr
new file mode 100644
index 000000000000..fdaf8054baf6
--- /dev/null
+++ b/astro/rmap/pkg-descr
@@ -0,0 +1,11 @@
+This program generates, but does not display, image files containing
+raster maps of the Earth. It includes public-domain, vector
+data from which they are drawn, describing the continents, bodies
+of water, boundaries of countries and U.S. states, and a few cities.
+Command-line options allow centering the maps at a particular
+latitude and longitude and zooming in.
+
+WWW: http://www.reza.net/rmap/
+
+Trevor Johnson
+trevor@jpj.net
diff --git a/astro/rmap/pkg-plist b/astro/rmap/pkg-plist
new file mode 100644
index 000000000000..d782b5af6af0
--- /dev/null
+++ b/astro/rmap/pkg-plist
@@ -0,0 +1,4 @@
+bin/rmap
+share/rmap/rmap.colors
+share/rmap/earth.rez
+@dirrm share/rmap