summaryrefslogtreecommitdiff
path: root/devel/libstatgrab/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libstatgrab/Makefile')
-rw-r--r--devel/libstatgrab/Makefile43
1 files changed, 43 insertions, 0 deletions
diff --git a/devel/libstatgrab/Makefile b/devel/libstatgrab/Makefile
new file mode 100644
index 00000000000..74c82ff34e5
--- /dev/null
+++ b/devel/libstatgrab/Makefile
@@ -0,0 +1,43 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/05/20 20:48:57 xtraeme Exp $
+
+DISTNAME= libstatgrab-0.10
+CATEGORIES= devel
+MASTER_SITES= ftp://ftp.mirror.ac.uk/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/ \
+ http://www.mirror.ac.uk/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/ \
+ ftp://ftp.i-scream.org/pub/i-scream/libstatgrab/ \
+ http://www.i-scream.org/pub/i-scream/libstatgrab/
+
+MAINTAINER= tim@bishnet.net
+HOMEPAGE= http://www.i-scream.org/libstatgrab/
+COMMENT= Provides a useful interface to system statistics
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_BUILDLINK3= yes
+
+PKGCONFIG_OVERRIDE= libstatgrab.pc.in
+
+CONFIGURE_ARGS+= --disable-examples
+
+.include "../../mk/bsd.prefs.mk"
+
+BUILD_DEFS+= WITHOUT_STATGRAB
+BUILD_DEFS+= WITHOUT_SAIDAR
+
+.if defined(WITHOUT_STATGRAB)
+CONFIGURE_ARGS+= --disable-statgrab
+PLIST_SUBST+= STATGRAB="@comment "
+.else
+PLIST_SUBST+= STATGRAB=""
+.endif
+
+.if defined(WITHOUT_SAIDAR)
+CONFIGURE_ARGS+= --disable-saidar
+PLIST_SUBST+= SAIDAR="@comment "
+.else
+PLIST_SUBST+= SAIDAR=""
+.include "../../devel/ncurses/buildlink3.mk"
+.endif
+
+.include "../../devel/pkgconfig/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"