[81191] trunk/dports/net/driftnet/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue Jul 26 19:23:57 PDT 2011


Revision: 81191
          http://trac.macports.org/changeset/81191
Author:   ryandesign at macports.org
Date:     2011-07-26 19:23:56 -0700 (Tue, 26 Jul 2011)
Log Message:
-----------
driftnet: clean up build and destroot

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

Modified: trunk/dports/net/driftnet/Portfile
===================================================================
--- trunk/dports/net/driftnet/Portfile	2011-07-27 02:20:55 UTC (rev 81190)
+++ trunk/dports/net/driftnet/Portfile	2011-07-27 02:23:56 UTC (rev 81191)
@@ -46,7 +46,7 @@
     set archflags ${configure.cc_archflags}
 }
 
-build.target	{ }
+build.target
 
 build.args		CC="${configure.cc} ${archflags}"	\
 			CFLAGS="-I${prefix}/include		\
@@ -55,8 +55,7 @@
 			-I${prefix}/include/gtk-1.2	\
 			-DDRIFTNET_VERSION='\\"0.1.6\\"'"
 
-destroot	{ file copy ${workpath}/${worksrcdir}/${name} \
-			    ${destroot}${prefix}/bin
-		  file copy ${workpath}/${worksrcdir}/${name}.1 \
-			    ${destroot}${prefix}/share/man/man1
-		}
+destroot {
+    xinstall ${worksrcpath}/${name} ${destroot}${prefix}/bin
+    xinstall -m 644 ${worksrcpath}/${name}.1 ${destroot}${prefix}/share/man/man1
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110726/9896030a/attachment.html>


More information about the macports-changes mailing list