[50397] trunk/dports/textproc/dos2unix/Portfile
raimue at macports.org
raimue at macports.org
Wed Apr 29 22:32:48 PDT 2009
Revision: 50397
http://trac.macports.org/changeset/50397
Author: raimue at macports.org
Date: 2009-04-29 22:32:47 -0700 (Wed, 29 Apr 2009)
Log Message:
-----------
textproc/dos2unix:
Use ${configure.cc} and ${configure.cflags}.
No need to compress man pages manually, closes #19347 (maintainer timeout)
Modified Paths:
--------------
trunk/dports/textproc/dos2unix/Portfile
Modified: trunk/dports/textproc/dos2unix/Portfile
===================================================================
--- trunk/dports/textproc/dos2unix/Portfile 2009-04-30 04:53:07 UTC (rev 50396)
+++ trunk/dports/textproc/dos2unix/Portfile 2009-04-30 05:32:47 UTC (rev 50397)
@@ -4,6 +4,7 @@
name dos2unix
version 3.1
+revision 1
categories textproc
platforms darwin
maintainers waqar at macports.org
@@ -14,10 +15,9 @@
checksums md5 25ff56bab202de63ea6f6c211c416e96
use_configure no
build {
- system "cd ${worksrcpath}; gcc -O dos2unix.c -o dos2unix" }
+ system "cd ${worksrcpath} && ${configure.cc} ${configure.cflags} dos2unix.c -o dos2unix" }
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 "install -m 644 ${worksrcpath}/dos2unix.1 ${destroot}${prefix}/share/man/man1"
system "ln -sf dos2unix ${destroot}${prefix}/bin/mac2unix" }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090429/2b679871/attachment.html>
More information about the macports-changes
mailing list