2017-08-16 22:21:03 +02:00
|
|
|
# $NetBSD: Makefile,v 1.33 2017/08/16 20:21:08 wiz Exp $
|
2004-05-20 22:48:57 +02:00
|
|
|
|
2015-08-20 19:13:47 +02:00
|
|
|
DISTNAME= libstatgrab-0.91
|
2016-07-09 08:37:46 +02:00
|
|
|
PKGREVISION= 1
|
2004-05-20 22:48:57 +02:00
|
|
|
CATEGORIES= devel
|
2017-01-19 19:52:01 +01:00
|
|
|
MASTER_SITES= ftp://ftp.uk.i-scream.org/pub/i-scream/libstatgrab/
|
|
|
|
MASTER_SITES+= ftp://ftp.i-scream.org/pub/i-scream/libstatgrab/
|
|
|
|
MASTER_SITES+= http://ftp.i-scream.org/pub/i-scream/libstatgrab/
|
|
|
|
MASTER_SITES+= http://www.mirrorservice.org/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/
|
|
|
|
MASTER_SITES+= http://dl.ambiweb.de/mirrors/ftp.i-scream.org/libstatgrab/
|
2004-05-20 22:48:57 +02:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2017-08-16 22:21:03 +02:00
|
|
|
HOMEPAGE= https://www.i-scream.org/libstatgrab/
|
2004-05-20 22:48:57 +02:00
|
|
|
COMMENT= Provides a useful interface to system statistics
|
2013-09-13 12:13:20 +02:00
|
|
|
LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2
|
2004-05-20 22:48:57 +02:00
|
|
|
|
2008-04-09 18:18:39 +02:00
|
|
|
.include "options.mk"
|
2004-05-20 22:48:57 +02:00
|
|
|
|
2016-03-01 21:18:23 +01:00
|
|
|
CPPFLAGS.NetBSD+= -D_KERNTYPES
|
|
|
|
|
2007-08-30 21:29:15 +02:00
|
|
|
USE_TOOLS+= pkg-config perl:run
|
2013-09-13 12:13:20 +02:00
|
|
|
USE_LANGUAGES= c c++
|
2008-04-09 18:18:39 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LIBTOOL= yes
|
2004-05-20 22:48:57 +02:00
|
|
|
PKGCONFIG_OVERRIDE= libstatgrab.pc.in
|
|
|
|
|
2008-04-09 18:18:39 +02:00
|
|
|
REPLACE_PERL+= src/statgrab/statgrab-make-mrtg-config.in
|
|
|
|
REPLACE_PERL+= src/statgrab/statgrab-make-mrtg-index.in
|
2007-08-30 21:29:15 +02:00
|
|
|
|
2004-05-20 22:48:57 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-examples
|
|
|
|
|
2013-09-13 12:13:20 +02:00
|
|
|
# Default test target for Perl modules
|
|
|
|
TEST_TARGET?= test
|
2013-01-17 16:49:44 +01:00
|
|
|
|
2013-09-13 12:13:20 +02:00
|
|
|
CHECK_BUILTIN.pthread:= yes
|
|
|
|
.include "../../mk/pthread.builtin.mk"
|
|
|
|
CHECK_BUILTIN.pthread:= no
|
|
|
|
|
|
|
|
.include "../../devel/log4cplus/buildlink3.mk"
|
2004-05-20 22:48:57 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|