1 | # $Id: $ |
---|
2 | PortSystem 1.0 |
---|
3 | name flip |
---|
4 | version 20050821 |
---|
5 | categories textproc |
---|
6 | platforms darwin |
---|
7 | description convert text file line endings |
---|
8 | long_description Flip converts line endings of text files between Macintosh, Unix and \ |
---|
9 | MS-DOS formats. It automatically recognizes the current line endings, \ |
---|
10 | and leaves binary files and timestamps intact. It does not convert \ |
---|
11 | files to a different character set. |
---|
12 | homepage http://ccrma-www.stanford.edu/~craig/utility/flip/ |
---|
13 | master_sites http://ccrma-www.stanford.edu/~craig/utility/flip/ |
---|
14 | distname ${name} |
---|
15 | distfiles ${distname}.cpp |
---|
16 | checksums md5 21dc9256584eceffcfc27e137b3f8bc5 |
---|
17 | |
---|
18 | use_configure no |
---|
19 | extract { |
---|
20 | system "mkdir -p ${worksrcpath}" |
---|
21 | cd ${distpath} |
---|
22 | file copy ${distfiles} ${worksrcpath}/ |
---|
23 | } |
---|
24 | build.cmd g++ -ansi -O3 -o ${distname} ${distfiles} |
---|
25 | build.target "" |
---|
26 | destroot { |
---|
27 | xinstall -m 755 -d ${destroot}${prefix}/bin |
---|
28 | xinstall -m 755 ${worksrcpath}/${distname} \ |
---|
29 | ${destroot}${prefix}/bin/${distname} |
---|
30 | } |
---|