[57016] trunk/dports/sysutils/ifstat
toby at macports.org
toby at macports.org
Fri Sep 4 12:57:58 PDT 2009
Revision: 57016
http://trac.macports.org/changeset/57016
Author: toby at macports.org
Date: 2009-09-04 12:57:58 -0700 (Fri, 04 Sep 2009)
Log Message:
-----------
fix destroot
Modified Paths:
--------------
trunk/dports/sysutils/ifstat/Portfile
Added Paths:
-----------
trunk/dports/sysutils/ifstat/files/
trunk/dports/sysutils/ifstat/files/patch-Makefile.in
Modified: trunk/dports/sysutils/ifstat/Portfile
===================================================================
--- trunk/dports/sysutils/ifstat/Portfile 2009-09-04 19:54:41 UTC (rev 57015)
+++ trunk/dports/sysutils/ifstat/Portfile 2009-09-04 19:57:58 UTC (rev 57016)
@@ -12,17 +12,17 @@
just like vmstat/iostat do for other system counters. \
ifstat gathers these statistics from the kernel internal \
counters, which is highly operating system dependent.
-homepage http://gael.roualland.free.fr/ifstat/
+homepage http://gael.roualland.free.fr/ifstat/
license GPLv2
platforms darwin
maintainers nomaintainer
master_sites ${homepage}
checksums md5 b655642c33a626cfe976792fbcd9b6e1
+
+patchfiles patch-Makefile.in
+
configure.args --mandir=${prefix}/share/man --enable-library
-destroot.destdir \
- prefix=${destroot}${prefix}
-
variant snmp description "Enable SNMP support" {
depends_lib-append port:net-snmp
configure.args-append --with-snmp=${prefix}
Added: trunk/dports/sysutils/ifstat/files/patch-Makefile.in
===================================================================
--- trunk/dports/sysutils/ifstat/files/patch-Makefile.in (rev 0)
+++ trunk/dports/sysutils/ifstat/files/patch-Makefile.in 2009-09-04 19:57:58 UTC (rev 57016)
@@ -0,0 +1,31 @@
+--- Makefile.in.orig 2009-09-04 12:56:16.000000000 -0700
++++ Makefile.in 2009-09-04 12:56:40.000000000 -0700
+@@ -65,18 +65,18 @@
+ install: install-$(TARGET) install- at LIBTARGET@
+
+ install-$(TARGET): $(TARGET)
+- $(INSTALL) -d -m 755 $(bindir)
+- $(INSTALL) -s -m 755 $(TARGET) $(bindir)/$(TARGET)
+- $(INSTALL) -d -m 755 $(mandir)/man1
+- $(INSTALL) -m 644 ifstat.1 $(mandir)/man1/ifstat.1
++ $(INSTALL) -d -m 755 $(DESTDIR)$(bindir)
++ $(INSTALL) -s -m 755 $(TARGET) $(DESTDIR)$(bindir)/$(TARGET)
++ $(INSTALL) -d -m 755 $(DESTDIR)$(mandir)/man1
++ $(INSTALL) -m 644 ifstat.1 $(DESTDIR)$(mandir)/man1/ifstat.1
+
+ install-$(LIBTARGET): $(LIBTARGET) libifstat-config
+- $(INSTALL) -d -m 755 $(bindir)
+- $(INSTALL) -m 755 libifstat-config $(bindir)/libifstat-config
+- $(INSTALL) -d -m 755 $(includedir)
+- $(INSTALL) -m 644 ifstat.h $(includedir)/ifstat.h
+- $(INSTALL) -d -m 755 $(libdir)
+- $(INSTALL) -m 644 $(LIBTARGET) $(libdir)/$(LIBTARGET)
++ $(INSTALL) -d -m 755 $(DESTDIR)$(bindir)
++ $(INSTALL) -m 755 libifstat-config $(DESTDIR)$(bindir)/libifstat-config
++ $(INSTALL) -d -m 755 $(DESTDIR)$(includedir)
++ $(INSTALL) -m 644 ifstat.h $(DESTDIR)$(includedir)/ifstat.h
++ $(INSTALL) -d -m 755 $(DESTDIR)$(libdir)
++ $(INSTALL) -m 644 $(LIBTARGET) $(DESTDIR)$(libdir)/$(LIBTARGET)
+
+ install-: # dependency when not building library
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090904/43e1ff4c/attachment.html>
More information about the macports-changes
mailing list