freebsd-ports/accessibility/atk/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

43 lines
979 B
Makefile

# New ports collection makefile for: atk
# Date Created: 14 May 2001
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
# $MCom: ports/accessibility/atk/Makefile,v 1.114 2011/06/13 20:32:27 kwm Exp $
#
PORTNAME= atk
PORTVERSION= 2.0.1
PORTREVISION?= 0
CATEGORIES= accessibility devel
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= A GNOME accessibility toolkit (ATK)
USE_XZ= yes
.if !defined(REFERENCE_PORT)
BUILD_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
USE_GETTEXT= yes
USE_GMAKE= yes
USE_LDCONFIG= yes
USE_AUTOTOOLS= libtool
USE_GNOME= gnomehack glib20 ltverhack referencehack
CONFIGURE_ARGS= --enable-static \
--disable-gtk-doc \
--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//" \
${WRKSRC}/Makefile.in
.include <bsd.port.mk>
.endif