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

Last change on this file since 56061 was 56061, checked in by ryandesign@…, 10 years ago

Add missing required variable "platforms"

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 967 bytes
Line 
1# $Id: Portfile 56061 2009-08-24 00:33:19Z ryandesign@macports.org $
2
3PortSystem 1.0
4name            unix2dos
5version         2.2
6categories      textproc
7platforms       darwin
8description     Convert text from unix to dos format
9long_description ${description}
10maintainers     fernandes.org:andrew
11master_sites    macports
12checksums       md5 caf9f33155073d3efd310eff9103170b \
13                sha1 e63ac815b7049c07eab0a1ade48c978c8a4c99f7
14patchfiles      patch-unix2dos.1.man patch-unix2dos.c
15
16distname        ${name}-${version}.src
17
18pre-extract     {
19                  file mkdir ${worksrcpath}
20                }
21extract.dir     ${worksrcpath}
22
23use_configure   no
24
25build           {
26                  system "cd ${worksrcpath} && gcc ${configure.cflags} unix2dos.c -o unix2dos"
27                }
28
29destroot        {
30                  xinstall -m 0555 -W ${worksrcpath} -s unix2dos ${destroot}${prefix}/bin/
31                  xinstall -m 0444 -W ${worksrcpath} unix2dos.1 ${destroot}${prefix}/share/man/man1/
32                }
Note: See TracBrowser for help on using the repository browser.