openbsd-ports/x11/gtkmm/Makefile

57 lines
1.3 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.22 2005/11/11 21:19:13 naddy Exp $
COMMENT= "C++ interface for gtk+"
COMMENT-docs= "C++ interface for gtk+ documentation"
2000-06-15 06:35:47 -04:00
VERSION= 1.2.10
DISTNAME= gtkmm-${VERSION}
PKGNAME= ${DISTNAME}p2
PKGNAME-docs= gtkmm-docs-${VERSION}
CATEGORIES= devel x11
2000-06-15 06:35:47 -04:00
HOMEPAGE= http://gtkmm.sourceforge.net/
2000-06-15 06:35:47 -04:00
MAINTAINER= Peter Stromberg <wilfried@openbsd.org>
2000-06-15 06:35:47 -04:00
# LGPL
2000-06-15 06:35:47 -04:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2004-12-17 10:18:31 -05:00
WANTLIB= X11 Xext Xi c glib gmodule iconv intl m stdc++
2000-06-15 06:35:47 -04:00
2002-05-13 04:18:19 -04:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gtkmm/}
2001-07-09 13:10:49 -04:00
MULTI_PACKAGES= -docs
SUBPACKAGE?=
.if ${SUBPACKAGE} != "-docs"
LIB_DEPENDS= sigc.0:libsigc++-1.*:devel/libsigc++ \
gdk.1,gtk.1::x11/gtk+
.endif
.if defined(PACKAGING) && ${SUBPACKAGE} == "-docs"
PKG_ARCH= *
2004-12-19 12:36:31 -05:00
WANTLIB=
.endif
SEPARATE_BUILD= concurrent
USE_X11= Yes
NO_REGRESS= Yes
2000-06-15 06:35:47 -04:00
USE_GMAKE= Yes
USE_LIBTOOL= Yes
2000-06-15 06:35:47 -04:00
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--enable-static \
--enable-docs
CONFIGURE_ENV+= M4='m4 -g'
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/scripts
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gtkmm/gdk
${INSTALL_DATA} ${WRKBUILD}/docs/gdk/*.html ${PREFIX}/share/doc/gtkmm/gdk
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gtkmm/gtk
${INSTALL_DATA} ${WRKBUILD}/docs/gtk/*.html ${PREFIX}/share/doc/gtkmm/gtk
2000-06-15 06:35:47 -04:00
.include <bsd.port.mk>