diff options
author | Markus Nigbur <pyrania@gentoo.org> | 2004-03-06 02:31:44 +0000 |
---|---|---|
committer | Markus Nigbur <pyrania@gentoo.org> | 2004-03-06 02:31:44 +0000 |
commit | 247b3f8ec9daa3ad1d4f5d487cde03f02cfa112e (patch) | |
tree | ce8f02c32cf0509cc2fa3cd5f9b1f5a08d4d09f1 /x11-misc/xrmap | |
parent | Added sed to fix DPATH and SPATH. (diff) | |
download | historical-247b3f8ec9daa3ad1d4f5d487cde03f02cfa112e.tar.gz historical-247b3f8ec9daa3ad1d4f5d487cde03f02cfa112e.tar.bz2 historical-247b3f8ec9daa3ad1d4f5d487cde03f02cfa112e.zip |
Initial import.
Diffstat (limited to 'x11-misc/xrmap')
-rw-r--r-- | x11-misc/xrmap/ChangeLog | 9 | ||||
-rw-r--r-- | x11-misc/xrmap/Manifest | 3 | ||||
-rw-r--r-- | x11-misc/xrmap/files/digest-xrmap-2.10 | 2 | ||||
-rw-r--r-- | x11-misc/xrmap/xrmap-2.10.ebuild | 49 |
4 files changed, 63 insertions, 0 deletions
diff --git a/x11-misc/xrmap/ChangeLog b/x11-misc/xrmap/ChangeLog new file mode 100644 index 000000000000..d95cd51ba37f --- /dev/null +++ b/x11-misc/xrmap/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for x11-misc/xrmap +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xrmap/ChangeLog,v 1.1 2004/03/06 02:31:44 pyrania Exp $ + +*xrmap-2.10 (06 Mar 2004) + + 06 Mar 2004; Markus Nigbur <pyrania@gentoo.org> xrmap-2.10.ebuild: + Initial import. + diff --git a/x11-misc/xrmap/Manifest b/x11-misc/xrmap/Manifest new file mode 100644 index 000000000000..d62c9f8ec8f4 --- /dev/null +++ b/x11-misc/xrmap/Manifest @@ -0,0 +1,3 @@ +MD5 6a0f6aaa4600106812c2c312e92e6266 xrmap-2.10.ebuild 1750 +MD5 9a32d999aead3f091addc4d8afb6238b ChangeLog 326 +MD5 d3d071db1ec04cf25a797313b25b8f49 files/digest-xrmap-2.10 121 diff --git a/x11-misc/xrmap/files/digest-xrmap-2.10 b/x11-misc/xrmap/files/digest-xrmap-2.10 new file mode 100644 index 000000000000..34a01b3f8ea2 --- /dev/null +++ b/x11-misc/xrmap/files/digest-xrmap-2.10 @@ -0,0 +1,2 @@ +MD5 e18247abf044e8e00616ef67f6126678 xrmap-2.10.tgz 3944521 +MD5 534818ffb498322b64373f66ae042596 CIA_WDB2.jpd.gz 7391060 diff --git a/x11-misc/xrmap/xrmap-2.10.ebuild b/x11-misc/xrmap/xrmap-2.10.ebuild new file mode 100644 index 000000000000..a49c30ee5ca2 --- /dev/null +++ b/x11-misc/xrmap/xrmap-2.10.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xrmap/xrmap-2.10.ebuild,v 1.1 2004/03/06 02:31:44 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}.tgz + 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} ${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 +} |