summaryrefslogtreecommitdiffstats
path: root/accessibility/gail/Makefile
blob: a784838f206c7fcda4e3e4bb33f61b846d4b8398 (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.71 2008/02/23 17:46:07 ahze Exp $
#

PORTNAME=   gail
PORTVERSION=    1.22.0
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 gtk20 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