blob: 3cea4c674e527d55a543b88b6b46ae32c48a425f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# $NetBSD: Makefile,v 1.40 2004/02/14 17:21:37 jlam Exp $
DISTNAME= glib-2.2.3
PKGNAME= ${DISTNAME:S/glib/glib2/}
PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://ftp.gtk.org/pub/gtk/v2.2/ \
ftp://ftp.cs.umn.edu/pub/gimp/gtk/v2.2/ \
${MASTER_SITE_GNOME:=sources/glib/2.2/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= xtraeme@NetBSD.org
HOMEPAGE= http://www.gtk.org/docs/glib_toc.html
COMMENT= Some useful routines for C programming
BUILD_USES_MSGFMT= yes
USE_BUILDLINK3= yes
USE_PKGLOCALEDIR= yes
USE_GNU_TOOLS+= make
USE_LANGUAGES= c c++
USE_PERL5= yes
USE_LIBTOOL= yes
PKGCONFIG_OVERRIDE= ${WRKSRC}/glib-2.0.pc.in
PKGCONFIG_OVERRIDE+= ${WRKSRC}/gmodule-2.0.pc.in
PKGCONFIG_OVERRIDE+= ${WRKSRC}/gobject-2.0.pc.in
PKGCONFIG_OVERRIDE+= ${WRKSRC}/gthread-2.0.pc.in
GNU_CONFIGURE= # defined
CONFIGURE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR}
CONFIGURE_ARGS+= --enable-gtk-doc=no
CONFIGURE_ARGS+= --includedir=${PREFIX}/include/glib
CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc/html
TEST_TARGET= check
.include "../../converters/libiconv/buildlink3.mk"
.if defined(ICONV_TYPE) && (${ICONV_TYPE} == "gnu")
CONFIGURE_ARGS+= --with-libiconv=gnu
.endif
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/pkgconfig/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|