[42492] trunk/dports/math/scalc/Portfile

blb at macports.org blb at macports.org
Sat Nov 22 00:27:53 PST 2008


Revision: 42492
          http://trac.macports.org/changeset/42492
Author:   blb at macports.org
Date:     2008-11-22 00:27:52 -0800 (Sat, 22 Nov 2008)
Log Message:
-----------
math/scalc - switch from 'file delete' to 'delete', and rename what it installs to scalc (rest of ticket #17352)

Modified Paths:
--------------
    trunk/dports/math/scalc/Portfile

Modified: trunk/dports/math/scalc/Portfile
===================================================================
--- trunk/dports/math/scalc/Portfile	2008-11-22 08:20:23 UTC (rev 42491)
+++ trunk/dports/math/scalc/Portfile	2008-11-22 08:27:52 UTC (rev 42492)
@@ -4,6 +4,7 @@
 
 name            scalc
 version         1.15
+revision        1
 categories      math
 platforms       darwin
 maintainers     nomaintainer
@@ -28,7 +29,10 @@
 destroot.destdir   INS_BASE=${destroot}${prefix} \
                    MANDIR=share/man
 post-destroot {
-   file delete -force ${destroot}${prefix}/lib \
-      ${destroot}${prefix}/include ${destroot}${prefix}/share/man/man5
+   delete ${destroot}${prefix}/lib ${destroot}${prefix}/include \
+      ${destroot}${prefix}/share/man/man5
+   move ${destroot}${prefix}/bin/calc ${destroot}${prefix}/bin/${name}
+   move ${destroot}${prefix}/share/man/man1/calc.1 \
+      ${destroot}${prefix}/share/man/man1/${name}.1
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081122/e9f6d26f/attachment.html>


More information about the macports-changes mailing list