diff options
author | Michael Cummings <mcummings@gentoo.org> | 2003-06-02 01:10:57 +0000 |
---|---|---|
committer | Michael Cummings <mcummings@gentoo.org> | 2003-06-02 01:10:57 +0000 |
commit | d4098463daf2d593879caef6890ab8663f303f80 (patch) | |
tree | 3ca5efb1da7715fc4221cd9b4c6fdffb25f6ed2b /dev-perl/ExtUtils-MakeMaker | |
parent | works (diff) | |
download | historical-d4098463daf2d593879caef6890ab8663f303f80.tar.gz historical-d4098463daf2d593879caef6890ab8663f303f80.tar.bz2 historical-d4098463daf2d593879caef6890ab8663f303f80.zip |
Updated because of eclass changes
Diffstat (limited to 'dev-perl/ExtUtils-MakeMaker')
-rw-r--r-- | dev-perl/ExtUtils-MakeMaker/ChangeLog | 8 | ||||
-rw-r--r-- | dev-perl/ExtUtils-MakeMaker/ExtUtils-MakeMaker-6.05-r5.ebuild | 135 | ||||
-rw-r--r-- | dev-perl/ExtUtils-MakeMaker/Manifest | 2 |
3 files changed, 144 insertions, 1 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 ae4755807c83..c50e6791abfd 100644 --- a/dev-perl/ExtUtils-MakeMaker/Manifest +++ b/dev-perl/ExtUtils-MakeMaker/Manifest @@ -1,3 +1,5 @@ MD5 319d1374f2c1d7ce4bfa3b744b59ce6a ChangeLog 2854 MD5 afdae3e63f30e2cc35cd213bec16ff62 ExtUtils-MakeMaker-6.05-r4.ebuild 3327 +MD5 b020b8a1b75f9680dc0d989e8cd01326 ExtUtils-MakeMaker-6.05-r5.ebuild 3200 MD5 2cc7445bb2472696df202d4f1eccae98 files/digest-ExtUtils-MakeMaker-6.05-r4 75 +MD5 2cc7445bb2472696df202d4f1eccae98 files/digest-ExtUtils-MakeMaker-6.05-r5 75 |