2007-09-15 16:04:18 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.30 2007/09/15 20:04:21 merdely Exp $
|
2001-05-06 00:41:05 -04:00
|
|
|
|
2007-09-15 16:04:18 -04:00
|
|
|
COMMENT-main= C++ interface for gtk+
|
|
|
|
COMMENT-docs= C++ interface for gtk+ documentation
|
2000-06-15 06:35:47 -04:00
|
|
|
|
2002-08-09 06:54:21 -04:00
|
|
|
VERSION= 1.2.10
|
2001-11-01 07:53:44 -05:00
|
|
|
DISTNAME= gtkmm-${VERSION}
|
2006-11-24 12:25:21 -05:00
|
|
|
PKGNAME-main= ${DISTNAME}p6
|
2001-11-01 07:53:44 -05:00
|
|
|
PKGNAME-docs= gtkmm-docs-${VERSION}
|
2006-01-14 06:46:15 -05:00
|
|
|
SHARED_LIBS= gdkmm 3.0 \
|
|
|
|
gtkmm 3.0
|
2001-11-01 07:53:44 -05:00
|
|
|
CATEGORIES= devel x11
|
2000-06-15 06:35:47 -04:00
|
|
|
|
2001-11-01 07:53:44 -05:00
|
|
|
HOMEPAGE= http://gtkmm.sourceforge.net/
|
2000-06-15 06:35:47 -04:00
|
|
|
|
2001-11-01 07:53:44 -05:00
|
|
|
MAINTAINER= Peter Stromberg <wilfried@openbsd.org>
|
2000-06-15 06:35:47 -04:00
|
|
|
|
2001-11-01 07:53:44 -05: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
|
2006-11-24 12:25:21 -05:00
|
|
|
WANTLIB-main= X11 Xext Xi c glib gmodule 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
|
|
|
|
2006-11-24 12:25:21 -05:00
|
|
|
MULTI_PACKAGES= -main -docs
|
2001-11-01 07:53:44 -05:00
|
|
|
|
2006-02-12 06:58:24 -05:00
|
|
|
MODULES= devel/gettext
|
|
|
|
|
2005-11-20 09:18:08 -05:00
|
|
|
LIB_DEPENDS= :libsigc++-1.*:devel/libsigc++ \
|
2006-09-18 06:21:48 -04:00
|
|
|
gdk.>=1,gtk.>=1::x11/gtk+
|
2006-02-12 06:58:24 -05:00
|
|
|
|
2006-11-24 12:25:21 -05:00
|
|
|
PKG_ARCH-docs= *
|
|
|
|
LIB_DEPENDS-docs=
|
|
|
|
RUN_DEPENDS-docs=
|
2001-11-01 07:53:44 -05:00
|
|
|
|
|
|
|
SEPARATE_BUILD= concurrent
|
|
|
|
USE_X11= Yes
|
2000-06-15 06:35:47 -04:00
|
|
|
USE_GMAKE= Yes
|
2004-06-14 14:02:27 -04:00
|
|
|
USE_LIBTOOL= Yes
|
2000-06-15 06:35:47 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2001-11-01 07:53:44 -05:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
|
|
|
--enable-static \
|
|
|
|
--enable-docs
|
2005-09-06 15:58:03 -04:00
|
|
|
CONFIGURE_ENV+= M4='m4 -g'
|
2001-11-01 07:53:44 -05:00
|
|
|
|
|
|
|
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>
|