summaryrefslogtreecommitdiffstats
path: root/accessibility/atk/Makefile
blob: 4857605e3147fa4c8bbf45d93c2b0540f4fa9383 (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
40
41
42
43
# New ports collection makefile for:    atk
# Date Created:             14 May 2001
# Whom:                 Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/accessibility/atk/Makefile,v 1.120 2012/08/04 21:04:24 kwm Exp $
#

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

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

USE_XZ=     yes

.if !defined(REFERENCE_PORT)

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

USE_GETTEXT=    yes
USE_GMAKE=  yes
USE_LDCONFIG=   yes
USE_AUTOTOOLS=  libtool
USE_GNOME=  gnomehier gnomehack glib20 ltverhack referencehack
USE_PKGCONFIG=  build
CONFIGURE_ARGS= --enable-static \
        --with-html-dir=${PREFIX}/share/doc
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
        AUTOCONF=${TRUE} AUTOMAKE=${TRUE}

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

.include <bsd.port.mk>

.endif