2006-09-18 07:50:39 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.19 2006/09/18 11:50:39 espie Exp $
|
2003-01-31 13:35:57 -05:00
|
|
|
|
|
|
|
COMMENT= "portable library for obtaining system information"
|
|
|
|
|
2005-05-25 19:28:16 -04:00
|
|
|
V= 2.10.1
|
2003-01-31 13:35:57 -05:00
|
|
|
DISTNAME= libgtop-${V}
|
2006-04-02 08:21:00 -04:00
|
|
|
PKGNAME= libgtop2-${V}p2
|
2006-01-03 13:07:27 -05:00
|
|
|
SHARED_LIBS= gtop-2.0 5.0
|
|
|
|
|
2003-01-31 13:35:57 -05:00
|
|
|
CATEGORIES= devel
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.gnome.org
|
|
|
|
|
2005-05-25 19:28:16 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libgtop/2.10/}
|
2004-08-01 02:06:35 -04:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2003-01-31 13:35:57 -05:00
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2006-02-05 13:27:00 -05:00
|
|
|
WANTLIB= c kvm Xau
|
2003-01-31 13:35:57 -05:00
|
|
|
|
2004-12-11 12:41:52 -05:00
|
|
|
MODULES= devel/gettext
|
|
|
|
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
|
2006-09-18 07:50:39 -04:00
|
|
|
LIB_DEPENDS= glib-2.0::devel/glib2 \
|
2004-12-11 12:41:52 -05:00
|
|
|
popt::devel/popt
|
2003-01-31 13:35:57 -05:00
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
2006-01-03 13:07:27 -05:00
|
|
|
USE_LIBTOOL= Yes
|
2006-02-05 13:27:00 -05:00
|
|
|
USE_X11= Yes
|
2004-08-01 02:06:35 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2003-01-31 13:35:57 -05:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
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>
|