ca3b5569fc
former nino@ that has been a part of this port for some time. Updates to the internal API finally broke it, but a huge thanks to Nils for his work there (thanks Nils!). Now we use the Free/NetBSD support as a base and patch from there :).
37 lines
836 B
Makefile
37 lines
836 B
Makefile
# $OpenBSD: Makefile,v 1.9 2004/08/01 06:06:35 marcm Exp $
|
|
|
|
COMMENT= "portable library for obtaining system information"
|
|
|
|
V= 2.6.0
|
|
DISTNAME= libgtop-${V}
|
|
PKGNAME= libgtop2-${V}
|
|
CATEGORIES= devel
|
|
|
|
HOMEPAGE= http://www.gnome.org
|
|
MAINTAINER= Marc Matteo <marcm@openbsd.org>
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libgtop/2.6/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MODULES= gettext
|
|
LIB_DEPENDS= glib-2.0.0.0::devel/glib2 \
|
|
popt::devel/popt
|
|
|
|
USE_GMAKE= Yes
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
post-install:
|
|
@chgrp kmem ${PREFIX}/bin/libgtop_server2
|
|
@chmod 2555 ${PREFIX}/bin/libgtop_server2
|
|
|
|
.include <bsd.port.mk>
|