d323030b6f
- use MODULES=devel/gettext - sync PLIST - bump PKGNAME looks good wilfried@
61 lines
1.4 KiB
Makefile
61 lines
1.4 KiB
Makefile
# $OpenBSD: Makefile,v 1.27 2006/02/12 11:58:24 steven Exp $
|
|
|
|
COMMENT= "C++ interface for gtk+"
|
|
COMMENT-docs= "C++ interface for gtk+ documentation"
|
|
|
|
VERSION= 1.2.10
|
|
DISTNAME= gtkmm-${VERSION}
|
|
PKGNAME= ${DISTNAME}p5
|
|
PKGNAME-docs= gtkmm-docs-${VERSION}
|
|
SHARED_LIBS= gdkmm 3.0 \
|
|
gtkmm 3.0
|
|
CATEGORIES= devel x11
|
|
|
|
HOMEPAGE= http://gtkmm.sourceforge.net/
|
|
|
|
MAINTAINER= Peter Stromberg <wilfried@openbsd.org>
|
|
|
|
# LGPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
WANTLIB= X11 Xext Xi c glib gmodule m stdc++
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gtkmm/}
|
|
|
|
MULTI_PACKAGES= -docs
|
|
SUBPACKAGE?=
|
|
|
|
MODULES= devel/gettext
|
|
|
|
LIB_DEPENDS= :libsigc++-1.*:devel/libsigc++ \
|
|
gdk.1,gtk.1::x11/gtk+
|
|
|
|
.if defined(PACKAGING) && ${SUBPACKAGE} == "-docs"
|
|
PKG_ARCH= *
|
|
LIB_DEPENDS=
|
|
WANTLIB=
|
|
MODULES=
|
|
.endif
|
|
|
|
SEPARATE_BUILD= concurrent
|
|
USE_X11= Yes
|
|
USE_GMAKE= Yes
|
|
USE_LIBTOOL= Yes
|
|
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
|
|
|
|
.include <bsd.port.mk>
|