2007-04-20 11:08:06 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.26 2007/04/20 15:08:06 jasper Exp $
|
2003-01-31 13:35:57 -05:00
|
|
|
|
|
|
|
COMMENT= "portable library for obtaining system information"
|
|
|
|
|
2007-01-23 06:00:12 -05:00
|
|
|
V= 2.14.6
|
|
|
|
DISTNAME= libgtop-${V}
|
2007-04-20 11:08:06 -04:00
|
|
|
PKGNAME= libgtop2-${V}p1
|
|
|
|
SHARED_LIBS= gtop-2.0 7.0 # .7.0
|
2006-01-03 13:07:27 -05:00
|
|
|
|
2003-01-31 13:35:57 -05:00
|
|
|
CATEGORIES= devel
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.gnome.org
|
|
|
|
|
2007-01-18 14:31:34 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libgtop/2.14/}
|
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
|
2007-01-18 14:31:34 -05:00
|
|
|
WANTLIB= Xau c kvm
|
2003-01-31 13:35:57 -05:00
|
|
|
|
2004-12-11 12:41:52 -05:00
|
|
|
MODULES= devel/gettext
|
2007-02-03 06:42:18 -05:00
|
|
|
BUILD_DEPENDS= ::textproc/p5-XML-Parser
|
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" \
|
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>
|