summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Nigbur <pyrania@gentoo.org>2004-07-03 15:40:05 +0000
committerMarkus Nigbur <pyrania@gentoo.org>2004-07-03 15:40:05 +0000
commitb363a0f40a5bcf941386c11d49ded575dafa2440 (patch)
tree826850f1f4434aad449d5f861d89fe93cd29db00 /x11-misc/xrmap
parentFix compilation in src_install (diff)
downloadhistorical-b363a0f40a5bcf941386c11d49ded575dafa2440.tar.gz
historical-b363a0f40a5bcf941386c11d49ded575dafa2440.tar.bz2
historical-b363a0f40a5bcf941386c11d49ded575dafa2440.zip
Version bump. Closing bug #47525.
Diffstat (limited to 'x11-misc/xrmap')
-rw-r--r--x11-misc/xrmap/ChangeLog7
-rw-r--r--x11-misc/xrmap/Manifest4
-rw-r--r--x11-misc/xrmap/files/digest-xrmap-2.292
-rw-r--r--x11-misc/xrmap/xrmap-2.29.ebuild52
4 files changed, 63 insertions, 2 deletions
diff --git a/x11-misc/xrmap/ChangeLog b/x11-misc/xrmap/ChangeLog
index d13e7541c947..02afb2442d92 100644
--- a/x11-misc/xrmap/ChangeLog
+++ b/x11-misc/xrmap/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-misc/xrmap
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/xrmap/ChangeLog,v 1.3 2004/06/24 22:43:55 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xrmap/ChangeLog,v 1.4 2004/07/03 15:40:05 pyrania Exp $
+
+*xrmap-2.29 (03 Jul 2004)
+
+ 03 Jul 2004; <pyrania@gentoo.org> +xrmap-2.29.ebuild:
+ Version bump. Closing bug #47525.
19 Jun 2004; <pyrania@gentoo.org> xrmap-2.10.ebuild:
Stable on x86.
diff --git a/x11-misc/xrmap/Manifest b/x11-misc/xrmap/Manifest
index e6b277910121..629c13a3b493 100644
--- a/x11-misc/xrmap/Manifest
+++ b/x11-misc/xrmap/Manifest
@@ -1,3 +1,5 @@
+MD5 ec52dcb0bd95ae84831aceb03918c0c1 ChangeLog 510
MD5 0fdb295fd7d7e5aaff3bcb30520e2b0e xrmap-2.10.ebuild 1741
-MD5 ba02be66848c78d8423f28429b977fb8 ChangeLog 391
+MD5 aabe1b37799cdf0c571a363e1bcfce9f xrmap-2.29.ebuild 1809
+MD5 6a9054a1b0da3f3c1577719984fbf63c files/digest-xrmap-2.29 125
MD5 d3d071db1ec04cf25a797313b25b8f49 files/digest-xrmap-2.10 121
diff --git a/x11-misc/xrmap/files/digest-xrmap-2.29 b/x11-misc/xrmap/files/digest-xrmap-2.29
new file mode 100644
index 000000000000..09ab2806a5f3
--- /dev/null
+++ b/x11-misc/xrmap/files/digest-xrmap-2.29
@@ -0,0 +1,2 @@
+MD5 8e0ef89c17aca958d855e8c75dff6ab0 xrmap-2.29.tar.bz2 1072241
+MD5 534818ffb498322b64373f66ae042596 CIA_WDB2.jpd.gz 7391060
diff --git a/x11-misc/xrmap/xrmap-2.29.ebuild b/x11-misc/xrmap/xrmap-2.29.ebuild
new file mode 100644
index 000000000000..932a3420f4e8
--- /dev/null
+++ b/x11-misc/xrmap/xrmap-2.29.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xrmap/xrmap-2.29.ebuild,v 1.1 2004/07/03 15:40:05 pyrania Exp $
+
+DESCRIPTION="The Xrmap program is a X client for generating images of the Earth and manipulating the CIA World data bank"
+HOMEPAGE="http://frmas.free.fr/li_1.htm#_Xrmap_"
+SRC_URI="ftp://ftp.ac-grenoble.fr/ge/geosciences/${PN}/${P}.tar.bz2
+ ftp://ftp.ac-grenoble.fr/ge/geosciences/CIA_WDB2.jpd.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="zlib"
+DEPEND="media-gfx/imagemagick
+ app-text/gv
+ sys-apps/less
+ media-libs/xpm
+ >=sys-apps/sed-4
+ zlib? ( sys-libs/zlib )"
+
+src_compile() {
+ use zlib || sed -i 's/-DZLIB\|-lz//g' Makefile.noimake || die
+
+ sed -e 's,^\(X11DIR=\).*,\1/usr/,g' \
+ -e 's,^\(EDITOR=\).*,\1less,g' \
+ -e 's,^\(SHAREDIR=\).*,\1/usr/share/xrmap,g' \
+ -e 's,^\(CCOPTIONS=\)-O6 -g,\1${CFLAGS},g' Makefile.noimake > Makefile || die
+
+ sed -i -e 's,^\(#define RCFILE \)SHAREDIR\",\1\"/etc/xrmap,g' \
+ -e 's,^\(#define SHAREDIR \"/usr/share/\),\1x,g' xrmap.h || die
+ emake || die
+ cd tools
+ emake || die
+ cd jpd2else
+ sed -i 's,^\(#define DEFAULT_JPD_FILE \"/usr/share/\),\1x,g' jpd2else.c || die
+ emake || die
+ cd ../cbd2else
+ emake || die
+}
+
+src_install() {
+ dobin xrmap tools/preproc tools/jpd2else/jpd2else tools/cbd2else/cbd2else || die
+ dodir /usr/share/${PN}/ || die
+ dodir /etc/xrmap || die
+ cp -r {i18n,Locations,factbook,anthems,flags,hymns} ${D}/usr/share/${PN}/ || die
+ cp Xrmaprc ${D}/etc/xrmap || die
+ cp ${WORKDIR}/CIA_WDB2.jpd ${D}/usr/share/${PN}/ || die
+ dodoc CHANGES COPYING README TODO WARNING tools/cbd2else/README.cbd tools/jpd2else/README.jpd tools/rez2else/README.rez || die
+
+ cd ${S}
+ newman xrmap.man xrmap.1 || die "newman failed"
+}