pkgsrc/sysutils/xosview/Makefile
cube a4d374f949 Update to version 1.8.2 and apply patch from PR 26523 by Alexander Becher.
The patch correct wrong pointer arithmetics that prevented xosview
from being called with -name option.

Changes since xosview-1.8.1
 - Applied sourceforge patch 927112 from Russell Reed which fixes
   the swapmeter when USESYSCALLS is defined.
 - Applied sourceforge patch 959433 which adds acpi support to
   the linux battery meter.
 - Applied a patch similar to the sourceforge patch 586184 submitted
   by Mark Guertin.
 - Linux diskmeter now uses vmstat and thus works with 2.6.
   But the units problem (block size) probably still remains.
 - Linux pagemeter should now work with 2.6 kernels
 - Merge in the fedora-2 nfs patch.
 - Merge in the fedora-2 strip patch.
 - Merge in the fedora-2 proc patch.
 - Merge in the fedora-2 s390 patch.
 - Merge in the fedora-2 non-i386 patch.
 - Merge in the fedora-2 linux-2.6 kernel (related) patch.
 - Add an autogen.sh script.  This script runs autoconf to create
   the configure script.
2004-08-03 07:33:05 +00:00

39 lines
943 B
Makefile

# $NetBSD: Makefile,v 1.51 2004/08/03 07:33:05 cube Exp $
DISTNAME= xosview-1.8.2
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xosview/}
MAINTAINER= bgrayson@NetBSD.org
HOMEPAGE= http://xosview.sourceforge.net/
COMMENT= X11 graphical display of OS statistics
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_BUILDLINK3= YES
USE_X11BASE= YES
USE_LANGUAGES= c++
HAS_CONFIGURE= YES
CONFIGURE_ARGS+= --prefix=${PREFIX}
CONFIGURE_ARGS+= --x-includes=${X11BASE}/include
CONFIGURE_ARGS+= --x-libraries=${X11BASE}/lib
INSTALLATION_DIRS= bin lib/X11/app-defaults man/man1
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
. if !defined(UVM) && exists(/usr/include/uvm/uvm.h)
CFLAGS+= -DUVM
UVM= # defined
BUILD_DEFS= UVM
. endif
.elif ${OPSYS} == "SunOS"
USE_GNU_TOOLS+= make
CPPFLAGS+= -I${X11BASE}/include
LIBS+= -lsocket -lnsl
.endif
.include "../../graphics/xpm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"