syntax fixes
authorSeemant Kulleen <seemant@gentoo.org>
Mon, 4 Nov 2002 17:38:40 +0000 (17:38 +0000)
committerSeemant Kulleen <seemant@gentoo.org>
Mon, 4 Nov 2002 17:38:40 +0000 (17:38 +0000)
media-gfx/povray/povray-3.50a.ebuild
media-gfx/xsane/xsane-0.86-r1.ebuild

index cf90b4cb8f6d575f75a32becb3844f9dd283e881..b0b3c325a055e4ce6ef9f055a2aa9c98204f8bbc 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/media-gfx/povray/povray-3.50a.ebuild,v 1.11 2002/10/18 20:50:24 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/povray/povray-3.50a.ebuild,v 1.12 2002/11/04 17:38:40 seemant Exp $
 
 IUSE="icc X svga"
 
@@ -86,7 +86,7 @@ src_install ()
 {
        emake DESTDIR=${D} install || die
 
-       mkdir -p ${D}/etc
+       dodir /etc
        dosym /usr/share/povray-3.5/povray.ini /etc/povray.ini
 }
 
index 7c233bb5e32c29620c38bb612e61e14dd2e1aae0..44aa1f853f46442150465f69996a138b21e7b325 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/media-gfx/xsane/xsane-0.86-r1.ebuild,v 1.5 2002/10/20 18:48:56 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/xsane/xsane-0.86-r1.ebuild,v 1.6 2002/11/04 17:38:09 seemant Exp $
 
 S=${WORKDIR}/${P}
 DESCRIPTION="XSane is a graphical scanning frontend"
@@ -31,11 +31,11 @@ src_install () {
        
        # link xsane so it is seen as a plugin in gimp
        if [ -d /usr/lib/gimp/1.2 ]; then
-               mkdir -p ${D}/usr/lib/gimp/1.2/plug-ins
-               ln -sf /usr/bin/xsane ${D}/usr/lib/gimp/1.2/plug-ins
+               dodir /usr/lib/gimp/1.2/plug-ins
+               dosym /usr/bin/xsane /usr/lib/gimp/1.2/plug-ins
        fi
        if [ -d /usr/lib/gimp/1.3 ]; then
-               mkdir -p ${D}/usr/lib/gimp/1.3/plug-ins
-               ln -sf /usr/bin/xsane ${D}/usr/lib/gimp/1.3/plug-ins
+               dodir /usr/lib/gimp/1.3/plug-ins
+               dosym /usr/bin/xsane /usr/lib/gimp/1.3/plug-ins
        fi
 }