[32478] trunk/dports/textproc/dos2unix/Portfile
afb at macports.org
afb at macports.org
Fri Jan 4 00:32:46 PST 2008
Revision: 32478
http://trac.macosforge.org/projects/macports/changeset/32478
Author: afb at macports.org
Date: 2008-01-04 00:32:45 -0800 (Fri, 04 Jan 2008)
Log Message:
-----------
pick lint, remove cd (force-commit #13574, maintainer timeout)
Modified Paths:
--------------
trunk/dports/textproc/dos2unix/Portfile
Modified: trunk/dports/textproc/dos2unix/Portfile
===================================================================
--- trunk/dports/textproc/dos2unix/Portfile 2008-01-04 07:09:30 UTC (rev 32477)
+++ trunk/dports/textproc/dos2unix/Portfile 2008-01-04 08:32:45 UTC (rev 32478)
@@ -1,19 +1,23 @@
# $Id$
PortSystem 1.0
+
name dos2unix
version 3.1
categories textproc
+platforms darwin
maintainers waqar at 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" }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080104/2a967abc/attachment.html
More information about the macports-changes
mailing list