openbsd-ports/devel/glib2/Makefile
marcm 6e4c9b8358 Update to 2.0.7, fix LIB_DEPENDS, take MAINTAINER and get libtool to
add -pthread to .la files where needed.

ok sturm@
2002-12-23 04:54:59 +00:00

53 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.5 2002/12/23 04:54:59 marcm Exp $
COMMENT= "general-purpose utility library"
COMMENT-docs= "glib2 documentation"
VERSION= 2.0.7
DISTNAME= glib-${VERSION}
PKGNAME= glib2-${VERSION}
PKGNAME-docs= glib2-docs-${VERSION}
CATEGORIES= devel
HOMEPAGE= http://www.gtk.org
MAINTAINER= Marc Matteo <marcm@openbsd.org>
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ftp://ftp.gtk.org/pub/gtk/v2.0/
EXTRACT_SUFX= .tar.bz2
MULTI_PACKAGES= -docs
SUBPACKAGE?=
.if ${SUBPACKAGE} != "-docs"
MODULES= gettext
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
.endif
# library versions (major:minor)
LIBGLIB_VERSION= 0:7
LIBGOBJECT_VERSION= 0:7
LIBGTHREAD_VERSION= 0:7
LIBGMODULE_VERSION= 0:7
USE_GMAKE= Yes
SEPARATE_BUILD= simple
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-static
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MAKE_ENV= LIBGLIB_VERSION="${LIBGLIB_VERSION}" \
LIBGOBJECT_VERSION="${LIBGOBJECT_VERSION}" \
LIBGTHREAD_VERSION="${LIBGTHREAD_VERSION}" \
LIBGMODULE_VERSION="${LIBGMODULE_VERSION}"
NO_REGRESS= Yes
.include <bsd.port.mk>