[30454] trunk/dports/www/abyss/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Sun Oct 28 01:27:43 PDT 2007


Revision: 30454
          http://trac.macosforge.org/projects/macports/changeset/30454
Author:   markd at macports.org
Date:     2007-10-28 01:27:42 -0700 (Sun, 28 Oct 2007)

Log Message:
-----------
Convert from darwinportsstartup to startupitem.

Modified Paths:
--------------
    trunk/dports/www/abyss/Portfile

Modified: trunk/dports/www/abyss/Portfile
===================================================================
--- trunk/dports/www/abyss/Portfile	2007-10-28 08:17:55 UTC (rev 30453)
+++ trunk/dports/www/abyss/Portfile	2007-10-28 08:27:42 UTC (rev 30454)
@@ -23,8 +23,6 @@
 use_configure	no
 build { system "cd ${worksrcpath}/src/ && make" }
 
-depends_run	path:/Library/StartupItems/DarwinPortsStartup:DarwinPortsStartup
-
 destroot {
 	xinstall -o root -m 0755 -p "${worksrcpath}/bin/abyss" "${destroot}${prefix}/sbin/"
 	xinstall -d -o nobody -m 0755 "${destroot}${prefix}/share/abyss/"
@@ -44,3 +42,9 @@
 	reinplace "s|__PREFIX|${prefix}|g" \
 		"${destroot}${prefix}/etc/rc.d/abyss.sh"
 }
+
+startupitem.create	yes
+startupitem.name	abyss
+startupitem.pidfile	"clean ${prefix}/share/abyss/abyss.pid"
+startupitem.start	"${prefix}/etc/rc.d/abyss.sh start"
+startupitem.stop	"${prefix}/etc/rc.d/abyss.sh start"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071028/5ce0eed3/attachment-0001.html


More information about the macports-changes mailing list