source: trunk/dports/emulators/adtpro/Portfile

Last change on this file was 85007, checked in by ryandesign@…, 6 years ago

adtpro: update to 1.1.9

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 85007 2011-10-07 05:32:30Z ryandesign@macports.org $
3
4PortSystem              1.0
5PortGroup               app 1.0
6
7name                    adtpro
8set my_name             ADTPro
9version                 1.1.9
10categories              emulators
11maintainers             ryandesign
12license                 GPL-2
13homepage                http://adtpro.sourceforge.net/
14master_sites            sourceforge:project/adtpro/adtpro/ADTPro-${version}
15platforms               darwin
16distname                ${my_name}-${version}
17use_configure           no
18
19description \
20    transfers disks and disk images between Apple IIs and modern computers
21
22long_description \
23    Apple Disk Transfer ProDOS (ADTPro) transfers diskettes and logical \
24    disk images between Apple II-era computers and the modern world. \
25    Disks can be transferred using a Super Serial card, IIgs modem port or \
26    IIc/Laser 128 serial port\; an Uthernet Ethernet card\; or the built-in \
27    cassette ports.
28
29checksums               rmd160  cc330ff569c2efc54b2139adc7d3428126bb1185 \
30                        sha256  3678abeef98c31e10a2f279319c509aa3ce11b9852b7ed68a49fbc53e41d3301
31
32post-extract {
33    copy ${filespath}/${name}.in ${workpath}/${name}
34}
35
36post-patch {
37    reinplace "s|@MY_DIR@|${my_dir}|g" ${workpath}/${name}
38}
39
40build {}
41
42set my_dir ${prefix}/libexec/${name}
43
44destroot {
45    set my_ddir ${destroot}${my_dir}
46    set docdir ${destroot}${prefix}/share/doc/${name}
47    xinstall -d ${my_ddir}/lib ${docdir}
48    xinstall -W ${worksrcpath} ${name}.sh ${my_ddir}
49    xinstall -W ${worksrcpath}/lib ADTPro-${version}.jar ${my_ddir}/lib
50    copy ${worksrcpath}/lib/rxtx ${my_ddir}/lib
51    copy ${worksrcpath}/disks ${my_ddir}
52    xinstall -m 644 -W ${worksrcpath} ADTPro.html LICENSE README ${docdir}
53}
54
55app.name                ADTPro
56app.executable          ${workpath}/${name}
57app.icon                lib/ADTPro.ico
58
59livecheck.regex         /${my_name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.