summaryrefslogtreecommitdiff
path: root/sysutils/xperfmon3/Makefile
diff options
context:
space:
mode:
authorGary Jennejohn <gj@FreeBSD.org>1998-09-30 19:32:44 +0000
committerGary Jennejohn <gj@FreeBSD.org>1998-09-30 19:32:44 +0000
commit4913bc44efb22a206426469204469222e01ecad5 (patch)
treed0c44d5cf2807210afd5d73f9d7690d6ee269f02 /sysutils/xperfmon3/Makefile
parentUpdate xsysinfo to use libdevstat for CAM. (diff)
Update to version 2.0 and add support for libdevstat so that this works
with CAM. I don't run NFS so I was unable to test whether xperfmon++ still shows reasonable values for nfclient and nfsserver. Obtained from: the update came from Lars Koeller, the libdevstat support was added by me.
Notes
Notes: svn path=/head/; revision=13562
Diffstat (limited to 'sysutils/xperfmon3/Makefile')
-rw-r--r--sysutils/xperfmon3/Makefile19
1 files changed, 15 insertions, 4 deletions
diff --git a/sysutils/xperfmon3/Makefile b/sysutils/xperfmon3/Makefile
index 72246ca6575d..eb078185d646 100644
--- a/sysutils/xperfmon3/Makefile
+++ b/sysutils/xperfmon3/Makefile
@@ -1,19 +1,30 @@
# New ports collection makefile for: xperfmon++ V1.40
# Version required: 1.1
# Date created: 14 March 97
-# Whom: Lars Koeller <Lars_Koeller@odie.physik2.uni-rostock.de>
+# Whom: Lars Koeller <Lars.Koeller@Uni-Bielefeld.DE>
#
-# $Id: Makefile,v 1.15 1998/02/21 20:26:15 steve Exp $
+# $Id: Makefile,v 1.12 1997/03/15 12:32:52 asami Exp $
#
DISTNAME= xperfmon++
-PKGNAME= xperfmon++-1.40
+PKGNAME= xperfmon++-2.0
CATEGORIES= sysutils x11
-MASTER_SITES= ftp://proteus.arc.nasa.gov/pub/
+# In Germany try this
+MASTER_SITES= ftp://proteus.arc.nasa.gov/pub/ \
+ ftp://ftp.uni-bielefeld.de/pub/systems/FreeBSD/lkoeller
+
DISTFILES= xperfmon++v1.1.tar.Z
MAINTAINER= Lars.Koeller@Uni-Bielefeld.DE
USE_IMAKE= yes
+pre-configure:
+ if [ -e /usr/lib/libdevstat.a ]; then \
+ cd ${WRKSRC} ; \
+ ${MV} Imakefile Imakefile.in ; \
+ ${SED} -e "s:EXTRA_DEFINES=:EXTRA_DEFINES= -DHAVE_DEVSTAT:" Imakefile.in > Imakefile.i1 ; \
+ ${SED} -e "s:FreeBSDFLAGS=:FreeBSDFLAGS= -ldevstat:" Imakefile.i1 > Imakefile ; \
+ fi
+
.include <bsd.port.mk>