aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2005-10-29 18:22:40 +0800
committerjylefort <jylefort@FreeBSD.org>2005-10-29 18:22:40 +0800
commitb83e19203c01627aa44e7ddcc5bd5a5710cca6f1 (patch)
treecca1146303f711d35884d29990c240b9e5705309 /misc
parent8a89f1dcee5b5961c037f93a4f495e3721d70637 (diff)
downloadfreebsd-ports-gnome-b83e19203c01627aa44e7ddcc5bd5a5710cca6f1.tar.gz
freebsd-ports-gnome-b83e19203c01627aa44e7ddcc5bd5a5710cca6f1.tar.zst
freebsd-ports-gnome-b83e19203c01627aa44e7ddcc5bd5a5710cca6f1.zip
Add a missing data file (fixes a crash in earthview).
PR: ports/88160 Submitted by: maintainer
Diffstat (limited to 'misc')
-rw-r--r--misc/xrmap/Makefile8
-rw-r--r--misc/xrmap/distinfo2
-rw-r--r--misc/xrmap/pkg-plist1
3 files changed, 9 insertions, 2 deletions
diff --git a/misc/xrmap/Makefile b/misc/xrmap/Makefile
index a1216c666023..32620304a94e 100644
--- a/misc/xrmap/Makefile
+++ b/misc/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/misc/xrmap/distinfo b/misc/xrmap/distinfo
index 97caeb17b566..d8eb8f92ea3a 100644
--- a/misc/xrmap/distinfo
+++ b/misc/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/misc/xrmap/pkg-plist b/misc/xrmap/pkg-plist
index 3dc41ca5b0ea..a1ba2a4bb03c 100644
--- a/misc/xrmap/pkg-plist
+++ b/misc/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