pkgsrc/sysutils/xosview/Makefile

41 lines
1.1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.39 2002/06/04 06:50:13 tron 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/
MAINTAINER= bgrayson@netbsd.org
HOMEPAGE= http://lore.ece.utexas.edu/~bgrayson/xosview.html
COMMENT= X11 graphical display of OS statistics
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"
BUILD_DEFS= UVM
.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"
BUILD_DEPENDS+= egcs-1.1.2:../../lang/egcs
1999-04-07 12:09:18 +02:00
CONFIGURE_ENV+= CXX=${LOCALBASE}/egcs/bin/g++
CPPFLAGS+= -I${BUILDLINK_X11_DIR}/include
LIBS+= -lsocket -lnsl
USE_GMAKE= YES
1999-04-07 12:09:18 +02:00
.endif
.include "../../graphics/xpm/buildlink.mk"
.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"