diff options
author | Michael Cummings <mcummings@gentoo.org> | 2003-06-02 01:11:01 +0000 |
---|---|---|
committer | Michael Cummings <mcummings@gentoo.org> | 2003-06-02 01:11:01 +0000 |
commit | 58f29af367c682b0d2d66b78115c0f70218068ea (patch) | |
tree | 70b7255303dd10bb1be44125a8ea8faf3715cb74 /dev-perl/ExtUtils-MakeMaker | |
parent | Updated because of eclass changes (diff) | |
download | gentoo-2-58f29af367c682b0d2d66b78115c0f70218068ea.tar.gz gentoo-2-58f29af367c682b0d2d66b78115c0f70218068ea.tar.bz2 gentoo-2-58f29af367c682b0d2d66b78115c0f70218068ea.zip |
Updated because of eclass changes
Diffstat (limited to 'dev-perl/ExtUtils-MakeMaker')
4 files changed, 145 insertions, 3 deletions
diff --git a/dev-perl/ExtUtils-MakeMaker/ChangeLog b/dev-perl/ExtUtils-MakeMaker/ChangeLog index 23285b8d8548..eed437751b11 100644 --- a/dev-perl/ExtUtils-MakeMaker/ChangeLog +++ b/dev-perl/ExtUtils-MakeMaker/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-perl/ExtUtils-MakeMaker # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-perl/ExtUtils-MakeMaker/ChangeLog,v 1.19 2003/06/01 11:47:54 mcummings Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-perl/ExtUtils-MakeMaker/ChangeLog,v 1.20 2003/06/02 01:10:57 mcummings Exp $ + +*ExtUtils-MakeMaker-6.05-r5 (01 Jun 2003) + + 01 Jun 2003; Michael Cummings <mcummings@gentoo.org> + ExtUtils-MakeMaker-6.05-r5.ebuild: + Updated because of eclass changes 01 Jun 2003; Michael Cummings <mcummings@gentoo.org> ExtUtils-MakeMaker-6.05-r4.ebuild: diff --git a/dev-perl/ExtUtils-MakeMaker/ExtUtils-MakeMaker-6.05-r5.ebuild b/dev-perl/ExtUtils-MakeMaker/ExtUtils-MakeMaker-6.05-r5.ebuild new file mode 100644 index 000000000000..7038a2afb2d3 --- /dev/null +++ b/dev-perl/ExtUtils-MakeMaker/ExtUtils-MakeMaker-6.05-r5.ebuild @@ -0,0 +1,135 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/ExtUtils-MakeMaker/ExtUtils-MakeMaker-6.05-r5.ebuild,v 1.1 2003/06/02 01:10:57 mcummings Exp $ + + +S=${WORKDIR}/${P} +DESCRIPTION="MakeMaker Perl Module" +SRC_URI="http://cpan.valueclick.com/modules/by-module/ExtUtils/${P}.tar.gz" +HOMEPAGE="http://cpan.valueclick.com/modules/by-module/ExtUtils/${P}.readme" + +SLOT="0" +LICENSE="Artistic | GPL-2" +KEYWORDS="x86 sparc ppc alpha mips hppa arm" + +DEPEND=">=dev-lang/perl-5.6.1-r10" + +src_compile() { + perl Makefile.PL ${myconf} PREFIX=${D}/usr || die +} + +src_install () { + perlinfo + dodir ${POD_DIR} + + test -z ${mytargets} && mytargets="install" + make \ + PREFIX=${D}/usr \ + INSTALLMAN1DIR=${D}/usr/share/man/man1 \ + INSTALLMAN2DIR=${D}/usr/share/man/man2 \ + INSTALLMAN3DIR=${D}/usr/share/man/man3 \ + INSTALLMAN4DIR=${D}/usr/share/man/man4 \ + INSTALLMAN5DIR=${D}/usr/share/man/man5 \ + INSTALLMAN6DIR=${D}/usr/share/man/man6 \ + INSTALLMAN7DIR=${D}/usr/share/man/man7 \ + INSTALLMAN8DIR=${D}/usr/share/man/man8 \ + INSTALLSITEMAN1DIR=${D}/usr/share/man/man1 \ + INSTALLSITEMAN2DIR=${D}/usr/share/man/man2 \ + INSTALLSITEMAN3DIR=${D}/usr/share/man/man3 \ + INSTALLSITEMAN4DIR=${D}/usr/share/man/man4 \ + INSTALLSITEMAN5DIR=${D}/usr/share/man/man5 \ + INSTALLSITEMAN6DIR=${D}/usr/share/man/man6 \ + INSTALLSITEMAN7DIR=${D}/usr/share/man/man7 \ + INSTALLSITEMAN8DIR=${D}/usr/share/man/man8 \ + INSTALLSITEARCH=${D}/${SITE_ARCH} \ + INSTALLSCRIPT=${D}/usr/bin \ + ${myinst} \ + ${mytargets} || die + + if [ -f ${D}${ARCH_LIB}/perllocal.pod ]; + then + touch ${D}/${POD_DIR}/${P}.pod + sed -e "s:${D}::g" ${D}${ARCH_LIB}/perllocal.pod \ + >> ${D}/${POD_DIR}/${P}.pod + touch ${D}/${POD_DIR}/${P}.pod.arch + cat ${D}/${POD_DIR}/${P}.pod >>${D}/${POD_DIR}/${P}.pod.arch + rm -f ${D}/${ARCH_LIB}/perllocal.pod + fi + if [ -f ${D}${SITE_LIB}/perllocal.pod ]; + then + touch ${D}/${POD_DIR}/${P}.pod + sed -e "s:${D}::g" ${D}${SITE_LIB}/perllocal.pod \ + >> ${D}/${POD_DIR}/${P}.pod + touch ${D}/${POD_DIR}/${P}.pod.site + cat ${D}/${POD_DIR}/${P}.pod >>${D}/${POD_DIR}/${P}.pod.site + rm -f ${D}/${SITE_LIB}/perllocal.pod + fi + + for FILE in `find ${D} -type f -name "*.html" -o -name ".packlist"`; do + sed -ie "s:${D}:/:g" ${FILE} + done + + dodoc Change* MANIFEST* README* ${mydoc} +} + +pkg_setup() { + + perlinfo +} + + +pkg_preinst() { + + perlinfo +} + +pkg_postinst() { + + updatepod +} + +pkg_prerm() { + + updatepod +} + +pkg_postrm() { + + updatepod +} + +perlinfo() { + + if [ -f /usr/bin/perl ] + then + eval `perl '-V:installarchlib'` + eval `perl '-V:installsitearch'` + ARCH_LIB=${installarchlib} + SITE_LIB=${installsitearch} + + eval `perl '-V:version'` + POD_DIR="/usr/share/perl/gentoo-pods/${version}" + fi + +} + +updatepod() { + perlinfo + + if [ -d "${POD_DIR}" ] + then + for FILE in `find ${POD_DIR} -type f -name "*.pod.arch"`; do + cat ${FILE} >> ${ARCH_LIB}/perllocal.pod + rm -f ${FILE} + done + for FILE in `find ${POD_DIR} -type f -name "*.pod.site"`; do + cat ${FILE} >> ${SITE_LIB}/perllocal.pod + rm -f ${FILE} + done + + #cat ${POD_DIR}/*.pod.arch >> ${ARCH_LIB}/perllocal.pod + #cat ${POD_DIR}/*.pod.site >> ${SITE_LIB}/perllocal.pod + #rm -f ${POD_DIR}/*.pod.site + #rm -f ${POD_DIR}/*.pod.site + fi +} diff --git a/dev-perl/ExtUtils-MakeMaker/Manifest b/dev-perl/ExtUtils-MakeMaker/Manifest index c50e6791abfd..66e0c3468b5d 100644 --- a/dev-perl/ExtUtils-MakeMaker/Manifest +++ b/dev-perl/ExtUtils-MakeMaker/Manifest @@ -1,5 +1,5 @@ -MD5 319d1374f2c1d7ce4bfa3b744b59ce6a ChangeLog 2854 +MD5 a0b3ce28b833eed507a1120e4e4ed3dc ChangeLog 3026 MD5 afdae3e63f30e2cc35cd213bec16ff62 ExtUtils-MakeMaker-6.05-r4.ebuild 3327 -MD5 b020b8a1b75f9680dc0d989e8cd01326 ExtUtils-MakeMaker-6.05-r5.ebuild 3200 +MD5 3029822953ee00dc1da85fbfd282ac13 ExtUtils-MakeMaker-6.05-r5.ebuild 3327 MD5 2cc7445bb2472696df202d4f1eccae98 files/digest-ExtUtils-MakeMaker-6.05-r4 75 MD5 2cc7445bb2472696df202d4f1eccae98 files/digest-ExtUtils-MakeMaker-6.05-r5 75 diff --git a/dev-perl/ExtUtils-MakeMaker/files/digest-ExtUtils-MakeMaker-6.05-r5 b/dev-perl/ExtUtils-MakeMaker/files/digest-ExtUtils-MakeMaker-6.05-r5 new file mode 100644 index 000000000000..ea0a957a9503 --- /dev/null +++ b/dev-perl/ExtUtils-MakeMaker/files/digest-ExtUtils-MakeMaker-6.05-r5 @@ -0,0 +1 @@ +MD5 559896f9f222a750812c58b937a660f3 ExtUtils-MakeMaker-6.05.tar.gz 187528 |