source: trunk/dports/sysutils/macutil/Portfile

Last change on this file was 111051, checked in by jmr@…, 4 years ago

macutil: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.6 KB
Line 
1# $Id: Portfile 111051 2013-09-14 00:39:51Z ryandesign@macports.org $
2
3PortSystem                      1.0
4
5name                            macutil
6version                         2.0b3
7categories                      sysutils
8# Distributing original source is OK, but it's very unclear when it comes to derivative works
9license                         Restrictive
10maintainers                     nomaintainer
11description                     Several *nix-based utilities for working with classic Mac \
12                                        files
13long_description \
14        macutil contains the following utilities: \
15        macunpack - unpacks PackIt, StuffIt, Diamond, Compactor/Compact Pro, \
16        most StuffItClassic/StuffItDeluxe, and all Zoom and LHarc/MacLHa \
17        archives, and archives created by later versions of DiskDoubler.  Also \
18        it will decode files created by BinHex5.0, MacBinary, UMCP, Compress \
19        It, ShrinkToFit, MacCompress, DiskDoubler and AutoDoubler. \
20        \
21        hexbin - de-hexify files created in BinHex 4.0 compatible format (hqx) \
22        but also the older format (dl, hex and hcx).  Moreover it will uudecode \
23        files uuencoded by UUTool (the only program I know that does UU \
24        hexification of all Mac file information). \
25        \
26        macsave - reads a MacBinary stream from standard input and writes the \
27        files according to the options.  Optionally self-extracting archives are \
28        modified to normal archives. \
29        \
30        macstream - reads files from the Unix host and will output a MacBinary \
31        stream containing all those files together with information about the \
32        directory structure. \
33        \
34        binhex - reads a MacBinary stream, or will read files/directories as \
35        indicated on the command line, and will output all files in binhexed \
36        (.hqx) format.  Information about the directory structure is lost. \
37        \
38        tomac - transmits a MacBinary stream, or named files to the Mac using \
39        the XMODEM protocol. \
40        \
41        frommac - receives one or more files from the Mac using the XMODEM \
42        protocol.
43
44platforms                       darwin
45
46homepage                        http://web.archive.org/web/20091231011057/http://homepages.cwi.nl/~dik/english/ftp.html
47master_sites            http://web.archive.org/web/20060720044428/http://ftp.cwi.nl/dik/
48distname                        ${name}${version}.shar
49
50worksrcdir                      ${name}
51
52checksums                       md5 2994c01ce0cf86ef6e76e0d88b6c0f3f
53patchfiles              patch-hexbin-buffer.c   patch-macunpack-lzh.h
54
55extract.suffix          .Z
56extract.cmd                     uncompress
57extract.pre_args        -c
58extract.post_args       "| sh"
59
60use_configure           no
61
62destroot.destdir        BINDIR=${destroot}${prefix}/bin
63
64post-destroot {
65        xinstall -m 755 -d ${destroot}${prefix}/share/man/man1 \
66                ${destroot}${prefix}/share/doc/${name}
67        eval xinstall -m 644 -W ${worksrcpath} [glob ${worksrcpath}/man/*.1] \
68                ${destroot}${prefix}/share/man/man1
69        eval xinstall -m 644 -W ${worksrcpath} [glob ${worksrcpath}/doc/*] \
70                README ${destroot}${prefix}/share/doc/${name}
71}
72
73platform darwin {
74        build.args      CF="-DBSD -DTYPES_H -DDIRENT_H -DTERMIOS_H"
75}
Note: See TracBrowser for help on using the repository browser.