blob: 440c29c890f574afcbe7a49bf218380ccdad2a09 (
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
49
50
51
52
53
|
# $NetBSD: Makefile,v 1.14 2002/11/30 21:08:23 salo Exp $
#
DISTNAME= glib-2.0.7
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:=sources/glib/2.0/}
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.gtk.org/docs/glib_toc.html
COMMENT= Some useful routines for C programming
BUILD_USES_MSGFMT= yes
USE_BUILDLINK2= yes
USE_PKGLOCALEDIR= yes
USE_GMAKE= yes
USE_PERL5= yes
USE_LIBTOOL= yes
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
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+= --includedir=${PREFIX}/include/glib
.include "../../mk/bsd.prefs.mk"
.if defined(USE_PTL2)
PTHREAD_OPTS+= native
.endif
test: build
cd ${WRKSRC} && ${MAKE_ENV} ${MAKE_PROGRAM} check 2>&1 | \
tee ${WRKDIR}/check.log
.include "../../converters/libiconv/buildlink2.mk"
.include "../../devel/gettext-lib/buildlink2.mk"
.include "../../devel/pkgconfig/buildlink2.mk"
.include "../../mk/pthread.buildlink2.mk"
.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "none")
CPPFLAGS+= -I${BUILDLINK_PREFIX.ptl2}/PTL/include
. include "../../devel/ptl2/buildlink2.mk"
.endif
.include "../../mk/bsd.pkg.mk"
|