diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2010-10-20 20:35:02 +0000 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2010-10-20 20:35:02 +0000 |
commit | c3551ddabde202ff3db3105ba74678cc012892a8 (patch) | |
tree | 45b2d9f9e3f7134821910d2909f93bdd08dcd5b3 /x11-misc/see | |
parent | Cleanup (diff) | |
download | gentoo-2-c3551ddabde202ff3db3105ba74678cc012892a8.tar.gz gentoo-2-c3551ddabde202ff3db3105ba74678cc012892a8.tar.bz2 gentoo-2-c3551ddabde202ff3db3105ba74678cc012892a8.zip |
Initial commit (ebuild written by me).
(Portage version: 2.2_rc94/cvs/Linux x86_64)
Diffstat (limited to 'x11-misc/see')
-rw-r--r-- | x11-misc/see/ChangeLog | 10 | ||||
-rw-r--r-- | x11-misc/see/files/0.6-respect_destdir.patch | 51 | ||||
-rw-r--r-- | x11-misc/see/metadata.xml | 9 | ||||
-rw-r--r-- | x11-misc/see/see-0.6.ebuild | 30 |
4 files changed, 100 insertions, 0 deletions
diff --git a/x11-misc/see/ChangeLog b/x11-misc/see/ChangeLog new file mode 100644 index 000000000000..0b2dc12e6a0f --- /dev/null +++ b/x11-misc/see/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for x11-misc/see +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/see/ChangeLog,v 1.1 2010/10/20 20:35:02 dev-zero Exp $ + +*see-0.6 (20 Oct 2010) + + 20 Oct 2010; Tiziano Müller <dev-zero@gentoo.org> + +files/0.6-respect_destdir.patch, +see-0.6.ebuild, +metadata.xml: + Initial commit (ebuild written by me). + diff --git a/x11-misc/see/files/0.6-respect_destdir.patch b/x11-misc/see/files/0.6-respect_destdir.patch new file mode 100644 index 000000000000..ea4b99888aab --- /dev/null +++ b/x11-misc/see/files/0.6-respect_destdir.patch @@ -0,0 +1,51 @@ +diff --git a/Makefile.am b/Makefile.am +index d3ce419..9983d6a 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -2,23 +2,12 @@ SUBDIRS = src + buildextra = @builddir@/extra + pkgdatadir = $(datadir)/seetxt-runtime + +-install-data-am: +- -cp -f $(buildextra)/seetxt.1 $(mandir)/man1/ +- -ln -s $(mandir)/man1/seetxt.1 $(mandir)/man1/seeman.1 +- -ln -s $(bindir)/seetxt $(bindir)/seeman +- @echo " - enjoy see -" +- @echo " Installing some additional files in $(pkgdatadir)..." +- -mkdir $(pkgdatadir) +- -cp -f $(buildextra)/seeon.png $(buildextra)/seeoff.png $(buildextra)/.seeconfig $(pkgdatadir) +- -cp $(buildextra)/filelist $(pkgdatadir) +- -chmod 666 $(pkgdatadir)/filelist +- -strip --strip-all $(bindir)/seetxt ++dist_man_MANS = $(buildextra)/seetxt.1 ++pkgdata_DATA = $(buildextra)/seeon.png $(buildextra)/seeoff.png $(buildextra)/.seeconfig $(buildextra)/filelist ++ ++install-data-hook: ++ $(LN_S) seetxt.1 "$(DESTDIR)$(mandir)/man1/seeman.1" ++ ++uninstall-hook: ++ $(RM) "$(DESTDIR)$(mandir)/man1/seeman.1" + +-uninstall: uninstall-recursive +- @echo "Thanks for trying SEE!" +- -rm $(pkgdatadir)/* +- -rm $(pkgdatadir)/.seeconfig +- -rm $(mandir)/man1/seetxt.1 +- -rm $(mandir)/man1/seeman.1 +- -rm $(bindir)/seeman +- -rmdir $(pkgdatadir) +diff --git a/src/Makefile.am b/src/Makefile.am +index 5181bf2..0d952db 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -3,3 +3,10 @@ seetxt_CFLAGS = -D SDIR=\"$(datadir)/seetxt-runtime\" + seetxt_LDFLAGS = `pkg-config --libs gtk+-2.0` + INCLUDES = `pkg-config --cflags gtk+-2.0` + seetxt_SOURCES = see.c see.h ++ ++install-exec-hook: ++ $(LN_S) seetxt "$(DESTDIR)$(bindir)/seeman" ++ ++uninstall-hook: ++ $(RM) "$(DESTDIR)$(bindir)/seeman" ++ diff --git a/x11-misc/see/metadata.xml b/x11-misc/see/metadata.xml new file mode 100644 index 000000000000..9f8438a7910f --- /dev/null +++ b/x11-misc/see/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>dev-zero@gentoo.org</email> + <name>Tiziano Müller</name> + </maintainer> +</pkgmetadata> diff --git a/x11-misc/see/see-0.6.ebuild b/x11-misc/see/see-0.6.ebuild new file mode 100644 index 000000000000..0d1c87ccd005 --- /dev/null +++ b/x11-misc/see/see-0.6.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/see/see-0.6.ebuild,v 1.1 2010/10/20 20:35:02 dev-zero Exp $ + +EAPI=3 + +inherit autotools eutils + +DESCRIPTION="Clever, lightweight GUI text file and manual page viewer for X windows." +HOMEPAGE="http://code.google.com/p/seetxt/" +SRC_URI="http://seetxt.googlecode.com/files/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="x11-libs/gtk+:2" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +src_prepare() { + epatch "${FILESDIR}/${PV}-respect_destdir.patch" + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS ChangeLog NEWS +} |