[41234] trunk/dports/net/cidr/Portfile

blb at macports.org blb at macports.org
Tue Oct 28 13:56:55 PDT 2008


Revision: 41234
          http://trac.macports.org/changeset/41234
Author:   blb at macports.org
Date:     2008-10-28 13:56:54 -0700 (Tue, 28 Oct 2008)
Log Message:
-----------
net/cidr - switch to using xinstall and uncomment non-working homepage since lint wants one

Modified Paths:
--------------
    trunk/dports/net/cidr/Portfile

Modified: trunk/dports/net/cidr/Portfile
===================================================================
--- trunk/dports/net/cidr/Portfile	2008-10-28 20:50:38 UTC (rev 41233)
+++ trunk/dports/net/cidr/Portfile	2008-10-28 20:56:54 UTC (rev 41234)
@@ -16,7 +16,7 @@
 platforms            darwin
 
 # This no longer works, but is here for whatever needs...
-#homepage            http://geeksoul.com/robert/cidr.html
+homepage             http://geeksoul.com/robert/cidr.html
 master_sites         http://critical.ch/distfiles/ \
                      http://energy.critical.ch/distfiles/
 
@@ -25,13 +25,13 @@
 use_configure        no
 
 destroot {
-   file mkdir "${destroot}/${prefix}/bin" \
-      "${destroot}/${prefix}/share/man/man1" \
-      "${destroot}/${prefix}/share/doc/cidr"
-   system "install -m 755 ${worksrcpath}/cidr ${destroot}/${prefix}/bin/"
-   system "install -m 644 ${worksrcpath}/cidr.1 \
-      ${destroot}/${prefix}/share/man/man1/"
-   system "install -m 644 ${worksrcpath}/README ${worksrcpath}/gpl.txt \
-      ${worksrcpath}/rfc1878.txt ${destroot}/${prefix}/share/doc/cidr/"
+   xinstall -m 755 -d ${destroot}${prefix}/bin \
+      ${destroot}${prefix}/share/man/man1 \
+      ${destroot}${prefix}/share/doc/${name}
+   xinstall -m 755 -W ${worksrcpath} ${name} ${destroot}${prefix}/bin/
+   xinstall -m 644 -W ${worksrcpath} ${name}.1 \
+      ${destroot}${prefix}/share/man/man1/
+   xinstall -m 644 -W ${worksrcpath} README gpl.txt rfc1878.txt \
+      ${destroot}${prefix}/share/doc/${name}/
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081028/5bfe0a8e/attachment-0001.html>


More information about the macports-changes mailing list