1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

add earthview 1.0

Produces a view output of an arbitrary region of the Earth
This commit is contained in:
Ying-Chieh Liao 2002-09-13 15:29:01 +00:00
parent 92a4ab4cc0
commit 868a6db310
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=66262
7 changed files with 64 additions and 0 deletions

View File

@ -60,6 +60,7 @@
SUBDIR += dnetc
SUBDIR += dog
SUBDIR += dotfile
SUBDIR += earthview
SUBDIR += edonkey-tool-hash
SUBDIR += edonkey-tool-list
SUBDIR += edonkey-tool-recovermet

30
misc/earthview/Makefile Normal file
View File

@ -0,0 +1,30 @@
# ex:ts=8
# Ports collection makefile for: earthview
# Date created: Sep 13, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= earthview
PORTVERSION= 1.0
CATEGORIES= misc
MASTER_SITES= ftp://ftp.ac-grenoble.fr/ge/geosciences/
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
USE_REINPLACE= yes
USE_XLIB= yes
CFLAGS+= -I${X11BASE}/include
ALL_TARGET= earthview
post-patch:
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" -e "s|%%CC%%|${CC}|g" \
-e "s|%%CFLAGS%%|${CFLAGS}|g" -e "s|%%X11BASE%%|${X11BASE}|g" \
${WRKSRC}/Makefile
pre-build:
@${RM} -f ${WRKSRC}/earthview
.include <bsd.port.mk>

1
misc/earthview/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (earthview-1.0.tgz) = 2076221c30c771361e5affc2bb81ad16

View File

@ -0,0 +1,17 @@
--- Makefile.orig Wed Jul 31 20:33:51 2002
+++ Makefile Fri Sep 13 23:09:34 2002
@@ -1,11 +1,11 @@
-BINDIR=/usr/X11R6/bin
-DATADIR=/usr/share/earthview
+BINDIR=%%PREFIX%%/bin
+DATADIR=%%PREFIX%%/share/earthview
all: earthview
cat WARNING
earthview: earthview.c
- gcc -Wall -DDATADIR=\"$(DATADIR)\" earthview.c -o earthview -L/usr/X11R6/lib -lX11 -lm -lz -lbz2
+ %%CC%% %%CFLAGS%% -DDATADIR=\"$(DATADIR)\" earthview.c -o earthview -L%%X11BASE%%/lib -lX11 -lm -lz -lbz2
install:
install -c -s earthview $(BINDIR)

View File

@ -0,0 +1 @@
Produces a view output of an arbitrary region of the Earth

6
misc/earthview/pkg-descr Normal file
View File

@ -0,0 +1,6 @@
Earthview produces a view or an image file output of an arbitrary region of
the Earth, showing the elevation of lands and depth of oceans across the
globe. It also supports other data sets such as the population density. The
package only includes low-resolution samples, but earthview can make use of
the GTOPO30 or ETOPO2 data sets, which have a resolution better than 1km on
most land areas, and better than 4km in the oceans.

8
misc/earthview/pkg-plist Normal file
View File

@ -0,0 +1,8 @@
bin/earthview
share/earthview/topography/topography.cps
share/earthview/topography/1440x720-2x2.az2
share/earthview/population/population.cps
share/earthview/population/4320x2160-6x6.pz2
@dirrm share/earthview/topography
@dirrm share/earthview/population
@dirrm share/earthview