[33895] trunk/dports/emulators

ryandesign at macports.org ryandesign at macports.org
Wed Feb 6 18:49:52 PST 2008


Revision: 33895
          http://trac.macosforge.org/projects/macports/changeset/33895
Author:   ryandesign at macports.org
Date:     2008-02-06 18:49:50 -0800 (Wed, 06 Feb 2008)

Log Message:
-----------
adtpro: new port!

Added Paths:
-----------
    trunk/dports/emulators/adtpro/
    trunk/dports/emulators/adtpro/Portfile
    trunk/dports/emulators/adtpro/files/
    trunk/dports/emulators/adtpro/files/adtpro.in

Added: trunk/dports/emulators/adtpro/Portfile
===================================================================
--- trunk/dports/emulators/adtpro/Portfile	                        (rev 0)
+++ trunk/dports/emulators/adtpro/Portfile	2008-02-07 02:49:50 UTC (rev 33895)
@@ -0,0 +1,58 @@
+# $Id$
+
+PortSystem              1.0
+
+name                    adtpro
+set my_name             ADTPro
+version                 1.0.5
+categories              emulators
+maintainers             ryandesign
+homepage                http://adtpro.sourceforge.org/
+master_sites            sourceforge
+platforms               darwin
+distname                ${my_name}-${version}
+use_configure           no
+universal_variant       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 \
+    md5 49a0d087acfdce23ca43ce1ef81b0da1 \
+    sha1 2660ccd2c896284336e278473a730f484c55d689 \
+    rmd160 c2aa3ab45340c1ddcf117b244fb9f0ebcfb94efa
+
+build {}
+
+set my_dir ${prefix}/share/${name}
+
+destroot {
+    xinstall -W ${filespath} ${name}.in ${destroot}${prefix}/bin/${name}
+    reinplace "s|@MY_DIR@|${my_dir}|" ${destroot}${prefix}/bin/${name}
+    set my_ddir ${destroot}${my_dir}
+    xinstall -d ${my_ddir}/lib/rxtx/Mac_OS_X
+    xinstall -W ${worksrcpath} ${name}.command ${my_ddir}
+    xinstall -W ${worksrcpath}/lib ADTPro-1.0.5.jar ${my_ddir}/lib
+    xinstall -W ${worksrcpath}/lib/rxtx fixperm.command RXTXcomm.jar ${my_ddir}/lib/rxtx
+    xinstall -W ${worksrcpath}/lib/rxtx/Mac_OS_X librxtxSerial.jnilib ${my_ddir}/lib/rxtx/Mac_OS_X
+    copy ${worksrcpath}/disks ${my_ddir}
+}
+
+post-activate {
+    ui_msg "
+Each user who wants to use the serial mode of ${my_name} must run
+
+    ${my_dir}/lib/rxtx/fixperm.command
+
+once first. This requires admin privileges.
+"
+}
+
+livecheck.regex         <title>${name}\\s+${my_name}-(.*) released.*</title>


Property changes on: trunk/dports/emulators/adtpro/Portfile
___________________________________________________________________
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native

Added: trunk/dports/emulators/adtpro/files/adtpro.in
===================================================================
--- trunk/dports/emulators/adtpro/files/adtpro.in	                        (rev 0)
+++ trunk/dports/emulators/adtpro/files/adtpro.in	2008-02-07 02:49:50 UTC (rev 33895)
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+ at MY_DIR@/adtpro.command

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080206/cc17c2e9/attachment.html


More information about the macports-changes mailing list