2019-04-26 17:12:20 +02:00
|
|
|
# $NetBSD: Makefile,v 1.79 2019/04/26 15:12:20 bsiegert Exp $
|
2005-07-22 23:12:20 +02:00
|
|
|
|
2019-04-26 17:12:20 +02:00
|
|
|
DISTNAME= glibmm-2.56.1
|
2014-09-08 13:42:08 +02:00
|
|
|
CATEGORIES= devel gnome
|
2011-05-12 13:09:30 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/glibmm/${PKGVERSION_NOREV:R}/}
|
2012-05-15 22:41:20 +02:00
|
|
|
EXTRACT_SUFX= .tar.xz
|
2005-07-22 23:12:20 +02:00
|
|
|
|
|
|
|
MAINTAINER= adam@NetBSD.org
|
2017-08-01 16:58:51 +02:00
|
|
|
HOMEPAGE= https://www.gtkmm.org/
|
2005-07-22 23:12:20 +02:00
|
|
|
COMMENT= C++ bindings for glib
|
2009-07-22 15:29:11 +02:00
|
|
|
LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1
|
2005-07-22 23:12:20 +02:00
|
|
|
|
2017-12-30 00:06:14 +01:00
|
|
|
# With 4.8, one gets the following:
|
|
|
|
# error: no matching function for call to 'regex_replace(const char*&, std::regex, const char [3])'
|
|
|
|
GCC_REQD+= 4.9
|
2017-05-03 10:38:38 +02:00
|
|
|
USE_LANGUAGES= c c++11
|
2005-07-22 23:12:20 +02:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
USE_PKGLOCALEDIR= yes
|
2006-11-05 18:46:34 +01:00
|
|
|
USE_TOOLS+= gmake pkg-config perl:run
|
2005-07-22 23:12:20 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2009-11-05 14:01:37 +01:00
|
|
|
EXTRACT_USING= bsdtar # added for pkg/42258
|
2005-07-22 23:12:20 +02:00
|
|
|
|
2010-11-18 12:35:02 +01:00
|
|
|
PKGCONFIG_OVERRIDE+= gio/giomm.pc.in
|
|
|
|
PKGCONFIG_OVERRIDE+= glib/glibmm.pc.in
|
|
|
|
|
2011-05-12 13:09:30 +02:00
|
|
|
# x11/gtkmm needs these tools
|
|
|
|
INSTALLATION_DIRS= share/glibmm-2.4/doctool
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.for tool in doc-install.pl doc-postprocess.pl
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/docs/${tool} \
|
|
|
|
${DESTDIR}${PREFIX}/share/glibmm-2.4/doctool/${tool}
|
|
|
|
.endfor
|
|
|
|
|
2017-12-11 14:37:43 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
PLIST_VARS+= notmac
|
|
|
|
|
|
|
|
.if ${OPSYS} != "Darwin"
|
|
|
|
PLIST.notmac= yes
|
|
|
|
.endif
|
|
|
|
|
2018-04-17 10:35:25 +02:00
|
|
|
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.56.0
|
2005-07-22 23:12:20 +02:00
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
2016-11-25 18:11:50 +01:00
|
|
|
BUILDLINK_API_DEPENDS.libsigcpp+= libsigc++>=2.9.1
|
2007-09-21 15:03:25 +02:00
|
|
|
.include "../../devel/libsigc++/buildlink3.mk"
|
2005-07-22 23:12:20 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|