source: trunk/dports/textproc/unix2dos/Portfile @ 16322

Last change on this file since 16322 was 16322, checked in by olegb, 14 years ago

Bug: 7103
Submitted by: andrew@…
Reviewed by: olegb@
Approved by:
Obtained from:
new port:
textproc/unix2doc-2.2

Thanks andrew!

  • Property svn:eol-style set to native
File size: 825 bytes
Line 
1# $Id: Portfile,v 1.1 2006/02/11 10:03:30 olegb Exp $
2
3PortSystem 1.0
4name            unix2dos
5version         2.2
6categories      textproc
7description     Convert text from unix to dos format
8maintainers     andrew@fernandes.org
9master_sites    http://opendarwin.org/~olegb/src/
10checksums       unix2dos-2.2.src.tar.gz md5 e4488c241fa9067a48a7534a21d4babb
11
12use_configure   no
13
14distfiles       ${name}-${version}.src.tar.gz
15
16worksrcdir      .
17
18build           {
19                  cd ${worksrcpath}
20                  system "gcc -O unix2dos.c -o unix2dos"
21                }
22
23destroot        {
24                  cd ${worksrcpath}
25                  system "install -m 755 -cs unix2dos ${destroot}${prefix}/bin"
26                  system "gzip -c unix2dos.1 > ${destroot}${prefix}/share/man/man1/unix2dos.1.gz"
27                }
Note: See TracBrowser for help on using the repository browser.