source: trunk/dports/aqua/radassist/Portfile

Last change on this file was 105519, checked in by jmr@…, 4 years ago

radassist: license

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