Annotation of pkgsrc/devel/libstatgrab/Makefile, Revision 1.14
1.14 ! reed 1: # $NetBSD: Makefile,v 1.13 2007/08/30 19:29:15 joerg Exp $
1.1 xtraeme 2:
1.9 rillig 3: DISTNAME= libstatgrab-0.12
1.13 joerg 4: PKGREVISION= 2
1.1 xtraeme 5: CATEGORIES= devel
1.2 wiz 6: MASTER_SITES= ftp://ftp.uk.i-scream.org/pub/i-scream/libstatgrab/ \
1.1 xtraeme 7: ftp://ftp.i-scream.org/pub/i-scream/libstatgrab/ \
1.2 wiz 8: http://ftp.i-scream.org/pub/i-scream/libstatgrab/
1.1 xtraeme 9:
1.11 jlam 10: MAINTAINER= pkgsrc-users@NetBSD.org
1.1 xtraeme 11: HOMEPAGE= http://www.i-scream.org/libstatgrab/
12: COMMENT= Provides a useful interface to system statistics
13:
14: GNU_CONFIGURE= yes
15: USE_LIBTOOL= yes
16:
1.13 joerg 17: USE_TOOLS+= pkg-config perl:run
1.1 xtraeme 18: PKGCONFIG_OVERRIDE= libstatgrab.pc.in
19:
1.13 joerg 20: REPLACE_PERL+= src/statgrab/statgrab-make-mrtg-config.in
21: REPLACE_PERL+= src/statgrab/statgrab-make-mrtg-index.in
22:
1.1 xtraeme 23: CONFIGURE_ARGS+= --disable-examples
24:
25: .include "../../mk/bsd.prefs.mk"
26:
27: BUILD_DEFS+= WITHOUT_STATGRAB
28: BUILD_DEFS+= WITHOUT_SAIDAR
29:
30: .if defined(WITHOUT_STATGRAB)
31: CONFIGURE_ARGS+= --disable-statgrab
32: PLIST_SUBST+= STATGRAB="@comment "
33: .else
34: PLIST_SUBST+= STATGRAB=""
35: .endif
36:
37: .if defined(WITHOUT_SAIDAR)
38: CONFIGURE_ARGS+= --disable-saidar
39: PLIST_SUBST+= SAIDAR="@comment "
40: .else
41: PLIST_SUBST+= SAIDAR=""
42: .include "../../devel/ncurses/buildlink3.mk"
43: .endif
44:
45: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>