2003-11-11 08:57:42 +01:00
|
|
|
# $NetBSD: Makefile,v 1.46 2003/11/11 07:57:42 wiz Exp $
|
1997-10-24 12:11:28 +02:00
|
|
|
|
2003-11-11 08:57:42 +01:00
|
|
|
DISTNAME= xosview-1.8.1
|
1997-10-24 12:11:28 +02:00
|
|
|
CATEGORIES= sysutils
|
2003-11-11 08:57:42 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xosview/}
|
1997-10-24 12:11:28 +02:00
|
|
|
|
2003-07-18 00:50:55 +02:00
|
|
|
MAINTAINER= bgrayson@NetBSD.org
|
2003-10-04 03:42:36 +02:00
|
|
|
HOMEPAGE= http://xosview.sourceforge.net/
|
2001-02-17 18:42:09 +01:00
|
|
|
COMMENT= X11 graphical display of OS statistics
|
1997-10-24 12:11:28 +02:00
|
|
|
|
2002-09-23 23:55:11 +02:00
|
|
|
USE_BUILDLINK2= YES
|
|
|
|
USE_X11BASE= YES
|
|
|
|
|
2001-09-23 08:00:27 +02:00
|
|
|
HAS_CONFIGURE= YES
|
|
|
|
CONFIGURE_ARGS+= --prefix=${PREFIX}
|
2002-09-23 23:55:11 +02:00
|
|
|
CONFIGURE_ARGS+= --x-includes=${X11BASE}/include
|
|
|
|
CONFIGURE_ARGS+= --x-libraries=${X11BASE}/lib
|
1999-04-07 12:09:18 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if ${OPSYS} == "NetBSD"
|
2002-09-23 23:55:11 +02:00
|
|
|
. if !defined(UVM) && exists(/usr/include/uvm/uvm.h)
|
2002-06-04 08:50:13 +02:00
|
|
|
CFLAGS+= -DUVM
|
2002-09-23 23:55:11 +02:00
|
|
|
UVM= # defined
|
|
|
|
BUILD_DEFS= UVM
|
|
|
|
. endif
|
1999-04-07 12:09:18 +02:00
|
|
|
.elif ${OPSYS} == "SunOS"
|
2002-09-23 23:55:11 +02:00
|
|
|
USE_GMAKE= YES
|
2001-03-27 05:19:43 +02:00
|
|
|
BUILD_DEPENDS+= egcs-1.1.2:../../lang/egcs
|
2002-09-23 23:55:11 +02:00
|
|
|
CXX= ${LOCALBASE}/egcs/bin/g++
|
|
|
|
CPPFLAGS+= -I${X11BASE}/include
|
2001-06-12 22:33:00 +02:00
|
|
|
LIBS+= -lsocket -lnsl
|
1999-04-07 12:09:18 +02:00
|
|
|
.endif
|
|
|
|
|
2002-09-23 23:55:11 +02:00
|
|
|
.include "../../graphics/xpm/buildlink2.mk"
|
1998-04-15 12:38:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|