diff options
Diffstat (limited to 'x11-libs/openmotif/openmotif-2.3.0.ebuild')
-rw-r--r-- | x11-libs/openmotif/openmotif-2.3.0.ebuild | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/x11-libs/openmotif/openmotif-2.3.0.ebuild b/x11-libs/openmotif/openmotif-2.3.0.ebuild index 34b7c3de4258..962b23684596 100644 --- a/x11-libs/openmotif/openmotif-2.3.0.ebuild +++ b/x11-libs/openmotif/openmotif-2.3.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/openmotif/openmotif-2.3.0.ebuild,v 1.9 2008/02/13 08:23:12 opfer Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/openmotif/openmotif-2.3.0.ebuild,v 1.10 2008/02/13 08:49:02 opfer Exp $ WANT_AUTOCONF="latest" WANT_AUTOMAKE="1.6" @@ -47,7 +47,7 @@ src_compile() { append-flags -fno-strict-aliasing econf --with-x \ - $(use_enable xft) \ + $(use_enable xft) \ $(use_enable jpeg) \ $(use_enable png) || die "configuration failed" @@ -55,12 +55,12 @@ src_compile() { } src_install() { - make DESTDIR=${D} install || die "make install failed" + emake DESTDIR="${D}" install || die "make install failed" # cleanups - rm -fR ${D}/usr/$(get_libdir)/X11 - rm -fR ${D}/usr/$(get_libdir)/X11/bindings - rm -fR ${D}/usr/include/X11/ + rm -fR "${D}"/usr/$(get_libdir)/X11 + rm -fR "${D}"/usr/$(get_libdir)/X11/bindings + rm -fR "${D}"/usr/include/X11/ list="/usr/share/man/man1/mwm.1 /usr/share/man/man4/mwmrc.4" for f in $list; do @@ -70,47 +70,47 @@ src_install() { einfo "Fixing binaries" dodir /usr/$(get_libdir)/openmotif-${SLOT} - for file in `ls ${D}/usr/bin` + for file in `ls "${D}"/usr/bin` do - mv ${D}/usr/bin/${file} ${D}/usr/$(get_libdir)/openmotif-${SLOT}/${file} + mv "${D}"/usr/bin/${file} "${D}"/usr/$(get_libdir)/openmotif-${SLOT}/${file} done einfo "Fixing libraries" - mv ${D}/usr/$(get_libdir)/* ${D}/usr/$(get_libdir)/openmotif-${SLOT}/ + mv "${D}"/usr/$(get_libdir)/* "${D}"/usr/$(get_libdir)/openmotif-${SLOT}/ einfo "Fixing includes" dodir /usr/include/openmotif-${SLOT}/ - mv ${D}/usr/include/* ${D}/usr/include/openmotif-${SLOT} + mv "${D}"/usr/include/* "${D}"/usr/include/openmotif-${SLOT} einfo "Fixing man pages" mans="1 3 4 5" for man in $mans; do dodir /usr/share/man/man${man} - for file in `ls ${D}/usr/share/man/man${man}` + for file in `ls "${D}"/usr/share/man/man${man}` do file=${file/.${man}/} - mv ${D}/usr/share/man/man$man/${file}.${man} ${D}/usr/share/man/man${man}/${file}-openmotif-${SLOT}.${man} + mv "${D}"/usr/share/man/man$man/${file}.${man} "${D}"/usr/share/man/man${man}/${file}-openmotif-${SLOT}.${man} done done # install docs dodoc README RELEASE RELNOTES BUGREPORT TODO - use doc && cp ${WORKDIR}/*.pdf ${D}/usr/share/doc/${PF} + use doc && cp "${WORKDIR}"/*.pdf "${D}"/usr/share/doc/${PF} if ( use examples ) then - dodir /usr/share/doc/${PF}/demos - mv ${D}/usr/share/Xm ${D}/usr/share/doc/${PF}/demos + dodir /usr/share/doc/${PF}/demos + mv "${D}"/usr/share/Xm "${D}"/usr/share/doc/${PF}/demos else - rm -rf ${D}/usr/share/Xm + rm -rf "${D}"/usr/share/Xm fi # profile stuff dodir /etc/env.d - echo "LDPATH=/usr/$(get_libdir)/openmotif-${SLOT}" > ${D}/etc/env.d/15openmotif-${SLOT} + echo "LDPATH=/usr/$(get_libdir)/openmotif-${SLOT}" > "${D}"/etc/env.d/15openmotif-${SLOT} dodir /usr/$(get_libdir)/motif - echo "PROFILE=openmotif-${SLOT}" > ${D}/usr/$(get_libdir)/motif/openmotif-${SLOT} + echo "PROFILE=openmotif-${SLOT}" > "${D}"/usr/$(get_libdir)/motif/openmotif-${SLOT} } pkg_postinst() { |