2002-06-04 08:50:13 +02:00
|
|
|
# $NetBSD: Makefile,v 1.39 2002/06/04 06:50:13 tron Exp $
|
1997-10-24 12:11:28 +02:00
|
|
|
|
1999-02-17 01:16:55 +01:00
|
|
|
DISTNAME= xosview-1.7.0.b
|
2001-01-13 20:19:04 +01:00
|
|
|
PKGNAME= xosview-1.7.0b
|
1997-10-24 12:11:28 +02:00
|
|
|
CATEGORIES= sysutils
|
1998-05-18 11:07:32 +02:00
|
|
|
MASTER_SITES= http://www.ece.utexas.edu/~bgrayson/xosview/ \
|
|
|
|
http://lore.ece.utexas.edu/~bgrayson/xosview/
|
1997-10-24 12:11:28 +02:00
|
|
|
|
2000-06-27 10:17:46 +02:00
|
|
|
MAINTAINER= bgrayson@netbsd.org
|
1998-08-20 17:16:34 +02:00
|
|
|
HOMEPAGE= http://lore.ece.utexas.edu/~bgrayson/xosview.html
|
2001-02-17 18:42:09 +01:00
|
|
|
COMMENT= X11 graphical display of OS statistics
|
1997-10-24 12:11:28 +02:00
|
|
|
|
2001-09-23 08:00:27 +02:00
|
|
|
HAS_CONFIGURE= YES
|
|
|
|
CONFIGURE_ARGS+= --prefix=${PREFIX}
|
|
|
|
CONFIGURE_ARGS+= --x-includes=${BUILDLINK_X11_DIR}/include
|
|
|
|
CONFIGURE_ARGS+= --x-libraries=${BUILDLINK_X11_DIR}/lib
|
|
|
|
|
|
|
|
USE_X11BASE= YES
|
|
|
|
USE_BUILDLINK_ONLY= YES
|
1999-04-07 12:09:18 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if ${OPSYS} == "NetBSD"
|
1998-11-04 17:58:09 +01:00
|
|
|
BUILD_DEFS= UVM
|
2002-06-04 08:50:13 +02:00
|
|
|
|
|
|
|
.if !defined(UVM) && exists(/usr/include/uvm/uvm.h)
|
|
|
|
UVM= # defined
|
|
|
|
CFLAGS+= -DUVM
|
|
|
|
.endif
|
1999-04-07 12:09:18 +02:00
|
|
|
.elif ${OPSYS} == "SunOS"
|
2001-03-27 05:19:43 +02:00
|
|
|
BUILD_DEPENDS+= egcs-1.1.2:../../lang/egcs
|
1999-04-07 12:09:18 +02:00
|
|
|
CONFIGURE_ENV+= CXX=${LOCALBASE}/egcs/bin/g++
|
2001-09-23 08:00:27 +02:00
|
|
|
CPPFLAGS+= -I${BUILDLINK_X11_DIR}/include
|
2001-06-12 22:33:00 +02:00
|
|
|
LIBS+= -lsocket -lnsl
|
2000-08-24 01:14:21 +02:00
|
|
|
USE_GMAKE= YES
|
1999-04-07 12:09:18 +02:00
|
|
|
.endif
|
|
|
|
|
2001-10-23 15:14:43 +02:00
|
|
|
.include "../../graphics/xpm/buildlink.mk"
|
2001-10-25 00:10:43 +02:00
|
|
|
.include "../../mk/x11.buildlink.mk"
|
1998-04-15 12:38:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|