freebsd-ports/graphics/py-cairo/Makefile
Eitan Adler 334eb0fc61 This changes almost all the "gnomehack" only USE_GNOME cases to USES= pathfix.
If a port used other USE_GNOME items it was untouched.
The ports that used other USES were fixed by hand.

PR:		ports/177081
Reviewed by:	bapt
Approved by:	portmgr (miwi)
2013-03-19 13:04:30 +00:00

35 lines
920 B
Makefile

# New ports collection makefile for: py-cairo
# Date created: 2004-12-05
# Whom: Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
# $MCom: ports/graphics/py-cairo/Makefile,v 1.28 2010/11/15 14:12:13 kwm Exp $
#
PORTNAME= cairo
PORTVERSION= 1.8.10
PORTREVISION= 1
CATEGORIES= graphics python
MASTER_SITES= http://cairographics.org/releases/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= py2${PORTNAME}-${PORTVERSION}
MAINTAINER= gnome@FreeBSD.org
COMMENT= Python bindings for Cairo
LIB_DEPENDS= cairo.2:${PORTSDIR}/graphics/cairo
WRKSRC= ${WRKDIR}/py${PORTNAME}-${PORTVERSION}
USE_PYTHON= 2.6-2.7
USE_GMAKE= yes
USES= pathfix
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
post-patch:
@${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|; \
s|SUBDIRS = cairo examples test|SUBDIRS = cairo examples|' \
${WRKSRC}/Makefile.in
.include <bsd.port.mk>