[56284] trunk/dports/lang/lisp-hyperspec/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue Aug 25 18:17:10 PDT 2009


Revision: 56284
          http://trac.macports.org/changeset/56284
Author:   ryandesign at macports.org
Date:     2009-08-25 18:17:07 -0700 (Tue, 25 Aug 2009)
Log Message:
-----------
lisp-hyperspec: don't override the standard extract phase, and don't try to change the ownership of the files to root explicitly

Modified Paths:
--------------
    trunk/dports/lang/lisp-hyperspec/Portfile

Modified: trunk/dports/lang/lisp-hyperspec/Portfile
===================================================================
--- trunk/dports/lang/lisp-hyperspec/Portfile	2009-08-26 01:02:02 UTC (rev 56283)
+++ trunk/dports/lang/lisp-hyperspec/Portfile	2009-08-26 01:17:07 UTC (rev 56284)
@@ -45,18 +45,15 @@
 master_sites	ftp://ftp.lispworks.com/pub/software_tools/reference/
 regsub -all	"\\." $version "-" distVersion
 distname	HyperSpec-${distVersion}
+extract.mkdir	yes
 
 checksums	md5 8df440c9f1614e2acfa5e9a360c8969a
 
-# Do nothing for extract, configuration and build:
-
-extract		{ }
 use_configure   no
 build		{ }
 
 destroot {
-    file mkdir ${destroot}${prefix}/share/doc/lisp/${distname}
-    system "cd ${destroot}${prefix}/share/doc/lisp/${distname} && \
-            ${extract.cmd} ${extract.pre_args} ${distpath}/${distfile} ${extract.post_args}"
-    system "chown -R root:admin ${destroot}${prefix}/share/doc/lisp"
+    set lispdir ${destroot}${prefix}/share/doc/lisp/
+    file mkdir ${lispdir}
+    file rename ${worksrcpath} ${lispdir}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090825/55872da9/attachment.html>


More information about the macports-changes mailing list