pkgsrc/devel/glib2/Makefile

49 lines
1.3 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.40 2004/02/14 17:21:37 jlam Exp $
DISTNAME= glib-2.2.3
PKGNAME= ${DISTNAME:S/glib/glib2/}
2004-02-11 18:14:13 +01:00
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
2003-11-02 08:02:32 +01:00
MAINTAINER= xtraeme@NetBSD.org
HOMEPAGE= http://www.gtk.org/docs/glib_toc.html
COMMENT= Some useful routines for C programming
BUILD_USES_MSGFMT= yes
2004-02-11 18:14:13 +01:00
2004-02-10 02:56:42 +01:00
USE_BUILDLINK3= yes
USE_PKGLOCALEDIR= yes
USE_GNU_TOOLS+= make
2004-02-11 02:46:30 +01:00
USE_LANGUAGES= c c++
2002-09-11 13:31:40 +02:00
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
2002-09-11 13:31:40 +02:00
2002-11-30 15:28:07 +01:00
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
2004-02-10 02:56:42 +01:00
.include "../../converters/libiconv/buildlink3.mk"
.if defined(ICONV_TYPE) && (${ICONV_TYPE} == "gnu")
CONFIGURE_ARGS+= --with-libiconv=gnu
.endif
2004-02-10 02:56:42 +01:00
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/pkgconfig/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"