freebsd-ports/graphics/py-cairo/Makefile
Jeremy Messenger 34f82b9537 Doesn't build on FreeBSD 4.x, so mark it as IGNORE and remove all of patches
that are for FreeBSD 4.x.

Reported by:	miwi
2007-01-05 07:54:00 +00:00

43 lines
1.1 KiB
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.20 2006/09/06 22:05:06 marcus Exp $
#
PORTNAME= cairo
PORTVERSION= 1.2.6
CATEGORIES= graphics python
MASTER_SITES= http://cairographics.org/releases/ \
http://zeqadious.homelinux.net/zenwalk/buildscripts/official/pycairo/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= py${PORTNAME}-${PORTVERSION}
MAINTAINER= gnome@FreeBSD.org
COMMENT= Python bindings for Cairo
BUILD_DEPENDS= ${PYNUMERIC}
LIB_DEPENDS= cairo.2:${PORTSDIR}/graphics/cairo
RUN_DEPENDS= ${PYNUMERIC}
USE_PYTHON= yes
USE_GMAKE= yes
USE_GNOME= gnometarget gnomehack
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-pygtk
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \
LDFLAGS="-L${X11BASE}/lib"
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
IGNORE= does not build on FreeBSD 4.x
.endif
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.post.mk>