|
|
python? ( dev-python/numeric ) | python? ( dev-python/numeric ) |
java? ( virtual/jre ) | java? ( virtual/jre ) |
tetex? ( app-text/jadetex ) | tetex? ( app-text/jadetex ) |
octave? ( app-sci/octave ) |
octave? ( sci-mathematics/octave ) |
external-gd? ( media-libs/libgd ) | external-gd? ( media-libs/libgd ) |
truetype? ( media-libs/freetype ) | truetype? ( media-libs/freetype ) |
X? ( virtual/x11 | X? ( virtual/x11 |
|
|
rm -r ${D}/usr/lib/java | rm -r ${D}/usr/lib/java |
fi | fi |
if use octave; then | if use octave; then |
mv ${D}/usr/share/plplot_octave ${D}/usr/share/plplot/octave |
# fix the path to plplot's .m files |
mv ${D}/usr/PLplot ${D}/usr/share/${PN}/octave/PLplot |
mv ${D}/usr/share/plplot_octave ${D}/usr/share/plplot/octave || die |
cd ${D}/usr/share/${PN}/octave/PLplot |
sed -ie 's:/usr/share/plplot_octave:/usr/share/plplot/octave:' \ |
sed -ie 's:/usr/share/plplot_octave:/usr/share/plplot/octave:' plplot_octave_path.m |
${D}/usr/share/octave/site/m/PLplot/plplot_octave_path.m |
fi | fi |
| |
# Gzip the basic documentation. | # Gzip the basic documentation. |