summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cummings <mcummings@gentoo.org>2002-08-13 15:23:29 +0000
committerMichael Cummings <mcummings@gentoo.org>2002-08-13 15:23:29 +0000
commit0160810e410eeccc3485eed37aa92184d4b44d33 (patch)
tree712529e372b471e56fa0c86e869c72ec4fad7dec /dev-perl/SGMLSpm/SGMLSpm-1.03-r3.ebuild
parentadded mask for dev-perl/SGMLS -r3, fixed more hardcoded values found in (diff)
downloadgentoo-2-0160810e410eeccc3485eed37aa92184d4b44d33.tar.gz
gentoo-2-0160810e410eeccc3485eed37aa92184d4b44d33.tar.bz2
gentoo-2-0160810e410eeccc3485eed37aa92184d4b44d33.zip
Corrected more hardcoded values in the Makefile - there is no
configuration step for this particular module
Diffstat (limited to 'dev-perl/SGMLSpm/SGMLSpm-1.03-r3.ebuild')
-rw-r--r--dev-perl/SGMLSpm/SGMLSpm-1.03-r3.ebuild41
1 files changed, 41 insertions, 0 deletions
diff --git a/dev-perl/SGMLSpm/SGMLSpm-1.03-r3.ebuild b/dev-perl/SGMLSpm/SGMLSpm-1.03-r3.ebuild
new file mode 100644
index 000000000000..db1cc3b7e095
--- /dev/null
+++ b/dev-perl/SGMLSpm/SGMLSpm-1.03-r3.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/SGMLSpm/SGMLSpm-1.03-r3.ebuild,v 1.1 2002/08/13 15:23:29 mcummings Exp $
+
+MY_P="${P}ii"
+S=${WORKDIR}/${PN}
+DESCRIPTION="Perl library for parsing the output of nsgmls"
+SRC_URI="http://cpan.perl.org/pub/perl/CPAN/modules/by-module/SGMLS/${MY_P}.tar.gz"
+HOMEPAGE="http://cpan.perl.org/pub/perl/CPAN/modules/by-module/SGMLS/${MY_P}.readme"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86"
+
+src_unpack() {
+
+ unpack ${A}
+ cp ${FILESDIR}/${P}-Makefile ${S}/Makefile
+
+}
+
+src_install () {
+
+ eval `perl '-V:package'`
+ eval `perl '-V:version'`
+ cd ${S}
+ dodir /usr/lib/${package}/site_perl/${version}
+ dodir /usr/bin
+ cp Makefile Makefile.bak
+ sed -e "s:5.6.1:${version}:" Makefile.bak > Makefile
+ cp Makefile Makefile.bak
+ sed -e "s:perl5:perl5/site_perl/${version}:" Makefile.bak > Makefile
+ cp Makefile Makefile.bak
+ sed -e "s:MODULEDIR = \${PERL5DIR}/site_perl/${version}/SGMLS:MODULEDIR = \${PERL5DIR}/SGMLS:" Makefile.bak > Makefile
+ make -f Makefile || die
+ cd ${D}/usr/lib/${package}/site_perl/${version}
+ #mv SGMLS.pm site_perl/${version}/SGMLS.pm
+
+ dodoc BUGS COPYING ChangeLog README TODO
+
+}