Ticket #19347: patch-dos2unix.diff
File patch-dos2unix.diff, 948 bytes (added by raimue (Rainer Müller), 16 years ago) |
---|
-
Portfile
4 4 5 5 name dos2unix 6 6 version 3.1 7 revision 1 7 8 categories textproc 8 9 platforms darwin 9 10 maintainers waqar@macports.org … … 14 15 checksums md5 25ff56bab202de63ea6f6c211c416e96 15 16 use_configure no 16 17 build { 17 system "cd ${worksrcpath}; gcc-O dos2unix.c -o dos2unix" }18 system "cd ${worksrcpath}; ${configure.cc} -O dos2unix.c -o dos2unix" } 18 19 19 20 destroot { 20 21 system "install -m 755 -cs ${worksrcpath}/dos2unix ${destroot}${prefix}/bin" 21 system "gzip -c ${worksrcpath}/dos2unix.1 > ${destroot}${prefix}/share/man/man1/dos2unix.1.gz" 22 system "ln -sf dos2unix.1.gz ${destroot}${prefix}/share/man/man1/mac2unix.1.gz" 22 system "install -m 644 ${worksrcpath}/dos2unix.1 ${destroot}${prefix}/share/man/man1" 23 23 system "ln -sf dos2unix ${destroot}${prefix}/bin/mac2unix" }