source: trunk/dports/aqua/PsyncX/Portfile @ 95636

Last change on this file since 95636 was 91907, checked in by ryandesign@…, 8 years ago

PsyncX: force 32-bit

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 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 91907 2012-04-13 05:25:43Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           xcode 1.0
6
7name                PsyncX
8version             2.2.2
9revision            1
10categories          aqua sysutils
11maintainers         ryandesign
12homepage            http://psyncx.sourceforge.net/
13
14description         Mac OS X wrapper around psync and crontab
15
16long_description    ${name} is a ${description}. That means that PsyncX \
17                    uses an existing free Unix application, psync, and the \
18                    ability to schedule jobs (known as cron in Unix) to \
19                    allow you to schedule backups whenever you want.
20
21fetch.type          svn
22svn.url             http://psyncx.svn.sourceforge.net/svnroot/psyncx/trunk
23svn.revision        29
24worksrcdir          trunk
25
26depends_lib         port:p5.12-macosx-file
27
28# p5.12-macosx-file is 32-bit only
29supported_archs     i386 ppc
30
31# I don't know why these files aren't in the psyncx subversion repository.
32# I copied them from the installer package on the psyncx 2.2.2 disk image.
33post-extract {
34    xinstall -W ${filespath} psyncwriter runpsync ${worksrcpath}
35}
36
37patchfiles          patch-AuthorizedTasks.m.diff \
38                    patch-CronController.m.diff \
39                    patch-CronJob.m.diff \
40                    patch-psyncapplescript.diff \
41                    patch-psyncwriter.diff \
42                    patch-runpsync.diff
43
44post-patch {
45    reinplace "s|@PREFIX@|${prefix}|g" \
46                    ${worksrcpath}/AuthorizedTasks.m \
47                    ${worksrcpath}/CronController.m \
48                    ${worksrcpath}/CronJob.m \
49                    ${worksrcpath}/psyncapplescript \
50                    ${worksrcpath}/psyncwriter \
51                    ${worksrcpath}/runpsync
52}
53
54post-destroot {
55    xinstall -W ${worksrcpath} psyncwriter runpsync ${destroot}${prefix}/bin
56}
57
58# "PsyncX is officially unsupported" —http://psyncx.sourceforge.net/
59livecheck.type      none
60
61notes "
62PsyncX is obsolete and is no longer supported or developed by its developer.\
63It is recommended that you use rsync instead.
64"
65
66if {${os.major} >= 10} {
67notes-append "
68
69PsyncX has not been tested on OS X Snow Leopard and above\
70and may not work at all on your OS version.
71"
72}
Note: See TracBrowser for help on using the repository browser.