openbsd-ports/devel/libgtop2/Makefile
jasper 3c5a9b58e0 - update libgtop2 to 2.28.0
* it's not any less broken than the previous version, but at least it
gives us a recent base to hack on.

aja@ agrees
2009-10-16 10:56:04 +00:00

42 lines
889 B
Makefile

# $OpenBSD: Makefile,v 1.34 2009/10/16 10:56:04 jasper Exp $
COMMENT= portable library for obtaining system information
GNOME_VERSION= 2.28.0
GNOME_PROJECT= libgtop
PKGNAME= libgtop2-${VERSION}
SHARED_LIBS= gtop-2.0 9.0 # .9.0
CATEGORIES= devel
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= Xau c kvm pcre
MODULES= devel/gettext \
x11/gnome
LIB_DEPENDS= glib-2.0::devel/glib2
USE_X11= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--without-libgtop-smp
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
GMSGFMT="${LOCALBASE}/bin/msgfmt"
post-extract:
cp ${FILESDIR}/procaffinity.c ${WRKSRC}/sysdeps/bsd/
post-install:
@chgrp kmem ${PREFIX}/bin/libgtop_server2
@chmod 2555 ${PREFIX}/bin/libgtop_server2
.include <bsd.port.mk>