Permalink
Fetching contributors…
Cannot retrieve contributors at this time
59 lines (46 sloc) 1.99 KB
# -*- 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
PortSystem 1.0
PortGroup app 1.0
name adtpro
set my_name ADTPro
version 1.1.9
categories emulators
maintainers ryandesign
license GPL-2
homepage http://adtpro.sourceforge.net/
master_sites sourceforge:project/adtpro/adtpro/ADTPro-${version}
platforms darwin
distname ${my_name}-${version}
use_configure no
description \
transfers disks and disk images between Apple IIs and modern computers
long_description \
Apple Disk Transfer ProDOS (ADTPro) transfers diskettes and logical \
disk images between Apple II-era computers and the modern world. \
Disks can be transferred using a Super Serial card, IIgs modem port or \
IIc/Laser 128 serial port\; an Uthernet Ethernet card\; or the built-in \
cassette ports.
checksums rmd160 cc330ff569c2efc54b2139adc7d3428126bb1185 \
sha256 3678abeef98c31e10a2f279319c509aa3ce11b9852b7ed68a49fbc53e41d3301
post-extract {
copy ${filespath}/${name}.in ${workpath}/${name}
}
post-patch {
reinplace "s|@MY_DIR@|${my_dir}|g" ${workpath}/${name}
}
build {}
set my_dir ${prefix}/libexec/${name}
destroot {
set my_ddir ${destroot}${my_dir}
set docdir ${destroot}${prefix}/share/doc/${name}
xinstall -d ${my_ddir}/lib ${docdir}
xinstall -W ${worksrcpath} ${name}.sh ${my_ddir}
xinstall -W ${worksrcpath}/lib ADTPro-${version}.jar ${my_ddir}/lib
copy ${worksrcpath}/lib/rxtx ${my_ddir}/lib
copy ${worksrcpath}/disks ${my_ddir}
xinstall -m 644 -W ${worksrcpath} ADTPro.html LICENSE README ${docdir}
}
app.name ADTPro
app.executable ${workpath}/${name}
app.icon lib/ADTPro.ico
livecheck.regex /${my_name}-(\[0-9.\]+)${extract.suffix}