small cleanups
authorSeemant Kulleen <seemant@gentoo.org>
Sat, 5 Oct 2002 21:13:34 +0000 (21:13 +0000)
committerSeemant Kulleen <seemant@gentoo.org>
Sat, 5 Oct 2002 21:13:34 +0000 (21:13 +0000)
app-misc/rox/rox-1.2.1-r1.ebuild
app-misc/rox/rox-1.3.2-r2.ebuild

index 5af28baa2bd11d363ed5b58137e6de460cdd5057..e41375089242eb029e0534baec9b345a44ac1272 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2002 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/rox/rox-1.2.1-r1.ebuild,v 1.2 2002/10/04 04:57:15 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/rox/rox-1.2.1-r1.ebuild,v 1.3 2002/10/05 21:13:34 seemant Exp $
 
 S=${WORKDIR}/${P}
 DESCRIPTION="ROX-Filer is a fast and powerful graphical file manager"
@@ -25,15 +25,16 @@ src_install() {
        CFLAGS="${CFLAGS} -I/usr/include/libxml2/libxml -I/usr/include/libxml2"
 
        cd ${WORKDIR}/${BP}/Choices
-       mkdir -p ${D}/usr/share/Choices
+       dodir /usr/share/Choices
        cp -rf MIME-icons/ ${D}/usr/share/Choices/
        cp -rf MIME-info/ ${D}/usr/share/Choices/
        cp -rf MIME-types/ ${D}/usr/share/Choices/
        
-       cd ${WORKDIR}/${P}
+       cd ${S}
        doman rox.1
-       mkdir -p ${D}/usr/share/rox
-       mkdir -p ${D}/usr/bin   
+       dodir /usr/share/rox
+       dodir /usr/bin  
+
        cp -rf ROX-Filer/ ${D}/usr/share/
        ${D}/usr/share/ROX-Filer/AppRun --compile
        echo "#!/bin/sh" > "${D}/usr/bin/rox"
index f3afbf5348acb52734cf3987143fa81dcf00994c..ed5b2d600341412d1ad11097fe2d3b2a97cac3d2 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2002 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/rox/rox-1.3.2-r2.ebuild,v 1.1 2002/07/30 15:46:50 stroke Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/rox/rox-1.3.2-r2.ebuild,v 1.2 2002/10/05 21:13:34 seemant Exp $
 
 S=${WORKDIR}/${P}
 DESCRIPTION="ROX-Filer is a fast and powerful graphical file manager"
@@ -26,18 +26,19 @@ src_install() {
        # libxml2 header fix
        CFLAGS="${CFLAGS} -I/usr/include/libxml2/libxml -I/usr/include/libxml2"
 
-       cd ${WORKDIR}/${P}/Choices
-       mkdir -p ${D}/usr/share/Choices
+       cd ${S}/Choices
+
+       dodir /usr/share/Choices
        cp -rf MIME-icons/ ${D}/usr/share/Choices/
        cp -rf MIME-types/ ${D}/usr/share/Choices/
        
-       cd ${WORKDIR}/${P}
+       cd ${S}
        doman rox.1
 
-       mkdir -p ${D}/usr/share/mime/mime-info
-       cp rox.mimeinfo ${D}/usr/share/mime/mime-info
+       insinto /usr/share/mime/mime-info
+       doins rox.mimeinfo
 
-       mkdir -p ${D}/usr/bin   
+       dodir /usr/bin  
        cp -rf ROX-Filer/ ${D}/usr/share/
        ${D}/usr/share/ROX-Filer/AppRun --compile
        (cd ${D}/usr/share/ROX-Filer/src; make clean) > /dev/null