diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-09-22 06:27:15 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-09-22 06:27:15 +0000 |
commit | 4e2a059d2e88f98bcbe1ad3253f0269da91864f3 (patch) | |
tree | a38d167320ffacb7507531e753ed6a2e0ef09a73 /dev-util/makepp | |
parent | moved to dev-util (diff) | |
download | gentoo-2-4e2a059d2e88f98bcbe1ad3253f0269da91864f3.tar.gz gentoo-2-4e2a059d2e88f98bcbe1ad3253f0269da91864f3.tar.bz2 gentoo-2-4e2a059d2e88f98bcbe1ad3253f0269da91864f3.zip |
moved from sys-devel
(Portage version: 2.0.52-r1 http://ronaldmcnightrider.ytmnd.com/ )
Diffstat (limited to 'dev-util/makepp')
-rw-r--r-- | dev-util/makepp/ChangeLog | 21 | ||||
-rw-r--r-- | dev-util/makepp/Manifest | 18 | ||||
-rw-r--r-- | dev-util/makepp/files/digest-makepp-1.18 | 1 | ||||
-rw-r--r-- | dev-util/makepp/files/digest-makepp-1.40.1a | 1 | ||||
-rw-r--r-- | dev-util/makepp/files/makepp-1.18-install.patch | 69 | ||||
-rw-r--r-- | dev-util/makepp/files/makepp-1.40.1a-install.patch | 12 | ||||
-rw-r--r-- | dev-util/makepp/makepp-1.18.ebuild | 35 | ||||
-rw-r--r-- | dev-util/makepp/makepp-1.40.1a.ebuild | 42 | ||||
-rw-r--r-- | dev-util/makepp/metadata.xml | 5 |
9 files changed, 204 insertions, 0 deletions
diff --git a/dev-util/makepp/ChangeLog b/dev-util/makepp/ChangeLog new file mode 100644 index 000000000000..38923814ce6c --- /dev/null +++ b/dev-util/makepp/ChangeLog @@ -0,0 +1,21 @@ +# ChangeLog for sys-devel/makepp +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/makepp/ChangeLog,v 1.1 2005/09/22 06:27:15 vapier Exp $ + +*makepp-1.40.1a (21 Sep 2005) + + 21 Sep 2005; Mike Frysinger <vapier@gentoo.org> + +files/makepp-1.40.1a-install.patch, +makepp-1.40.1a.ebuild: + Version bump to fix #106780. + + 03 Jan 2005; Ciaran McCreesh <ciaranm@gentoo.org> : + Change encoding to UTF-8 for GLEP 31 compliance + + 11 Jun 2004; Bryan Østergaard <kloeri@gentoo.org> makepp-1.18.ebuild: + Stable on alpha. + +*makepp-1.18 (27 Apr 2003) + + 27 Apr 2003; <rac@gentoo.org> makepp-1.18.ebuild: + Initial import, requested in bug 4191 + diff --git a/dev-util/makepp/Manifest b/dev-util/makepp/Manifest new file mode 100644 index 000000000000..d1dfef6f0a8d --- /dev/null +++ b/dev-util/makepp/Manifest @@ -0,0 +1,18 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 +MD5 0442dc9dd8267d8fd63a4c843324423f makepp-1.40.1a.ebuild 976 +MD5 0b17c722d6f6781e0ae685a67ca3a71d makepp-1.18.ebuild 1010 +MD5 5dadbf3d7842bdff01d81ee43cb471d9 ChangeLog 700 +MD5 654d2795cdd9a6ae279129f7d191cae3 files/makepp-1.18-install.patch 2499 +MD5 083fda7b26387aa8eb168a509be56113 files/digest-makepp-1.18 63 +MD5 eb7bb91a8a065d358755c93817bddc5c files/makepp-1.40.1a-install.patch 426 +MD5 4eca3b7eff43ee070de2ecf824a4f74e files/digest-makepp-1.40.1a 66 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.2 (GNU/Linux) + +iD8DBQFDMenOgIKl8Uu19MoRAr/mAJ4xyrD9WZ7sNtTO4c8JuQ9LKLeN6gCfUNg6 +w/63rTU75lf57Ha0FIQpljY= +=jYrh +-----END PGP SIGNATURE----- diff --git a/dev-util/makepp/files/digest-makepp-1.18 b/dev-util/makepp/files/digest-makepp-1.18 new file mode 100644 index 000000000000..b211b9b56555 --- /dev/null +++ b/dev-util/makepp/files/digest-makepp-1.18 @@ -0,0 +1 @@ +MD5 0ab4fee5c74482d21bcbf8da3a292b1f makepp-1.18.tar.gz 236990 diff --git a/dev-util/makepp/files/digest-makepp-1.40.1a b/dev-util/makepp/files/digest-makepp-1.40.1a new file mode 100644 index 000000000000..b3d3f337a355 --- /dev/null +++ b/dev-util/makepp/files/digest-makepp-1.40.1a @@ -0,0 +1 @@ +MD5 0b4d1f205d33b1e6f0ddbcaf554acf91 makepp-1.40.1a.tar.gz 278170 diff --git a/dev-util/makepp/files/makepp-1.18-install.patch b/dev-util/makepp/files/makepp-1.18-install.patch new file mode 100644 index 000000000000..7d90e2166223 --- /dev/null +++ b/dev-util/makepp/files/makepp-1.18-install.patch @@ -0,0 +1,69 @@ +--- install.pl.orig 2003-02-18 13:15:15.000000000 -0800 ++++ install.pl 2003-02-18 13:49:10.000000000 -0800 +@@ -31,9 +31,24 @@ + # + # Now figure out where everything goes: + # +-$prefix = "/usr/local"; ++$prefix = shift(@ARGV) || ++ read_with_prompt( " ++You can specify a prefix directory that will simplify defaults for ++further questions. ++ ++What should be the prefix directory [$prefix]? ") || ++ "/usr/local"; ++ ++$inst_prefix = shift(@ARGV) || ++ read_with_prompt( " ++You can specify an install prefix that is prefixed to the runtime ++prefix for the install phase only. This is useful when installing ++into staging directories for packaging systems. + +-$bindir = shift(@_) || ++What should the install prefix be []? ") || ++ ""; ++ ++$bindir = shift(@ARGV) || + read_with_prompt(" + Makepp needs to know where you want to install it and its data files. + makepp is written in perl, but there is no particular reason to install +@@ -43,10 +58,7 @@ + Where should the makepp executable be installed [$prefix/bin]? ") || + "$prefix/bin"; + +-$bindir =~ m@(.*)/bin@ and $prefix = $1; +- # See if a prefix was specified. +- +-$datadir = shift @_ || read_with_prompt(" ++$datadir = shift @ARGV || read_with_prompt(" + Makepp has a number of library files that it needs to install somewhere. Some + of these are perl modules, but they can't be used by other perl programs, so + there's no point in installing them in the perl modules hierarchy; they are +@@ -55,14 +67,24 @@ + Where should the library files be installed [$prefix/share/makepp]? ") || + "$prefix/share/makepp"; + +-$htmldir = shift @_ || read_with_prompt(" ++$htmldir = shift @ARGV || read_with_prompt(" + Where should the HTML documentation be installed? + Enter \"none\" if you do not want any documentation installed. + HTML documentation directory [$prefix/share/makepp/html]: ") || + "$prefix/share/makepp/html"; + +-substitute_file("makepp", $bindir, 0755); +-substitute_file("recursive_makepp", $datadir, 0644); ++substitute_file("makepp", "$inst_prefix/$bindir", 0755); ++substitute_file("recursive_makepp", "$inst_prefix/$datadir", 0644); ++ ++if( $inst_prefix ) { ++ $bindir = join( '/', $inst_prefix, $bindir ); ++ $datadir = join( '/', $inst_prefix, $datadir ); ++ $htmldir = join( '/', $inst_prefix, $htmldir ); ++} ++ ++print STDERR "bindir now $bindir\n"; ++print STDERR "datadir now $datadir\n"; ++print STDERR "htmldir now $htmldir\n"; + + make_dir("$datadir/Signature"); + foreach $module (qw(FileInfo FileInfo_makepp MakeEvent Glob Makefile Makesubs Rule diff --git a/dev-util/makepp/files/makepp-1.40.1a-install.patch b/dev-util/makepp/files/makepp-1.40.1a-install.patch new file mode 100644 index 000000000000..b1ee013add3e --- /dev/null +++ b/dev-util/makepp/files/makepp-1.40.1a-install.patch @@ -0,0 +1,12 @@ +--- makepp-1.40/config.pl ++++ makepp-1.40/config.pl +@@ -34,7 +34,7 @@ + cd makepp-$(VERSION) && make test # Make sure it all runs. + rm -rf makepp-$(VERSION) + +-install: all +- $(PERL) install.pl $(BINDIR) $(DATADIR) $(MANDIR) $(HTMLDIR) $(FINDBIN) ++install: ++ $(PERL) install.pl $(DESTDIR)$(BINDIR) $(DESTDIR)$(DATADIR) $(DESTDIR)$(MANDIR) $(DESTDIR)$(HTMLDIR) $(DESTDIR)$(FINDBIN) + + .PHONY: all distribution install test diff --git a/dev-util/makepp/makepp-1.18.ebuild b/dev-util/makepp/makepp-1.18.ebuild new file mode 100644 index 000000000000..a06991fb6714 --- /dev/null +++ b/dev-util/makepp/makepp-1.18.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/makepp/makepp-1.18.ebuild,v 1.1 2005/09/22 06:27:15 vapier Exp $ + +inherit eutils + +DESCRIPTION="GNU make replacement" +HOMEPAGE="http://makepp.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc alpha" +IUSE="" +DEPEND=">=dev-lang/perl-5.6.0" + +src_unpack() { + unpack ${A} + cd ${S}; epatch ${FILESDIR}/${P}-install.patch + # There is a sandbox violation in this test. + # In future versions, this ebuild should try to find + # a better way of avoiding this, but the current version + # appears to have garbage NUL characters all over the test files, + # making them complicated to edit. + # Robert Coie <rac@gentoo.org> 2002.02.18 + rm ${S}/makepp_tests/include.test +} + +src_compile() { + make test || die +} + +src_install() { + perl install.pl /usr ${D} /usr/bin /usr/share/makepp /usr/share/doc/makepp +} diff --git a/dev-util/makepp/makepp-1.40.1a.ebuild b/dev-util/makepp/makepp-1.40.1a.ebuild new file mode 100644 index 000000000000..e687c6a72de8 --- /dev/null +++ b/dev-util/makepp/makepp-1.40.1a.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/makepp/makepp-1.40.1a.ebuild,v 1.1 2005/09/22 06:27:15 vapier Exp $ + +inherit eutils + +DESCRIPTION="GNU make replacement" +HOMEPAGE="http://makepp.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~ppc ~sparc ~x86" +IUSE="" + +DEPEND=">=dev-lang/perl-5.6.0" + +S=${WORKDIR}/${P%.*} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-install.patch + # remove ones which cause sandbox violations + rm makepp_tests/wildcard_repositories.test +} + +src_compile() { + # not an autoconf configure script + ./configure \ + --prefix=/usr \ + --bindir=/usr/bin \ + --htmldir=/usr/share/doc/${PF}/html \ + --mandir=/usr/share/man \ + --datadir=/usr/share/makepp \ + || die "configure failed" +} + +src_install() { + make install DESTDIR="${D}" || die + dodoc ChangeLog README +} diff --git a/dev-util/makepp/metadata.xml b/dev-util/makepp/metadata.xml new file mode 100644 index 000000000000..96a2d586367d --- /dev/null +++ b/dev-util/makepp/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>base-system</herd> +</pkgmetadata> |