openbsd-ports/x11/gtkmm/Makefile

59 lines
1.4 KiB
Makefile
Raw Normal View History

2001-11-20 16:39:12 -05:00
# $OpenBSD: Makefile,v 1.10 2001/11/20 21:39:12 wilfried Exp $
COMMENT= "C++ interface for gtk+"
COMMENT-docs= "C++ interface for gtk+ documentation"
2000-06-15 06:35:47 -04:00
2001-11-20 16:39:12 -05:00
VERSION= 1.2.8
DISTNAME= gtkmm-${VERSION}
PKGNAME-docs= gtkmm-docs-${VERSION}
CATEGORIES= devel x11
NEED_VERSION= 1.488
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
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gtkmm
2001-07-09 13:10:49 -04:00
MULTI_PACKAGES= -docs
SUBPACKAGE?=
.if ${SUBPACKAGE} != "-docs"
2001-11-14 08:58:34 -05:00
BUILD_DEPENDS= :m4->=1.4:devel/m4
LIB_DEPENDS= sigc.0::devel/libsigc++ \
gdk.1,gtk.1::x11/gtk+
.endif
SEPARATE_BUILD= concurrent
USE_X11= Yes
NO_REGRESS= Yes
2000-06-15 06:35:47 -04:00
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--enable-static \
--enable-docs
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/scripts
post-patch:
@cd ${WRKSRC}/scripts; \
${PATCH} --forward --quiet -E < \
${PORTSDIR}/infrastructure/patches/patch-lt1.3.5-ltconfig && \
${PATCH} --forward --quiet -E < \
${PORTSDIR}/infrastructure/patches/patch-lt1.3.5-ltmain_sh
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>