pkgsrc/sysutils/xosview/Makefile

41 lines
1 KiB
Makefile
Raw Normal View History

2003-07-18 00:50:55 +02:00
# $NetBSD: Makefile,v 1.43 2003/07/17 22:53:59 grant Exp $
DISTNAME= xosview-1.7.0.b
PKGNAME= xosview-1.7.0b
CATEGORIES= sysutils
MASTER_SITES= http://www.ece.utexas.edu/~bgrayson/xosview/ \
http://lore.ece.utexas.edu/~bgrayson/xosview/
2003-07-18 00:50:55 +02:00
MAINTAINER= bgrayson@NetBSD.org
HOMEPAGE= http://lore.ece.utexas.edu/~bgrayson/xosview.html
COMMENT= X11 graphical display of OS statistics
2002-12-11 22:38:20 +01:00
NOT_FOR_PLATFORM= NetBSD-1.[7-9]*-* NetBSD-[2-9]*-*
2002-09-23 23:55:11 +02:00
USE_BUILDLINK2= YES
USE_X11BASE= YES
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)
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
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
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"
.include "../../mk/bsd.pkg.mk"