source: trunk/dports/aqua/radassist/Portfile @ 102654

Last change on this file since 102654 was 57375, checked in by ryandesign@…, 10 years ago

Change deprecated livecheck.check to livecheck.type
See http://lists.macosforge.org/pipermail/macports-dev/2009-August/009699.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.9 KB
Line 
1# $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $
2
3PortSystem      1.0
4
5name            radassist
6version         1.0.0
7categories      aqua
8platforms               darwin
9maintainers     nomaintainer
10description     An Aqua wrapper for the radmind command-line clients
11
12long_description \
13    The Radmind Assistant provides a point-and-click interface to create radmind \
14    loadsets and update radmind clients.
15
16homepage        http://rsug.itd.umich.edu/software/radmind
17master_sites    sourceforge:radmind
18distname        radmind-assistant-${version}-src
19worksrcdir      radmind-assistant-${version}
20extract.suffix  .tgz
21
22checksums       md5 8b021199974e3e96239496511ce2efb7
23
24depends_lib     port:radmind \
25                port:ihook
26
27patch {
28    set filestopatch {
29        10.2-desktop-negative.T \
30        10.2-lab-negative.T \
31        10.3-desktop-negative.T \
32        10.3-lab-negative-from-dot.T \
33        10.3-lab-negative.T \
34        10.4-desktop-negative.T \
35        10.4-lab-negative.T \
36        10.4-negative.T \
37        600.radmind \
38        AppDelegate.m \
39        Build.hook \
40        RACertificateManager.m \
41        RAScriptManager.m \
42        RAServerCreator.m \
43        RAVersionCompare.m \
44        RCMPreferences.m \
45        RCMStepController.m \
46        RadmindClient \
47        RadmindServer \
48        RadmindUpdateMonitor \
49        authtools.c \
50        edu.umich.rumd.plist \
51        hooks/LI00CheckUsername.hook \
52        hooks/LI10SetupUserEnvironment.hook \
53        hooks/LO10CreateTemplateHomeCopy.hook \
54        hooks/LO20UserAccounting.hook \
55        hooks/login.hook \
56        hooks/logout.hook \
57        hooks/masterlogin.sh \
58        hooks/masterlogout.sh \
59        hooks/radmind.hook \
60        kvalid.c \
61        radmind.defaults \
62        rmauthexec.c \
63        rsm/authtools.c \
64        rsm/English.lproj/Preferences.nib/keyedobjects.nib \
65        rsm/RAServerController.h \
66        rsm/RAServerController.m \
67        rsm/rsmauthtool.c \
68        rsm/RSMLoadsetEditor.h \
69        rsm/RSMLoadsetEditor.m \
70        rsm/RSMLoadsetManager.m \
71        rsm/RSMPreferences.m \
72        rte/RXTranscript.m \
73        rumd.c \
74        rummgmt.c
75    }
76    foreach i ${filestopatch} {
77        reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/${i}
78        reinplace "s|/var/radmind|${prefix}/var/radmind|g" ${worksrcpath}/${i}
79        reinplace "s|/etc/radmind|${prefix}/etc/radmind|g" ${worksrcpath}/${i}
80    }
81}
82
83use_configure   no
84
85build.target    install
86
87destroot {
88    set appPath ${destroot}${applications_dir}
89    xinstall -d -m 0755 ${appPath}
90    set appNames {"Radmind Assistant" "Radmind Server Manager" \
91        "Radmind Transcript Editor"}
92    foreach appName ${appNames} {
93        file copy ${worksrcpath}/tmp/Radmind/${appName}.app ${appPath}/${appName}.app
94    }
95    destroot.keepdirs ${destroot}${prefix}/var/radmind/server_file_backup
96}
97
98livecheck.type  regex
99livecheck.url   ${homepage}
100livecheck.regex "Radmind (\\d+(?:\\.\\d+)*)"
101
Note: See TracBrowser for help on using the repository browser.