51 lines
1.1 KiB
Makefile
51 lines
1.1 KiB
Makefile
|
# $OpenBSD: Makefile,v 1.1.1.1 2005/11/02 23:51:51 wilfried Exp $
|
||
|
|
||
|
COMMENT= "C++ interface for glib2"
|
||
|
COMMENT-docs= "C++ interface for glib2 documentation"
|
||
|
|
||
|
VERSION= 2.6.1
|
||
|
DISTNAME= glibmm-${VERSION}
|
||
|
PKGNAME= glib2mm-${VERSION}
|
||
|
PKGNAME-docs= glib2mm-docs-${VERSION}
|
||
|
CATEGORIES= devel
|
||
|
|
||
|
HOMEPAGE= http://www.gtkmm.org/
|
||
|
|
||
|
MAINTAINER= Peter Stromberg <wilfried@openbsd.org>
|
||
|
|
||
|
# LGPL
|
||
|
PERMIT_PACKAGE_CDROM= Yes
|
||
|
PERMIT_PACKAGE_FTP= Yes
|
||
|
PERMIT_DISTFILES_CDROM= Yes
|
||
|
PERMIT_DISTFILES_FTP= Yes
|
||
|
|
||
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/glibmm/2.6/}
|
||
|
|
||
|
MULTI_PACKAGES= -docs
|
||
|
SUBPACKAGE?=
|
||
|
|
||
|
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
|
||
|
|
||
|
.if defined(PACKAGING) && ${SUBPACKAGE} == "-docs"
|
||
|
PKG_ARCH= *
|
||
|
.else
|
||
|
MODULES= gettext
|
||
|
LIB_DEPENDS= sigc-2.0.0.0:libsigc++-2.*:devel/libsigc++-2 \
|
||
|
glib-2.0.0.0,gmodule-2.0.0.0,gobject-2.0.0.0:glib2-2.6.*:devel/glib2
|
||
|
.endif
|
||
|
|
||
|
SEPARATE_BUILD= concurrent
|
||
|
USE_GMAKE= Yes
|
||
|
USE_LIBTOOL= Yes
|
||
|
CONFIGURE_STYLE= gnu
|
||
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
||
|
--enable-static
|
||
|
CONFIGURE_ENV= M4='m4 -g'
|
||
|
|
||
|
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/scripts
|
||
|
|
||
|
V= 2.4
|
||
|
SUBST_VARS= V
|
||
|
|
||
|
.include <bsd.port.mk>
|