aboutsummaryrefslogtreecommitdiffstats
path: root/accessibility/atk/Makefile
blob: ec4970203eaae491693db2648e079107de61a301 (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
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
# $FreeBSD$
#   $MCom: ports/trunk/accessibility/atk/Makefile 20031 2014-11-02 21:47:55Z kwm $

PORTNAME=   atk
PORTVERSION=    2.14.0
PORTREVISION?=  0
CATEGORIES= accessibility devel
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome2

MAINTAINER= gnome@FreeBSD.org
COMMENT=    GNOME accessibility toolkit (ATK)

USES=       tar:xz

.if !defined(REFERENCE_PORT)

USE_LDCONFIG=   yes
GNU_CONFIGURE=  yes
USES+=      gettext gmake libtool pathfix pkgconfig
USE_GNOME=  glib20 introspection:build referencehack
CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc
CPPFLAGS+=  -I${LOCALBASE}/include
LIBS+=      -L${LOCALBASE}/lib
CONFIGURE_ENV=  AUTOCONF=${TRUE} AUTOMAKE=${TRUE}
INSTALL_TARGET= install-strip

post-patch:
    @${REINPLACE_CMD} -e "/^SUBDIRS =/s/tests docs//" \
        ${WRKSRC}/Makefile.in

.include <bsd.port.mk>

.endif