diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-11-12 04:45:38 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-11-12 04:45:38 +0000 |
commit | 9ef0e378ed9d6dda4fd0d8b87afc9e8908d7ae2b (patch) | |
tree | da56befb5a1ea999d1d056a7fbe328db83246a9b /net-misc/urlview | |
parent | arm love #143380 (diff) | |
download | gentoo-2-9ef0e378ed9d6dda4fd0d8b87afc9e8908d7ae2b.tar.gz gentoo-2-9ef0e378ed9d6dda4fd0d8b87afc9e8908d7ae2b.tar.bz2 gentoo-2-9ef0e378ed9d6dda4fd0d8b87afc9e8908d7ae2b.zip |
Make this ebuild not completely suck at life and add some more KEYWORDS #143380.
(Portage version: 2.1.2_rc1-r5)
Diffstat (limited to 'net-misc/urlview')
-rw-r--r-- | net-misc/urlview/ChangeLog | 9 | ||||
-rw-r--r-- | net-misc/urlview/files/urlview-0.9-DESTDIR.patch | 12 | ||||
-rw-r--r-- | net-misc/urlview/urlview-0.9.ebuild | 36 |
3 files changed, 30 insertions, 27 deletions
diff --git a/net-misc/urlview/ChangeLog b/net-misc/urlview/ChangeLog index a0cc72fede18..f77066de9b84 100644 --- a/net-misc/urlview/ChangeLog +++ b/net-misc/urlview/ChangeLog @@ -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 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 index 000000000000..304fd6706c86 --- /dev/null +++ b/net-misc/urlview/files/urlview-0.9-DESTDIR.patch @@ -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??? + diff --git a/net-misc/urlview/urlview-0.9.ebuild b/net-misc/urlview/urlview-0.9.ebuild index 6423633aef25..457ea417019e 100644 --- a/net-misc/urlview/urlview-0.9.ebuild +++ b/net-misc/urlview/urlview-0.9.ebuild @@ -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 } - |