+++ /dev/null
---- 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
+++ /dev/null
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=0
-
-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"
-
-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
-}