summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichael Cummings <mcummings@gentoo.org>2006-06-24 21:54:02 +0000
committerMichael Cummings <mcummings@gentoo.org>2006-06-24 21:54:02 +0000
commit105bd71a17e51ab28e856cded342d2d342feb9eb (patch)
treef17848722e4852e0fa3c93304cf4efbc756b63bd /eclass
parent* double bump (diff)
downloadhistorical-105bd71a17e51ab28e856cded342d2d342feb9eb.tar.gz
historical-105bd71a17e51ab28e856cded342d2d342feb9eb.tar.bz2
historical-105bd71a17e51ab28e856cded342d2d342feb9eb.zip
Removed man3pm pages for good. Removed gentoo pods finally :)
Diffstat (limited to 'eclass')
-rw-r--r--eclass/perl-module.eclass25
1 files changed, 8 insertions, 17 deletions
diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass
index 55cdf6cefb57..3637627da2d4 100644
--- a/eclass/perl-module.eclass
+++ b/eclass/perl-module.eclass
@@ -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/eclass/perl-module.eclass,v 1.97 2006/06/14 00:31:44 mcummings Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.98 2006/06/24 21:54:02 mcummings Exp $
#
# Author: Seemant Kulleen <seemant@gentoo.org>
# Maintained by the Perl herd <perl@gentoo.org>
@@ -157,6 +157,13 @@ perl-module_src_install() {
perl ${S}/Build install
fi
+
+ einfo "Cleaning out stray man files"
+ for FILE in `find ${D} -type f -name "*.3pm*"`; do
+ rm -rf ${FILE}
+ done
+ find ${D}/usr/share/man -depth -type d 2>/dev/null | xargs -r rmdir 2>/dev/null
+
fixlocalpod
for FILE in `find ${D} -type f |grep -v '.so'`; do
@@ -246,35 +253,19 @@ perlinfo() {
fixlocalpod() {
perlinfo
- dodir ${POD_DIR}
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
if [ -f ${D}${VENDOR_LIB}/perllocal.pod ];
then
- touch ${D}/${POD_DIR}/${P}.pod
- sed -e "s:${D}::g" \
- ${D}${VENDOR_LIB}/perllocal.pod >> ${D}/${POD_DIR}/${P}.pod
- touch ${D}/${POD_DIR}/${P}.pod.vendor
- cat ${D}/${POD_DIR}/${P}.pod >>${D}/${POD_DIR}/${P}.pod.vendor
rm -f ${D}/${VENDOR_LIB}/perllocal.pod
fi
}