summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2004-06-30 15:02:56 +0000
committerAron Griffis <agriffis@gentoo.org>2004-06-30 15:02:56 +0000
commit82876fdd6f003041c5abd1e15a027bbc2c7d6342 (patch)
treedfeb11d95b10c76eb7ccf18d6e9d0875f7368e77 /dev-perl/SGMLSpm/SGMLSpm-1.03-r5.ebuild
parentstable on ia64 #53226 (Manifest recommit) (diff)
downloadgentoo-2-82876fdd6f003041c5abd1e15a027bbc2c7d6342.tar.gz
gentoo-2-82876fdd6f003041c5abd1e15a027bbc2c7d6342.tar.bz2
gentoo-2-82876fdd6f003041c5abd1e15a027bbc2c7d6342.zip
fix compilation sequence since there is now a default src_compile #55134
Diffstat (limited to 'dev-perl/SGMLSpm/SGMLSpm-1.03-r5.ebuild')
-rw-r--r--dev-perl/SGMLSpm/SGMLSpm-1.03-r5.ebuild20
1 files changed, 11 insertions, 9 deletions
diff --git a/dev-perl/SGMLSpm/SGMLSpm-1.03-r5.ebuild b/dev-perl/SGMLSpm/SGMLSpm-1.03-r5.ebuild
index e3df3aa7563b..44bd618ff43f 100644
--- a/dev-perl/SGMLSpm/SGMLSpm-1.03-r5.ebuild
+++ b/dev-perl/SGMLSpm/SGMLSpm-1.03-r5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/SGMLSpm/SGMLSpm-1.03-r5.ebuild,v 1.7 2004/06/29 13:10:47 tgall Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/SGMLSpm/SGMLSpm-1.03-r5.ebuild,v 1.8 2004/06/30 15:02:56 agriffis Exp $
MY_P="${P}ii"
S=${WORKDIR}/${PN}
@@ -17,21 +17,23 @@ DEPEND=">=dev-lang/perl-5.8.0-r12
src_unpack() {
unpack ${A}
cp ${FILESDIR}/${P}-Makefile ${S}/Makefile
-}
-
-src_install () {
eval `perl '-V:package'`
eval `perl '-V:version'`
- dodir /usr/bin
- dodir /usr/lib/${package}/vendor_perl/${version}
- dodir /usr/share/SGMLS
- dodoc BUGS COPYING ChangeLog README TODO
cd ${S}
sed -i -e "s:5.6.1:${version}:" Makefile
# sed -i -e "s:perl5:perl5/vendor_perl/${version}:" Makefile
sed -i -e "s:MODULEDIR = \${PERL5DIR}/site_perl/${version}/SGMLS:MODULEDIR = \${PERL5DIR}/vendor_perl/${version}/SGMLS:" Makefile
sed -i -e "s:SPECDIR = \${PERL5DIR}:SPECDIR = ${D}/usr/share/SGMLS:" Makefile
sed -i -e "s:\${PERL5DIR}/SGMLS.pm:\${PERL5DIR}/vendor_perl/${version}/SGMLS.pm:" Makefile
- make -f Makefile || die
+ sed -i -e "s/^all: .*/all:/" Makefile
+}
+
+src_install () {
+ dodir /usr/bin
+ dodir /usr/lib/${package}/vendor_perl/${version}
+ dodir /usr/share/SGMLS
+ dodoc BUGS COPYING ChangeLog README TODO
+ make install -f ${S}/Makefile || die
+ make docs -f ${S}/Makefile || die
# cd ${D}/usr/lib/${package}/vendor_perl/${version}
}