2004-08-10 08:42:21 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2004/08/10 12:42:22 xsa Exp $
|
2003-01-31 13:35:57 -05:00
|
|
|
|
|
|
|
COMMENT= "portable library for obtaining system information"
|
|
|
|
|
2004-08-01 02:06:35 -04:00
|
|
|
V= 2.6.0
|
2003-01-31 13:35:57 -05:00
|
|
|
DISTNAME= libgtop-${V}
|
|
|
|
PKGNAME= libgtop2-${V}
|
|
|
|
CATEGORIES= devel
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.gnome.org
|
|
|
|
MAINTAINER= Marc Matteo <marcm@openbsd.org>
|
|
|
|
|
2004-08-01 02:06:35 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libgtop/2.6/}
|
|
|
|
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
|
|
|
|
|
2004-08-10 08:42:21 -04:00
|
|
|
MODULES= devel/gettext
|
2003-11-30 23:08:56 -05:00
|
|
|
LIB_DEPENDS= glib-2.0.0.0::devel/glib2 \
|
|
|
|
popt::devel/popt
|
2003-01-31 13:35:57 -05:00
|
|
|
|
|
|
|
USE_GMAKE= 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>
|