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