freebsd-ports/x11-toolkits/gtkmm24/Makefile
Baptiste Daroussin 56a6c38e8d Drop build dependency on GNU m4.
m4 from base is able to do the job, if properly wrapped to mimic GNU m4

Differential Revision:	https://reviews.freebsd.org/D21835
2019-10-01 14:35:23 +00:00

44 lines
927 B
Makefile

# Created by: Martin Klaffenboeck <martin.klaffenboeck@gmx.at>
# $FreeBSD$
PORTNAME= gtkmm
PORTVERSION= 2.24.5
PORTREVISION?= 1
CATEGORIES= x11-toolkits
MASTER_SITES= GNOME
PKGNAMESUFFIX= 24
DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= C++ wrapper for Gtk+
USES+= tar:xz
PORTSCOUT= ignore:1
.if !defined(REFERENCE_PORT)
LIB_DEPENDS= libfreetype.so:print/freetype2 \
libfontconfig.so:x11-fonts/fontconfig
GNU_CONFIGURE= yes
USES+= gettext gmake gnome libtool:keepla pathfix pkgconfig \
compiler:c++11-lang
USE_CXXSTD= gnu++11
USE_LDCONFIG= yes
USE_GNOME= atkmm gdkpixbuf2 gtk20 pangomm
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --disable-documentation
INSTALL_TARGET= install-strip
BINARY_WRAPPERS= gm4
PLIST_SUB= VERSION="2.4" API_VERSION="2.4"
post-patch:
@${REINPLACE_CMD} -e '/^SUBDIRS =/s/tests//' \
${WRKSRC}/Makefile.in
.include <bsd.port.mk>
.endif