summaryrefslogtreecommitdiff
path: root/devel/glib2/Makefile
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2002-03-24 20:27:12 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2002-03-24 20:27:12 +0000
commit37b479265befba6925458525a5008ffcbe3c9f8d (patch)
tree04cddfcaf4b45b2af0c7d7943610b6dab24fe410 /devel/glib2/Makefile
parentde7977e54a6423642de3b09d4344e69508e3e480 (diff)
downloadpkgsrc-37b479265befba6925458525a5008ffcbe3c9f8d.tar.gz
import glib2-2.0.0
GLib is a library which includes routines for C, providing lists, trees, hashes, memory allocation functionality and many other things. glib2 will coexist with glib-1.2.*
Diffstat (limited to 'devel/glib2/Makefile')
-rw-r--r--devel/glib2/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/devel/glib2/Makefile b/devel/glib2/Makefile
new file mode 100644
index 00000000000..b31c7f907a6
--- /dev/null
+++ b/devel/glib2/Makefile
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/03/24 20:27:13 dmcmahill Exp $
+#
+
+DISTNAME= glib-2.0.0
+PKGNAME= ${DISTNAME:S/glib/glib2/}
+CATEGORIES= devel
+MASTER_SITES= ftp://ftp.gtk.org/pub/gtk/v2.0/ \
+ ftp://ftp.cs.umn.edu/pub/gimp/gtk/v2.0/ \
+ http://www.ameth.org/gimp/pub/gtk/v2.0/ \
+ ${MASTER_SITE_GNOME:=stable/sources/glib/}
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.gtk.org/docs/glib_toc.html
+COMMENT= Some useful routines for C programming
+
+BUILD_USES_MSGFMT= yes
+GNU_CONFIGURE= yes
+USE_BUILDLINK_ONLY= yes
+USE_GMAKE= yes
+USE_LIBTOOL= yes
+LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+USE_PERL5= yes
+CONFIGURE_ARGS+= --includedir=${PREFIX}/include/glib
+CPPFLAGS+= -I${BUILDLINK_DIR}/PTL/include
+MAKE_ENV+= PKGLOCALEDIR="${PKGLOCALEDIR}"
+
+# GLib needs a working pre-emptive pthreads implementation
+USE_PTHREAD= native ptl2
+
+test: build
+ cd ${WRKSRC} && ${MAKE_ENV} ${MAKE_PROGRAM} check 2>&1 | \
+ tee ${WRKDIR}/check.log
+
+.include "../../converters/libiconv/buildlink.mk"
+.include "../../devel/gettext-lib/buildlink.mk"
+.include "../../devel/pkgconfig/buildlink.mk"
+.include "../../mk/pthread.buildlink.mk"
+.include "../../mk/bsd.pkg.mk"