freebsd-ports/graphics/py-cairo/Makefile

35 lines
942 B
Makefile
Raw Normal View History

2004-12-06 00:22:02 +01:00
# 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 $
2004-12-06 00:22:02 +01:00
#
PORTNAME= cairo
PORTVERSION= 1.8.10
2004-12-06 00:22:02 +01:00
CATEGORIES= graphics python
MASTER_SITES= http://cairographics.org/releases/
2004-12-06 00:22:02 +01:00
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= py2${PORTNAME}-${PORTVERSION}
2004-12-06 00:22:02 +01:00
2005-09-05 01:58:08 +02:00
MAINTAINER= gnome@FreeBSD.org
2004-12-06 00:22:02 +01:00
COMMENT= Python bindings for Cairo
2005-11-05 07:06:59 +01:00
LIB_DEPENDS= cairo.2:${PORTSDIR}/graphics/cairo
2004-12-06 00:22:02 +01:00
WRKSRC= ${WRKDIR}/py${PORTNAME}-${PORTVERSION}
USE_PYTHON= 2.6-2.7
2005-11-05 07:06:59 +01:00
USE_GMAKE= yes
USE_GNOME= gnometarget gnomehack
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
2004-12-06 00:22:02 +01:00
2005-11-05 07:06:59 +01:00
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>