summaryrefslogblamecommitdiffstats
path: root/accessibility/atk/Makefile
blob: 0575676632a4368b413fa032ab666ee23782102f (plain) (tree)








































                                                                                    
# New ports collection makefile for:    atk
# Date Created:             14 May 2001
# Whom:                 Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD: ports/accessibility/atk/Makefile,v 1.52 2007/10/24 23:34:39 marcus Exp $
#   $MCom: ports/accessibility/atk/Makefile,v 1.85 2007/09/17 12:52:17 ahze Exp $
#

PORTNAME=   atk
PORTVERSION=    1.21.5
PORTREVISION?=  0
CATEGORIES= accessibility devel
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=    A GNOME accessibility toolkit (ATK)

USE_BZIP2=  yes

.if !defined(REFERENCE_PORT)

USE_GETTEXT=    yes
USE_LDCONFIG=   yes
USE_AUTOTOOLS=  libtool:15
USE_GNOME=  gnomehack glib20 ltverhack referencehack
CONFIGURE_ARGS= --enable-static \
        --disable-gtk-doc \
        --with-html-dir=${PREFIX}/share/doc
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib" \
        AUTOCONF=${TRUE} AUTOMAKE=${TRUE}

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

.include <bsd.port.mk>

.endif