summaryrefslogtreecommitdiffstats
path: root/accessibility/atk/Makefile
blob: a518dd52ad655afab1e70799ca3793805d69b23a (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$
#   $MCom$

PORTNAME=   atk
PORTVERSION=    2.12.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 gnomehier introspection:build 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

post-install:
    @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libatk-1.0.so*

.include <bsd.port.mk>

.endif