pkgsrc/devel/glibmm/Makefile
adam c0533624d8 2.48.1:
Build:
* MacOS X: Add alternative #ifdefed code when thread_local
  is not supported by the compiler.
* Replace most typedefs with the C++11 using keyword.
2016-04-12 21:27:25 +00:00

37 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.67 2016/04/12 21:27:25 adam Exp $
DISTNAME= glibmm-2.48.1
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/glibmm/${PKGVERSION_NOREV:R}/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= adam@NetBSD.org
HOMEPAGE= http://www.gtkmm.org/
COMMENT= C++ bindings for glib
LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1
USE_LANGUAGES= c c++
CXXFLAGS+= -std=c++11
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake pkg-config perl:run
GNU_CONFIGURE= yes
EXTRACT_USING= bsdtar # added for pkg/42258
PKGCONFIG_OVERRIDE+= gio/giomm.pc.in
PKGCONFIG_OVERRIDE+= glib/glibmm.pc.in
# 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
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.48.0
.include "../../devel/glib2/buildlink3.mk"
BUILDLINK_API_DEPENDS.libsigcpp+= libsigc++>=2.2.10
.include "../../devel/libsigc++/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"