2005-04-14 13:06:18 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.20 2005/04/14 17:06:18 espie Exp $
|
2002-07-25 05:14:13 -04:00
|
|
|
|
|
|
|
COMMENT= "general-purpose utility library"
|
|
|
|
COMMENT-docs= "glib2 documentation"
|
|
|
|
|
2004-12-07 01:16:20 -05:00
|
|
|
VERSION= 2.4.8
|
2002-07-25 05:14:13 -04:00
|
|
|
DISTNAME= glib-${VERSION}
|
2005-04-14 13:06:18 -04:00
|
|
|
PKGNAME= glib2-${VERSION}p0
|
2004-12-22 01:31:05 -05:00
|
|
|
PKGNAME-docs= glib2-docs-${VERSION}p0
|
2002-07-25 05:14:13 -04:00
|
|
|
CATEGORIES= devel
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.gtk.org
|
2002-12-22 23:54:59 -05:00
|
|
|
MAINTAINER= Marc Matteo <marcm@openbsd.org>
|
2002-07-25 05:14:13 -04:00
|
|
|
|
|
|
|
# LGPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2004-06-21 23:15:02 -04:00
|
|
|
MASTER_SITES= ftp://ftp.gtk.org/pub/gtk/v2.4/
|
2002-07-25 05:14:13 -04:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
|
|
|
MULTI_PACKAGES= -docs
|
|
|
|
SUBPACKAGE?=
|
|
|
|
|
2004-02-04 02:39:18 -05:00
|
|
|
.if defined(PACKAGING) && ${SUBPACKAGE} == "-docs"
|
|
|
|
PKG_ARCH= *
|
2004-12-22 01:31:05 -05:00
|
|
|
.else
|
|
|
|
MODULES= devel/gettext
|
|
|
|
WANTLIB= c
|
2004-02-04 02:39:18 -05:00
|
|
|
.endif
|
2004-12-22 01:31:05 -05:00
|
|
|
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
|
2002-07-25 05:14:13 -04:00
|
|
|
|
2004-06-21 23:15:02 -04:00
|
|
|
# hppa's threads are broken (configure test gives Bus error)...
|
|
|
|
.if (${MACHINE_ARCH} == "hppa")
|
|
|
|
CONFIGURE_ARGS+= --disable-threads
|
|
|
|
.endif
|
2002-08-07 09:11:53 -04:00
|
|
|
|
2002-07-25 05:14:13 -04:00
|
|
|
USE_GMAKE= Yes
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
|
|
CONFIGURE_ARGS+= --enable-static
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2003-04-17 01:55:42 -04:00
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
2002-07-25 05:14:13 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|