openbsd-ports/devel/libgtop2/Makefile

54 lines
1.1 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.69 2011/05/26 17:47:24 jasper Exp $
COMMENT= portable library for obtaining system information
2011-03-25 12:16:32 -04:00
GNOME_VERSION= 2.28.3
GNOME_PROJECT= libgtop
2010-09-30 03:44:35 -04:00
PKGNAME= libgtop2-${VERSION}
2009-10-12 06:18:32 -04:00
REVISION= 12
SHARED_LIBS= gtop-2.0 9.0 # .9.0
CATEGORIES= devel
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2010-11-08 04:57:39 -05:00
WANTLIB += Xau c kvm pcre pthread glib-2.0
MODULES= devel/gettext \
x11/gnome
BUILD_DEPENDS= devel/gobject-introspection
2010-11-15 14:45:56 -05:00
LIB_DEPENDS= devel/glib2
RUN_DEPENDS= sysutils/lsof
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
2010-09-30 03:44:35 -04:00
--disable-gtk-doc \
--enable-introspection \
--without-libgtop-smp
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
2010-09-30 03:44:35 -04:00
GMSGFMT="${LOCALBASE}/bin/msgfmt" \
ac_cv_header_sys_mount_h=yes
.ifdef DEBUG
CONFIGURE_ARGS+= --enable-debug
CPPFLAGS+= -DDEBUG \
-DLIBGTOP_ENABLE_DEBUG \
-DLIBGTOP_FATAL_WARNINGS
.endif
post-extract:
cp -r ${FILESDIR} ${WRKSRC}/sysdeps/openbsd/
.include <bsd.port.mk>