diff options
author | Robert Coie <rac@gentoo.org> | 2003-06-25 07:46:51 +0000 |
---|---|---|
committer | Robert Coie <rac@gentoo.org> | 2003-06-25 07:46:51 +0000 |
commit | a444d09ae36f49f3cb190d5ddecf911bf013ae1e (patch) | |
tree | 167a19a2c716d488dd1ae13100772a66c6c711c9 /dev-perl/ExtUtils-MakeMaker | |
parent | experimental new version, @INC reordering for module cascading (diff) | |
download | historical-a444d09ae36f49f3cb190d5ddecf911bf013ae1e.tar.gz historical-a444d09ae36f49f3cb190d5ddecf911bf013ae1e.tar.bz2 historical-a444d09ae36f49f3cb190d5ddecf911bf013ae1e.zip |
new version, installs into vendor directory
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-r6.ebuild | 141 | ||||
-rw-r--r-- | dev-perl/ExtUtils-MakeMaker/Manifest | 6 |
3 files changed, 152 insertions, 3 deletions
diff --git a/dev-perl/ExtUtils-MakeMaker/ChangeLog b/dev-perl/ExtUtils-MakeMaker/ChangeLog index c3c69ca6723f..709f53c363dd 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.21 2003/06/07 06:53:48 rac Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-perl/ExtUtils-MakeMaker/ChangeLog,v 1.22 2003/06/25 07:46:50 rac Exp $ + +*ExtUtils-MakeMaker-6.05-r6 (25 Jun 2003) + + 25 Jun 2003; <rac@gentoo.org> ExtUtils-MakeMaker-6.05-r6.ebuild: + Install into vendor directory instead of overwriting files in core. Requires + >=perl-5.8.0-r12, which is still highly experimental 06 Jun 2003; <rac@gentoo.org> ExtUtils-MakeMaker-6.05-r4.ebuild, ExtUtils-MakeMaker-6.05-r5.ebuild: diff --git a/dev-perl/ExtUtils-MakeMaker/ExtUtils-MakeMaker-6.05-r6.ebuild b/dev-perl/ExtUtils-MakeMaker/ExtUtils-MakeMaker-6.05-r6.ebuild new file mode 100644 index 000000000000..123cf1963f5f --- /dev/null +++ b/dev-perl/ExtUtils-MakeMaker/ExtUtils-MakeMaker-6.05-r6.ebuild @@ -0,0 +1,141 @@ +# 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-r6.ebuild,v 1.1 2003/06/25 07:46:51 rac Exp $ + +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" +IUSE="" +SLOT="0" +LICENSE="Artistic | GPL-2" +KEYWORDS="~x86 ~amd64 ~sparc ~ppc ~alpha ~mips ~hppa ~arm" + +DEPEND=">=dev-lang/perl-5.8.0-r12 >=sys-apps/sed-4" + +src_compile() { + perl Makefile.PL INSTALLDIRS=vendor ${myconf} || die +} + +src_install () { + perlinfo + dodir ${POD_DIR} + + test -z ${mytargets} && mytargets="install" + make \ + PREFIX=${D}/usr \ + VENDORPREFIX=${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 \ + INSTALLVENDORARCH=${D}/${VENDOR_ARCH} \ + INSTALLVENDORLIB=${D}/${VENDOR_LIB} \ + INSTALLVENDORMAN3DIR=${D}/usr/share/man/man3 \ + ${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'` + eval `perl '-V:installvendorarch'` + eval `perl '-V:installvendorlib'` + ARCH_LIB=${installarchlib} + SITE_LIB=${installsitearch} + VENDOR_ARCH=${installvendorarch} + VENDOR_LIB=${installvendorlib} + + 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 408a5fb3da7b..28e829c32b60 100644 --- a/dev-perl/ExtUtils-MakeMaker/Manifest +++ b/dev-perl/ExtUtils-MakeMaker/Manifest @@ -1,5 +1,7 @@ -MD5 87ad8faf32a998fdc03d4ad0289f5684 ChangeLog 3154 +MD5 356691a89a3cbc28a8e25da7572aec5f ExtUtils-MakeMaker-6.05-r6.ebuild 3646 +MD5 2fc2474ee77724739eb95545cae042fc ExtUtils-MakeMaker-6.05-r5.ebuild 3337 +MD5 4c1074aaba77351df3c999036a50e7a8 ChangeLog 3399 MD5 c1d9ba902b70630327684ffa8d1d376e ExtUtils-MakeMaker-6.05-r4.ebuild 3338 -MD5 acb77aadf136857d41b4e156a3d05fa4 ExtUtils-MakeMaker-6.05-r5.ebuild 3340 MD5 2cc7445bb2472696df202d4f1eccae98 files/digest-ExtUtils-MakeMaker-6.05-r4 75 MD5 2cc7445bb2472696df202d4f1eccae98 files/digest-ExtUtils-MakeMaker-6.05-r5 75 +MD5 2cc7445bb2472696df202d4f1eccae98 files/digest-ExtUtils-MakeMaker-6.05-r6 75 |