freebsd-ports/x11-toolkits/gtkmm24/Makefile
Koop Mast ed3db43e3e Add orphaned file to plist. [1]
While here strip libraries and add USE=gnome

Reported by:	antoine@ [1]
2018-11-03 11:12:07 +00:00

44 lines
934 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)
BUILD_DEPENDS= gm4:devel/m4
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
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