summaryrefslogtreecommitdiffstats
path: root/accessibility/atk/Makefile
blob: 8f407c987363f08604f0990148ca7a2ff051eb76 (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
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
# $FreeBSD: head/accessibility/atk/Makefile 313633 2013-03-08 10:51:34Z kwm $
#   $MCom$

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

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

USE_XZ=     yes

.if !defined(REFERENCE_PORT)

BUILD_DEPENDS=  g-ir-scanner:${PORTSDIR}/devel/gobject-introspection

USE_GMAKE=  yes
USE_LDCONFIG=   yes
USE_AUTOTOOLS=  libtool
USES=       pathfix gettext pkgconfig
USE_GNOME=  gnomehier glib20 ltverhack referencehack
CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
CONFIGURE_ENV=  AUTOCONF=${TRUE} AUTOMAKE=${TRUE}

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

.include <bsd.port.mk>

.endif