aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtkmm24/Makefile
blob: 2c2cdf30ca1c5aabaff8c47cbef0a45da90a3644 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Created by: Martin Klaffenboeck <martin.klaffenboeck@gmx.at>

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

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>