aboutsummaryrefslogtreecommitdiff
path: root/astro/xrmap
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2005-10-29 10:22:40 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2005-10-29 10:22:40 +0000
commitfc20c8127ae2911f5df8a288648a30876da482dd (patch)
tree1f37d7f9dc50706c4fdcad780392c1ca5ac57153 /astro/xrmap
parentccb57a72d675abc605d8a725c95660c916b5a8ab (diff)
downloadports-fc20c8127ae2911f5df8a288648a30876da482dd.tar.gz
ports-fc20c8127ae2911f5df8a288648a30876da482dd.zip
Notes
Diffstat (limited to 'astro/xrmap')
-rw-r--r--astro/xrmap/Makefile8
-rw-r--r--astro/xrmap/distinfo2
-rw-r--r--astro/xrmap/pkg-plist1
3 files changed, 9 insertions, 2 deletions
diff --git a/astro/xrmap/Makefile b/astro/xrmap/Makefile
index a1216c666023..32620304a94e 100644
--- a/astro/xrmap/Makefile
+++ b/astro/xrmap/Makefile
@@ -7,11 +7,11 @@
PORTNAME= xrmap
PORTVERSION= 2.32
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= misc
MASTER_SITES= ftp://ftp.ac-grenoble.fr/ge/geosciences/xrmap/data/:data \
ftp://ftp.ac-grenoble.fr/ge/geosciences/xrmap/:src
-DISTFILES= ${SRCFILE}:src ${DATAFILES:S|$|:data|} ${CIAFILE}:data
+DISTFILES= ${SRCFILE}:src ${DATAFILES:S|$|:data|} ${CIAFILE}:data ${POPFILE}:data
DIST_SUBDIR= xrmap
EXTRACT_ONLY= ${SRCFILE} ${DATAFILES}
@@ -25,6 +25,7 @@ USE_XPM= yes
USE_REINPLACE= yes
CIAFILE= CIA_WDB2.jpd.bz2
+POPFILE= population.dat.bz2
SRCFILE= xrmap-${PORTVERSION}.tar.bz2
DATAFILES= anthems-1.1.tar.bz2 earthdata_med_res.tar.bz2 \
factbook_text_2005.tar.bz2 factbook_html_2005.tar.bz2 \
@@ -37,6 +38,9 @@ MAKE_ARGS= DESTDIR="${PREFIX}"
post-extract:
@${BZIP2_CMD} -dc ${_DISTDIR}/${CIAFILE} >${WRKDIR}/CIA_WDB2.jpd
+ @${MKDIR} ${WRKDIR}/earthdata/population
+ @${BZIP2_CMD} -dc ${_DISTDIR}/${POPFILE} > \
+ ${WRKDIR}/earthdata/population/population.dat
@${RM} -f ${WRKDIR}/flags/svg/=
post-patch:
diff --git a/astro/xrmap/distinfo b/astro/xrmap/distinfo
index 97caeb17b566..d8eb8f92ea3a 100644
--- a/astro/xrmap/distinfo
+++ b/astro/xrmap/distinfo
@@ -16,3 +16,5 @@ MD5 (xrmap/pdfmaps-1.2.tar.bz2) = 96839f8745bd5defe40384daccd253d8
SIZE (xrmap/pdfmaps-1.2.tar.bz2) = 46412445
MD5 (xrmap/CIA_WDB2.jpd.bz2) = 8b5255a685bbb5eef2f86df182731a32
SIZE (xrmap/CIA_WDB2.jpd.bz2) = 6750214
+MD5 (xrmap/population.dat.bz2) = 0fa2a9b9805f55aa021456bccd4f5281
+SIZE (xrmap/population.dat.bz2) = 823796
diff --git a/astro/xrmap/pkg-plist b/astro/xrmap/pkg-plist
index 3dc41ca5b0ea..a1ba2a4bb03c 100644
--- a/astro/xrmap/pkg-plist
+++ b/astro/xrmap/pkg-plist
@@ -201,6 +201,7 @@ share/rmap/anthems/za.ant
share/rmap/anthems/zm.ant
share/rmap/anthems/zw.ant
share/rmap/earthdata/population/population.cps
+share/rmap/earthdata/population/population.dat
share/rmap/earthdata/topography/10800x5400-15x15.az2
share/rmap/earthdata/topography/topography.cps
share/rmap/factbook/Factbook.css