summaryrefslogblamecommitdiffstats
path: root/accessibility/at-spi/Makefile
blob: 6bda13fe0e1f393a93f456d047e99594a5bc01c0 (plain) (tree)
1
2
3
4
5
6
7
8
9




                                                                   
                                                                                      


                      
                      

































                                                                                    
# New ports collection makefile for:   at-spi
# Date Created:         12 April 2002
# Whom:             Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/accessibility/at-spi/Makefile,v 1.54 2007/02/26 17:53:00 marcus Exp $
#

PORTNAME=   at-spi
PORTVERSION=    1.17.2
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 Assistive Technology Service Provider Interface

USE_BZIP2=  yes

.if !defined(REFERENCE_PORT)

USE_GETTEXT=    yes
USE_GMAKE=  yes
USE_GNOME=  gnomeprefix gnomehack gnomehier intltool gail libbonobo \
        intlhack
USE_XLIB=   yes
USE_LDCONFIG=   yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --enable-static
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"

post-extract:
    @${RM} -f ${WRKSRC}/registryd/Accessibility_Registry.server

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

.include <bsd.port.mk>

.endif