most recent changes, diff for dos2unix

Index: textproc/dos2unix/Portfile
--- textproc/dos2unix/Portfile (revision 32477)
+++ textproc/dos2unix/Portfile (revision 32478)
@@ -1,19 +1,23 @@
# $Id$

PortSystem 1.0
+
name dos2unix
version 3.1
categories textproc
+platforms darwin
maintainers waqar@macports.org
description Convert text between dos, unix, and mac formats
+long_description ${description}
master_sites http://fresh.t-systems-sfr.com/linux/src/
+homepage ${master_sites}
checksums md5 25ff56bab202de63ea6f6c211c416e96
use_configure no
-build { cd ${worksrcpath}
- system "gcc -O dos2unix.c -o dos2unix" }
+build {
+ system "cd ${worksrcpath}; gcc -O dos2unix.c -o dos2unix" }

-destroot { cd ${worksrcpath}
- system "install -m 755 -cs dos2unix ${destroot}${prefix}/bin"
- system "gzip -c dos2unix.1 > ${destroot}${prefix}/share/man/man1/dos2unix.1.gz"
+destroot {
+ system "install -m 755 -cs ${worksrcpath}/dos2unix ${destroot}${prefix}/bin"
+ system "gzip -c ${worksrcpath}/dos2unix.1 > ${destroot}${prefix}/share/man/man1/dos2unix.1.gz"
system "ln -sf dos2unix.1.gz ${destroot}${prefix}/share/man/man1/mac2unix.1.gz"
system "ln -sf dos2unix ${destroot}${prefix}/bin/mac2unix" }