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

source_changes at macosforge.org source_changes at macosforge.org
Tue Feb 6 20:40:51 PST 2007


Revision: 21790
          http://trac.macosforge.org/projects/macports/changeset/21790
Author:   markd at macports.org
Date:     2007-02-06 20:40:50 -0800 (Tue, 06 Feb 2007)

Log Message:
-----------
Update to 1.0.w.  Fix extractphase for pre 10.4.

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

Modified: trunk/dports/net/nedi/Portfile
===================================================================
--- trunk/dports/net/nedi/Portfile	2007-02-07 04:15:12 UTC (rev 21789)
+++ trunk/dports/net/nedi/Portfile	2007-02-07 04:40:50 UTC (rev 21790)
@@ -3,8 +3,7 @@
 PortSystem	1.0
 
 name				nedi
-version				1.0.w-rc4
-revision			1
+version				1.0.w
 categories			net
 maintainers			markd at macports.org
 platforms			darwin
@@ -14,13 +13,14 @@
 long_description	        A low noise network discovery, management, and inventory \
 				system for Cisco networks with a user friendly web interface.
 
-homepage			http://nedi.sourceforge.net
-master_sites		        sourceforge:nedi
+homepage			http://www.nedi.ch/
+master_sites		        http://www.nedi.ch/_media
 
 distname                        ${name}-${version}
 extract.suffix			.tgz
 
-checksums			md5 050933375bb23537ad34e382ee977e07
+checksums			md5 6a698f5b43c38d607d7a4e0e6c9f87b8
+default_variants		+server
 
 depends_lib			port:perl5.8 \
 				port:mysql5 \
@@ -32,29 +32,22 @@
 				port:p5-dbd-mysql \
 				port:rrdtool
 
-worksrcdir		${name}-${version}
+worksrcdir		${name}
 
 variant server  {
 # This variant doesn't do anything in this port, it only exists to trigger the server
 # variant in the mysql5 port.
 }
 
-variant_set server
-
 use_configure			no
+patch {}
 build {}
 
-extract {}
-patch {}
-
 destroot {
 	set nedidir ${prefix}/share/
+	xinstall -m 755 -d ${destroot}${nedidir}
+	system "cp -R ${worksrcpath} ${destroot}${nedidir}"
 
-	xinstall -m 755 -d ${worksrcpath}
-	xinstall -m 755 -d ${destroot}${prefix}/share
-	system "cd ${destroot}${prefix}/share  && gzip -dc ${distpath}/${distname}.tgz | \
-		/usr/bin/gnutar --no-same-owner -xf -"
-
 # Keep nedi.conf from prying eyes because it has passwords!
 	system "chmod 600 ${destroot}${prefix}/share/${name}/nedi.conf"
 
@@ -161,7 +154,6 @@
 
 5) Discover Your Network with NeDi
 -----------------------------------------------
--Edit the seedlist file: pico ${prefix}/share/${name}/seedlist
 -Edit nedi.conf Device Acc. variables: sudo pico ${prefix}/share/${name}/nedi.conf
 
 comm <my-community-string>

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


More information about the macports-changes mailing list