--- /mnt/platz/portage/sys-cluster/lam-mpi/lam-mpi-7.1.1.ebuild 2005-06-18 02:30:11.000000000 +0200 +++ lam-mpi-7.1.1-r1.ebuild 2005-06-19 18:52:31.000000000 +0200 @@ -27,7 +27,8 @@ src_unpack() { unpack ${A} - epatch ${FILESDIR}/${P}-shared-romio.patch + #see Bug 95994 + #epatch ${FILESDIR}/${P}-shared-romio.patch cd ${S}/romio/util/ sed -i "s|docdir=\"\$datadir/lam/doc\"|docdir=\"${D}/usr/share/doc/${PF}\"|" romioinstall.in } @@ -59,7 +60,15 @@ # There are a bunch more tex docs we could make and install too, # but they might be replicated in the pdf. + # They are replicated in the pdfs! Thus remove this comment? dodoc README HISTORY LICENSE VERSION cd ${S}/doc dodoc {user,install}.pdf + + # install examples + cd ${S}/examples + mkdir -p ${D}/usr/share/${P}/examples + find -name README -or -iregex '.*\.[chf][c]?$' \ + | (while read p; do cp --parents $p ${D}/usr/share/${P}/examples; done;) + }