/[gentoo-x86]/eclass/perl-module.eclass
Gentoo

Diff of /eclass/perl-module.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.51 Revision 1.53
1# Copyright 1999-2003 Gentoo Technologies, Inc. 1# Copyright 1999-2003 Gentoo Technologies, Inc.
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.51 2003/09/24 20:28:11 rac Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.53 2003/10/19 11:50:36 lanius Exp $
4# 4#
5# Author: Seemant Kulleen <seemant@gentoo.org> 5# Author: Seemant Kulleen <seemant@gentoo.org>
6# 6#
7# The perl-module eclass is designed to allow easier installation of perl 7# The perl-module eclass is designed to allow easier installation of perl
8# modules, and their incorporation into the Gentoo Linux system. 8# modules, and their incorporation into the Gentoo Linux system.
34 if [ "${MMSIXELEVEN}" ]; then 34 if [ "${MMSIXELEVEN}" ]; then
35 perl Makefile.PL ${myconf} \ 35 perl Makefile.PL ${myconf} \
36 PREFIX=/usr INSTALLDIRS=vendor DESTDIR=${D} 36 PREFIX=/usr INSTALLDIRS=vendor DESTDIR=${D}
37 else 37 else
38 perl Makefile.PL ${myconf} \ 38 perl Makefile.PL ${myconf} \
39 PREFIX=/usr INSTALLDIRS=vendor 39 PREFIX=${D}/usr INSTALLDIRS=vendor
40 fi 40 fi
41 fi 41 fi
42 42
43} 43}
44 44
125 125
126 for FILE in `find ${D} -type f -name "*.html" -o -name ".packlist"`; do 126 for FILE in `find ${D} -type f -name "*.html" -o -name ".packlist"`; do
127 sed -i -e "s:${D}:/:g" ${FILE} 127 sed -i -e "s:${D}:/:g" ${FILE}
128 done 128 done
129 129
130 dodoc Change* MANIFEST* README* ${mydoc} 130 for doc in Change* MANIFEST* README*; do
131 [ -s "$doc" ] && dodoc $doc
132 done
133 dodoc ${mydoc}
131} 134}
132 135
133 136
134perl-module_pkg_setup() { 137perl-module_pkg_setup() {
135 138

Legend:
Removed from v.1.51  
changed lines
  Added in v.1.53

  ViewVC Help
Powered by ViewVC 1.1.20