Make this ebuild not completely suck at life and add some more KEYWORDS #143380.
authorMike Frysinger <vapier@gentoo.org>
Sun, 12 Nov 2006 04:45:38 +0000 (04:45 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sun, 12 Nov 2006 04:45:38 +0000 (04:45 +0000)
Package-Manager: portage-2.1.2_rc1-r5

net-misc/urlview/ChangeLog
net-misc/urlview/Manifest
net-misc/urlview/files/urlview-0.9-DESTDIR.patch [new file with mode: 0644]
net-misc/urlview/urlview-0.9.ebuild

index a0cc72fede18afecd62ab2a499957bdf56dd1600..f77066de9b844988a3cb4f9f37918ee7dd68c180 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for net-misc/urlview
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/urlview/ChangeLog,v 1.19 2006/10/15 12:52:53 agriffis Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/urlview/ChangeLog,v 1.20 2006/11/12 04:45:38 vapier Exp $
+
+  12 Nov 2006; Mike Frysinger <vapier@gentoo.org>
+  +files/urlview-0.9-DESTDIR.patch, urlview-0.9.ebuild:
+  Make this ebuild not completely suck at life and add some more KEYWORDS
+  #143380.
 
   15 Oct 2006; Aron Griffis <agriffis@gentoo.org> urlview-0.9.ebuild:
   Mark 0.9 stable on ia64
index 997602c318a909ee360dff331e07c030c8b41767..260324a0328419e44c665fe166df15f0e33c7444 100644 (file)
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
 AUX include-fix.patch 238 RMD160 4545d690edfe756e8f8a90e15dc82cf7fea873ba SHA1 d26bba9862b0117133bb918ed84f343a46017ff9 SHA256 d49ebf03c879e2d2bcd360fb8813633870cf1fd68fac31a13bfa239dd7d9bffb
 MD5 f631f5ca3775f966209cb1425160f52f files/include-fix.patch 238
 RMD160 4545d690edfe756e8f8a90e15dc82cf7fea873ba files/include-fix.patch 238
@@ -6,15 +9,26 @@ AUX no-trailing-newline.patch 527 RMD160 c85d1e4566ec4f8c0e2c489bbc0ab7760d6dc68
 MD5 c3cd1ba7a6d71c5c30a75ef47d767eee files/no-trailing-newline.patch 527
 RMD160 c85d1e4566ec4f8c0e2c489bbc0ab7760d6dc684 files/no-trailing-newline.patch 527
 SHA256 f4b6eb096d5fd0677497de6c2fd12c6b08f84a5a047976345d3cda0d0becba30 files/no-trailing-newline.patch 527
+AUX urlview-0.9-DESTDIR.patch 299 RMD160 d4357f8976c0522bd0176615c4b6344c0a617e3a SHA1 3f8c594fe82d8b9c21b7ddfc98cdea612777faff SHA256 c2ba289ad10354dd9c67f1914c5dd9adbc1f207954c4d43f15c2016e797f876d
+MD5 cfe68c7ae5dbb8f2da81a83d0ba89f64 files/urlview-0.9-DESTDIR.patch 299
+RMD160 d4357f8976c0522bd0176615c4b6344c0a617e3a files/urlview-0.9-DESTDIR.patch 299
+SHA256 c2ba289ad10354dd9c67f1914c5dd9adbc1f207954c4d43f15c2016e797f876d files/urlview-0.9-DESTDIR.patch 299
 DIST urlview-0.9.tar.gz 46685 RMD160 eafefdc7f1fe06f3f45a3f2a694c42dd833a178e SHA1 e366312a7dd04eb38909a36f854c502fbe81f4be SHA256 74d18026e84e3cd70a3fdd1a7247a68031b0c1c1c6d761d64b7063ff71091cc3
-EBUILD urlview-0.9.ebuild 1400 RMD160 f9e366dac4c52b252aeaeb9193799917869b2f90 SHA1 b7d9259066d8a2de287ac1a66d8d8904849b3330 SHA256 17359a82a38162ead396d7130a7aaf6064bf2dd66ea9ccbd1d6d0577b7fb8a69
-MD5 317c6811264cb3de400a203c2133e865 urlview-0.9.ebuild 1400
-RMD160 f9e366dac4c52b252aeaeb9193799917869b2f90 urlview-0.9.ebuild 1400
-SHA256 17359a82a38162ead396d7130a7aaf6064bf2dd66ea9ccbd1d6d0577b7fb8a69 urlview-0.9.ebuild 1400
-MISC ChangeLog 2236 RMD160 8b5fc82f0f46a307d6bbfb5cc2833c92da8e6c2d SHA1 f5668134fdedf31639a4aea66f612abb54374fb8 SHA256 8fbf6689f99da24207becc415b5e7f0b4936a4abff4a057cd021b4db62d41673
-MD5 d21b0072fca3caa9c9045795b0363b2b ChangeLog 2236
-RMD160 8b5fc82f0f46a307d6bbfb5cc2833c92da8e6c2d ChangeLog 2236
-SHA256 8fbf6689f99da24207becc415b5e7f0b4936a4abff4a057cd021b4db62d41673 ChangeLog 2236
+EBUILD urlview-0.9.ebuild 1125 RMD160 26a26baafd71c31a345555eab689ad41a4b738cb SHA1 f0b3698425c84ecaa1ab32028cf9e4b657da6528 SHA256 396751a705b55458c42d5d44f69b19940231b66539494f3d4af4031ff06e215c
+MD5 1b644b696812f23a2e015a56190a19b2 urlview-0.9.ebuild 1125
+RMD160 26a26baafd71c31a345555eab689ad41a4b738cb urlview-0.9.ebuild 1125
+SHA256 396751a705b55458c42d5d44f69b19940231b66539494f3d4af4031ff06e215c urlview-0.9.ebuild 1125
+MISC ChangeLog 2426 RMD160 d9864d110225fdc5433f6a5ab02ca4451d261a87 SHA1 b20701b85232d1f4500b1733269b7c0722bc1fe7 SHA256 a78c98cd6623de9e3af800d033404fe0bd9c11d7cd8d5186f598a3b26f34174f
+MD5 8ea6e1045b76a8970bee004ce828f6e0 ChangeLog 2426
+RMD160 d9864d110225fdc5433f6a5ab02ca4451d261a87 ChangeLog 2426
+SHA256 a78c98cd6623de9e3af800d033404fe0bd9c11d7cd8d5186f598a3b26f34174f ChangeLog 2426
 MD5 20cfb94494a105fe57503d249eb99ab3 files/digest-urlview-0.9 232
 RMD160 5424bb17ab10d6809d0a24c1153474ab0d12f379 files/digest-urlview-0.9 232
 SHA256 16f1062e69156c54604e12927e195265e67d8fd003217acb3c8ab2ff6ca39620 files/digest-urlview-0.9 232
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.5 (GNU/Linux)
+
+iD8DBQFFVqb+amhnQswr0vIRApR9AJ9HyjcoogxnwgdZc4/s/nwW93SfVwCghb/U
+kRcijsl237m/xBBSlmDDuWE=
+=dtnH
+-----END PGP SIGNATURE-----
diff --git a/net-misc/urlview/files/urlview-0.9-DESTDIR.patch b/net-misc/urlview/files/urlview-0.9-DESTDIR.patch
new file mode 100644 (file)
index 0000000..304fd67
--- /dev/null
@@ -0,0 +1,12 @@
+--- Makefile.in
++++ Makefile.in
+@@ -318,7 +318,8 @@
+ install-data-local:
+-      $(INSTALL_DATA) urlview.man $(mandir)/man1/urlview.1
++      $(mkinstalldirs) $(DESTDIR)$(mandir)/man1
++      $(INSTALL_DATA) urlview.man $(DESTDIR)$(mandir)/man1/urlview.1
+ # how to create a target for uninstall-data-local???
index 6423633aef2507f9375303a25b75b668a98c151e..457ea417019ee85f07b287e38e0fb7a70506048a 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/urlview/urlview-0.9.ebuild,v 1.25 2006/10/15 12:52:53 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/urlview/urlview-0.9.ebuild,v 1.26 2006/11/12 04:45:38 vapier Exp $
 
 inherit eutils
 
@@ -10,35 +10,22 @@ SRC_URI="ftp://gd.tuwien.ac.at/infosys/mail/mutt/contrib/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 ia64 ppc ~ppc-macos ppc64 s390 sparc x86"
+KEYWORDS="alpha amd64 arm ia64 ppc ~ppc-macos ppc64 s390 sh sparc x86"
 IUSE=""
 
 DEPEND=">=sys-libs/ncurses-5.2"
 
-src_compile() {
-       epatch ${FILESDIR}/no-trailing-newline.patch
-       epatch ${FILESDIR}/include-fix.patch
-
-       ./configure \
-               --infodir=/usr/share/info \
-               --mandir=/usr/share/man \
-               --prefix=/usr \
-               --sysconfdir=/etc \
-               --host=${CHOST} || die "Configure Failed"
-
-        emake || die "Parallel Make Failed"
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+       epatch "${FILESDIR}"/no-trailing-newline.patch
+       epatch "${FILESDIR}"/include-fix.patch
+       epatch "${FILESDIR}"/${P}-DESTDIR.patch
 }
 
-src_install () {
-       dodir /usr/share/man/man1
-
-       make infodir=${D}/usr/share/info \
-               mandir=${D}/usr/share/man \
-               prefix=${D}/usr \
-               sysconfdir=${D}/etc \
-               install || die "Installation Failed"
-
-       dodoc README INSTALL ChangeLog AUTHORS COPYING sample.urlview
+src_install() {
+       emake install DESTDIR="${D}" || die
+       dodoc README INSTALL ChangeLog AUTHORS sample.urlview
        dobin url_handler.sh
 }
 
@@ -51,4 +38,3 @@ pkg_postinst() {
        einfo "your ~/.muttrc to prevent garbled URLs."
        echo
 }
-