[73175] trunk/dports/net/nedi/Portfile

markd at macports.org markd at macports.org
Fri Nov 5 18:49:36 PDT 2010


Revision: 73175
          http://trac.macports.org/changeset/73175
Author:   markd at macports.org
Date:     2010-11-05 18:49:33 -0700 (Fri, 05 Nov 2010)
Log Message:
-----------
Convert ui_msg to notes, remove dummy variant no longer needed, and removed a few commented lines.

Modified Paths:
--------------
    trunk/dports/net/nedi/Portfile

Modified: trunk/dports/net/nedi/Portfile
===================================================================
--- trunk/dports/net/nedi/Portfile	2010-11-06 01:44:12 UTC (rev 73174)
+++ trunk/dports/net/nedi/Portfile	2010-11-06 01:49:33 UTC (rev 73175)
@@ -4,6 +4,7 @@
 
 name			nedi
 version			1.0.5
+revision		1
 categories		net
 maintainers		markd
 platforms		darwin
@@ -33,15 +34,10 @@
 			port:rrdtool \
 			port:fping
 
-variant server description {does nothing in this port, but its presence triggers mysql5 server variant} {}
-
 variant cacti description {NeDi supports the Cacti API to selectively add graphs of NeDi discovered devices to a Cacti installation on the same host} {
 	depends_lib-append port:cacti
 }
 
-variant_set server
-
-
 # Set some useful variables
 set nedidir ${prefix}/share/${name}
 set rrdbin ${prefix}/bin/rrdtool
@@ -56,11 +52,6 @@
 use_configure		no
 build {}
 
-#post-patch {
-#	eval reinplace "s|__PREFIX__|${prefix}|g" \
-#		[glob ${filespath}/*]
-#}
-
 destroot {
 	file mkdir ${destroot}${nedidir}
 	system "cp -R ${worksrcpath}/* ${destroot}${nedidir}"
@@ -125,11 +116,10 @@
 		${prefix}/etc/LaunchDaemons/org.macports.snmptrapd/org.macports.snmptrapd.plist"
 }
 
-post-activate {
+notes \
+  "**** To complete the NeDi OS X installation ****
 
-ui_msg "\n#### To complete the NeDi OS X installation ####
 
-
 1) Setup MySQL (for new installs)
 -----------------------------------------------
 -Configure MySQL:
@@ -238,6 +228,4 @@
 
  Then load the startup script to run the Unix snmptrapd daemon:
 
-	sudo load lauchctl load -w /Library/LaunchDaemons/org.macports.snmptrapd.plist
-\n"
-}
+	sudo load lauchctl load -w /Library/LaunchDaemons/org.macports.snmptrapd.plist"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101105/a3643511/attachment.html>


More information about the macports-changes mailing list