2008-03-17 04:38:31 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.31 2008/03/17 08:38:31 ajacoutot 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
|
|
|
|
2008-02-09 11:52:24 -05:00
|
|
|
GNOME_VERSION= 2.20.1
|
2007-12-28 09:31:52 -05:00
|
|
|
GNOME_PROJECT= libgtop
|
2008-03-17 04:38:31 -04:00
|
|
|
PKGNAME= libgtop2-${VERSION}p0
|
2008-02-09 11:52:24 -05:00
|
|
|
SHARED_LIBS= gtop-2.0 8.0 # .7.0
|
2006-01-03 13:07:27 -05:00
|
|
|
|
2003-01-31 13:35:57 -05:00
|
|
|
CATEGORIES= devel
|
|
|
|
|
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
|
|
|
|
2007-11-13 09:06:21 -05:00
|
|
|
WANTLIB= Xau c kvm pcre
|
2003-01-31 13:35:57 -05:00
|
|
|
|
2007-12-28 09:31:52 -05:00
|
|
|
MODULES= devel/gettext \
|
|
|
|
x11/gnome
|
|
|
|
|
2008-02-09 11:52:24 -05:00
|
|
|
LIB_DEPENDS= glib-2.0::devel/glib2
|
2003-01-31 13:35:57 -05:00
|
|
|
|
2006-02-05 13:27:00 -05:00
|
|
|
USE_X11= Yes
|
2004-08-01 02:06:35 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2008-02-09 11:52:24 -05:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
|
|
|
--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" \
|
|
|
|
GMSGFMT="${LOCALBASE}/bin/msgfmt"
|
2003-01-31 13:35:57 -05:00
|
|
|
|
2004-08-01 02:06:35 -04:00
|
|
|
post-install:
|
|
|
|
@chgrp kmem ${PREFIX}/bin/libgtop_server2
|
|
|
|
@chmod 2555 ${PREFIX}/bin/libgtop_server2
|
2003-01-31 13:35:57 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|