2004-02-04 02:39:18 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.6 2004/02/04 07:39:19 sturm Exp $
|
2001-11-01 08:31:12 -05:00
|
|
|
|
|
|
|
COMMENT= "C++ interface for the GNOME libraries"
|
|
|
|
COMMENT-docs= "C++ interface for the GNOME libraries documentation"
|
|
|
|
|
2002-12-17 04:45:44 -05:00
|
|
|
VERSION= 1.2.3
|
2001-11-01 08:31:12 -05:00
|
|
|
DISTNAME= gnomemm-${VERSION}
|
|
|
|
PKGNAME-docs= gnomemm-docs-${VERSION}
|
|
|
|
CATEGORIES= devel x11
|
|
|
|
|
|
|
|
HOMEPAGE= http://gtkmm.sourceforge.net/
|
|
|
|
|
|
|
|
MAINTAINER= Peter Stromberg <wilfried@openbsd.org>
|
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2002-05-13 04:18:19 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gtkmm/}
|
2001-11-01 08:31:12 -05:00
|
|
|
|
|
|
|
MULTI_PACKAGES= -docs
|
|
|
|
SUBPACKAGE?=
|
|
|
|
|
|
|
|
.if ${SUBPACKAGE} != "-docs"
|
|
|
|
LIB_DEPENDS= gdkmm.2,gtkmm.2::x11/gtkmm \
|
|
|
|
art_lgpl.4,gnome.36,gnomesupport.0,gnomeui.46::x11/gnome/libs
|
|
|
|
.endif
|
2004-02-04 02:39:18 -05:00
|
|
|
.if defined(PACKAGING) && ${SUBPACKAGE} == "-docs"
|
|
|
|
PKG_ARCH= *
|
|
|
|
.endif
|
2001-11-01 08:31:12 -05:00
|
|
|
|
|
|
|
SEPARATE_BUILD= concurrent
|
|
|
|
USE_X11= Yes
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
|
|
|
--enable-static \
|
|
|
|
--enable-docs
|
|
|
|
|
|
|
|
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/scripts
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gnomemm
|
|
|
|
${INSTALL_DATA} ${WRKBUILD}/docs/gnome/*.html ${PREFIX}/share/doc/gnomemm/
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|