openbsd-ports/devel/libgtop2/Makefile
bernd 3ff69c6673 - Use new SHARED_LIBS framework
- USE_LIBTOOL and bump PKGNAME where appropriate
- regen PLIST with new gettext for libgtop and libgtop2
2006-01-03 18:07:27 +00:00

43 lines
1003 B
Makefile

# $OpenBSD: Makefile,v 1.16 2006/01/03 18:07:28 bernd Exp $
COMMENT= "portable library for obtaining system information"
V= 2.10.1
DISTNAME= libgtop-${V}
PKGNAME= libgtop2-${V}p0
SHARED_LIBS= gtop-2.0 5.0
MODGNU_SHARED_LIBS= gtop-2.0 '-export-symbols-regex "^[^_].*"'
LIBgtop-2.0_ALIAS= gtop_2_0
CATEGORIES= devel
HOMEPAGE= http://www.gnome.org
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libgtop/2.10/}
EXTRACT_SUFX= .tar.bz2
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c kvm
MODULES= devel/gettext
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
LIB_DEPENDS= glib-2.0.0.0::devel/glib2 \
popt::devel/popt
USE_GMAKE= Yes
USE_LIBTOOL= 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>