source: trunk/dports/textproc/dos2unix/Portfile @ 5166

Last change on this file since 5166 was 5166, checked in by waqar, 17 years ago

Updating portfile to conform to porthier.

  • Property svn:eol-style set to native
File size: 732 bytes
Line 
1# $Id: Portfile,v 1.10 2004/02/03 00:30:09 waqar Exp $
2
3PortSystem 1.0
4name            dos2unix
5version         3.1
6categories      textproc
7maintainers     waqar@opendarwin.org
8description     Convert text between dos, unix, and mac formats
9master_sites    http://fresh.t-systems-sfr.com/linux/src/
10checksums       md5 25ff56bab202de63ea6f6c211c416e96
11use_configure   no
12build           { cd ${worksrcpath}
13                  system "gcc -O dos2unix.c -o dos2unix" }
14
15destroot        { cd ${worksrcpath}
16                  system "install -m 755 -cs dos2unix ${destroot}${prefix}/bin"
17                  system "gzip -c dos2unix.1 > ${destroot}${prefix}/share/man/man1/dos2unix.1.gz"
18                  system "ln -sf dos2unix.1.gz ${destroot}${prefix}/share/man/man1/mac2unix.1.gz"
19                  system "ln -sf dos2unix ${destroot}${prefix}/bin/mac2unix" }
Note: See TracBrowser for help on using the repository browser.