aboutsummaryrefslogtreecommitdiffstats
path: root/accessibility/gail/Makefile
blob: c9986f91b04863cc2a8eeee1dabe71065b9ec217 (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
# New ports collection makefile for:   gail
# Date Created:         12 February 2002
# Whom:             Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/accessibility/gail/Makefile,v 1.52 2006/10/02 00:47:13 ahze Exp $
#

PORTNAME=   gail
PORTVERSION=    1.9.4
PORTREVISION?=  0
CATEGORIES= accessibility x11-toolkits
MASTER_SITES=   ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
DIST_SUBDIR=    gnome2

MAINTAINER= gnome@FreeBSD.org
COMMENT=    An implementation of the ATK interfaces for GTK+ widgets

USE_BZIP2=  yes

.if !defined(REFERENCE_PORT)

USE_GETTEXT=    yes
USE_XLIB=   yes
USE_GMAKE=  yes
USE_LDCONFIG=   yes
USE_AUTOTOOLS=  libtool:15
USE_GNOME=  gnomehack ltverhack libgnomecanvas lthack referencehack
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --disable-gtk-doc \
        --with-html-dir=${PREFIX}/share/doc

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

.include <bsd.port.mk>

.endif