[38782] trunk/dports/lang/d-mode.el/Portfile

jmr at macports.org jmr at macports.org
Thu Jul 31 00:54:34 PDT 2008


Revision: 38782
          http://trac.macosforge.org/projects/macports/changeset/38782
Author:   jmr at macports.org
Date:     2008-07-31 00:54:34 -0700 (Thu, 31 Jul 2008)
Log Message:
-----------
d-mode.el: sundry cleanups, thanks to ryandesign for noticing

Modified Paths:
--------------
    trunk/dports/lang/d-mode.el/Portfile

Modified: trunk/dports/lang/d-mode.el/Portfile
===================================================================
--- trunk/dports/lang/d-mode.el/Portfile	2008-07-31 07:53:12 UTC (rev 38781)
+++ trunk/dports/lang/d-mode.el/Portfile	2008-07-31 07:54:34 UTC (rev 38782)
@@ -18,7 +18,7 @@
                         The previous d-mode was based on \
                         cc-mode 5.28 or so. This version is \
                         based on the cc-mode 5.30 derived mode \
-                        example by Martin Stjernholm, 2002. \
+                        example by Martin Stjernholm, 2002.
 
 homepage                http://www.prowiki.org/wiki4d/wiki.cgi?EditorSupport/EmacsDMode
 platforms               darwin
@@ -32,9 +32,9 @@
 
 depends_lib             path:${prefix}/bin/emacs:emacs
 
+extract.mkdir yes
 extract {
-    file mkdir ${worksrcpath}
-    file copy ${prefix}/var/macports/distfiles/${name}/${distname} ${worksrcpath}
+    copy ${distpath}/${distname} ${worksrcpath}
 }
 
 build {
@@ -45,7 +45,7 @@
 }
 
 destroot {
-    file mkdir ${destroot}${prefix}/share/emacs/site-lisp
+    xinstall -d -m 755 ${destroot}${prefix}/share/emacs/site-lisp
     xinstall ${worksrcpath}/d-mode.el ${destroot}${prefix}/share/emacs/site-lisp/
     xinstall ${worksrcpath}/d-mode.elc ${destroot}${prefix}/share/emacs/site-lisp/
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080731/6700021f/attachment.html 


More information about the macports-changes mailing list