[24735] trunk/dports/aqua/radassist

source_changes at macosforge.org source_changes at macosforge.org
Tue May 1 21:28:28 PDT 2007


Revision: 24735
          http://trac.macosforge.org/projects/macports/changeset/24735
Author:   boeyms at macports.org
Date:     2007-05-01 21:28:27 -0700 (Tue, 01 May 2007)

Log Message:
-----------
aqua/radassist:
 * update to 1.0.0;
 * update patching required for installation of 1.0.0; and
 * update runtime requirements to being the MacPorts versions of radmind and
   iHook.

Modified Paths:
--------------
    trunk/dports/aqua/radassist/Portfile

Removed Paths:
-------------
    trunk/dports/aqua/radassist/files/

Modified: trunk/dports/aqua/radassist/Portfile
===================================================================
--- trunk/dports/aqua/radassist/Portfile	2007-05-02 04:20:18 UTC (rev 24734)
+++ trunk/dports/aqua/radassist/Portfile	2007-05-02 04:28:27 UTC (rev 24735)
@@ -2,8 +2,7 @@
 PortSystem		1.0
 
 name			radassist
-version			0.9.6rc3
-revision		2
+version			1.0.0
 categories		aqua
 maintainers		nomaintainer at macports.org
 description		An Aqua wrapper for the radmind command-line clients
@@ -12,16 +11,69 @@
 					radmind clients.
 platforms		darwin
 homepage		http://rsug.itd.umich.edu/software/radmind
-master_sites	${homepage}/files/
-checksums		md5 f7e280de763ef0eef5f7d30815ae7182
+master_sites		sourceforge:radmind-assistant
+checksums		md5 8b021199974e3e96239496511ce2efb7
+distname		radmind-assistant-${version}-src
+worksrcdir		radmind-assistant-${version}
+extract.suffix	.tgz
 
-depends_lib		path:${prefix}/sbin/radmind:radmind \
-				path:/Applications/MacPorts/iHook.app:ihook
+depends_lib		port:radmind \
+				port:ihook
 
-post-patch {
-	file copy ${filespath}/patch-darwinports.in ${workpath}/patch-darwinports
-	reinplace "s|@PREFIX@|${prefix}|g" ${workpath}/patch-darwinports
-	system "[command patch] < \"${workpath}/patch-darwinports\""
+patch {
+	set filestopatch {
+        10.2-desktop-negative.T \
+        10.2-lab-negative.T \
+        10.3-desktop-negative.T \
+        10.3-lab-negative-from-dot.T \
+        10.3-lab-negative.T \
+        10.4-desktop-negative.T \
+        10.4-lab-negative.T \
+        10.4-negative.T \
+        600.radmind \
+        AppDelegate.m \
+        Build.hook \
+        RACertificateManager.m \
+        RAScriptManager.m \
+        RAServerCreator.m \
+        RAVersionCompare.m \
+        RCMPreferences.m \
+        RCMStepController.m \
+        RadmindClient \
+        RadmindServer \
+        RadmindUpdateMonitor \
+        authtools.c \
+        edu.umich.rumd.plist \
+        hooks/LI00CheckUsername.hook \
+        hooks/LI10SetupUserEnvironment.hook \
+        hooks/LO10CreateTemplateHomeCopy.hook \
+        hooks/LO20UserAccounting.hook \
+        hooks/login.hook \
+        hooks/logout.hook \
+        hooks/masterlogin.sh \
+        hooks/masterlogout.sh \
+        hooks/radmind.hook \
+        kvalid.c \
+        radmind.defaults \
+        rmauthexec.c \
+        rsm/authtools.c \
+        rsm/English.lproj/Preferences.nib/keyedobjects.nib \
+        rsm/RAServerController.h \
+        rsm/RAServerController.m \
+        rsm/rsmauthtool.c \
+        rsm/RSMLoadsetEditor.h \
+        rsm/RSMLoadsetEditor.m \
+        rsm/RSMLoadsetManager.m \
+        rsm/RSMPreferences.m \
+        rte/RXTranscript.m \
+        rumd.c \
+        rummgmt.c
+        }
+	foreach i ${filestopatch} {
+		reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/${i}
+		reinplace "s|/var/radmind|${prefix}/var/radmind|g" ${worksrcpath}/${i}
+		reinplace "s|/etc/radmind|${prefix}/etc/radmind|g" ${worksrcpath}/${i}
+	}
 }
 
 use_configure	no
@@ -32,7 +84,10 @@
 	cd ${worksrcpath}
 	set appPath ${destroot}/Applications/MacPorts
 	xinstall -d -m 0755 ${appPath}
-	set appName "Radmind Assistant"
-	system "cp -R 'tmp/${appName}.app' '${appPath}/${appName}.app'"
+	set appNames {"Radmind Assistant" "Radmind Server Manager" \
+        "Radmind Transcript Editor"}
+    foreach appName ${appNames} {
+        file copy tmp/Radmind/${appName}.app ${appPath}/${appName}.app
+    }
 	destroot.keepdirs ${destroot}${prefix}/var/radmind/server_file_backup
 }

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


More information about the macports-changes mailing list