aboutsummaryrefslogtreecommitdiffstats
path: root/astro/rmap
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2000-07-02 15:22:55 +0800
committerwill <will@FreeBSD.org>2000-07-02 15:22:55 +0800
commit89a3e5ac219f726db6a086ad7fe8e9b97b22c891 (patch)
tree2c3f4f5db4234a114ad95dbb5442d0d0fe501ffa /astro/rmap
parentd8de32095dcf6ef34fdc2783ec822ed7ca192fe3 (diff)
downloadfreebsd-ports-gnome-89a3e5ac219f726db6a086ad7fe8e9b97b22c891.tar.gz
freebsd-ports-gnome-89a3e5ac219f726db6a086ad7fe8e9b97b22c891.tar.zst
freebsd-ports-gnome-89a3e5ac219f726db6a086ad7fe8e9b97b22c891.zip
Add rmap, a neat program that generates an image of the Earth at a specific
location in the world (based on longitude and latitude). PR: 17676 Submitted by: Trevor Johnson <trevor@jpj.net>
Diffstat (limited to 'astro/rmap')
-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
6 files changed, 53 insertions, 0 deletions
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