diff options
author | Michael Johnson <ahze@FreeBSD.org> | 2004-12-05 23:22:02 +0000 |
---|---|---|
committer | Michael Johnson <ahze@FreeBSD.org> | 2004-12-05 23:22:02 +0000 |
commit | b41fb96dbe2b8f0256aa4f9f3181e214edd2ecbf (patch) | |
tree | 84b4a3cd860084b86a821680b55129c90c122387 /graphics/py-cairo/Makefile | |
parent | 90acbd3fe15adb4321fadb7c551be7158f5b04c6 (diff) | |
download | ports-b41fb96dbe2b8f0256aa4f9f3181e214edd2ecbf.tar.gz ports-b41fb96dbe2b8f0256aa4f9f3181e214edd2ecbf.zip |
Notes
Diffstat (limited to 'graphics/py-cairo/Makefile')
-rw-r--r-- | graphics/py-cairo/Makefile | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/graphics/py-cairo/Makefile b/graphics/py-cairo/Makefile new file mode 100644 index 000000000000..09b0902d1f10 --- /dev/null +++ b/graphics/py-cairo/Makefile @@ -0,0 +1,39 @@ +# New ports collection makefile for: py-cairo +# Date created: 2004-12-05 +# Whom: Michael Johnson <ahze@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= cairo +PORTVERSION= 0.1.3 +CATEGORIES= graphics python +MASTER_SITES= http://cairographics.org/snapshots/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= py${PORTNAME}-${PORTVERSION} + +MAINTAINER= ahze@FreeBSD.org +COMMENT= Python bindings for Cairo + +BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/Numeric/MA/__init__.py:${PORTSDIR}/math/py-numeric +LIB_DEPENDS= cairo.1:${PORTSDIR}/graphics/cairo +RUN_DEPENDS= ${BUILD_DEPENDS} + +USE_PYTHON= yes +WANT_GNOME= yes +USE_LIBTOOL_VER=15 + +.include <bsd.port.pre.mk> + +.if ${HAVE_GNOME:Mpygtk2}!="" +WITH_PYGTK= yes +.endif + +.if defined(WITHOUT_PYGTK) && !defined(WITH_PYGTK) +PLIST_SUB+= GTK="@comment " +.else +USE_GNOME= pygtk2 +PLIST_SUB+= GTK="" +.endif + +.include <bsd.port.post.mk> |