2006-10-14 10:55:16 +02:00
|
|
|
# New ports collection makefile for: py-goocanvas
|
|
|
|
# Date created: 2006-09-20
|
|
|
|
# Whom: Michael Johnson <ahze@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
2009-01-10 06:22:13 +01:00
|
|
|
# $MCom: ports/graphics/py-goocanvas/Makefile,v 1.6 2008/09/22 09:14:41 kwm Exp $
|
2006-10-14 10:55:16 +02:00
|
|
|
|
|
|
|
PORTNAME= goocanvas
|
2009-06-19 01:53:30 +02:00
|
|
|
PORTVERSION= 0.14.1
|
2012-06-01 07:26:28 +02:00
|
|
|
PORTREVISION= 4
|
2010-09-14 01:44:04 +02:00
|
|
|
CATEGORIES= graphics python
|
2009-01-10 06:22:13 +01:00
|
|
|
MASTER_SITES= GNOME
|
|
|
|
MASTER_SITE_SUBDIR= sources/py${PORTNAME}/${PORTVERSION:C/..$//}
|
2006-10-14 10:55:16 +02:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= py${PORTNAME}-${PORTVERSION}
|
|
|
|
|
2010-07-26 01:09:56 +02:00
|
|
|
MAINTAINER= kwm@FreeBSD.org
|
2006-10-14 10:55:16 +02:00
|
|
|
COMMENT= GooCanvas python bindings
|
|
|
|
|
2008-03-24 04:52:36 +01:00
|
|
|
LIB_DEPENDS= goocanvas.3:${PORTSDIR}/graphics/goocanvas
|
2006-10-14 10:55:16 +02:00
|
|
|
|
|
|
|
PLIST_FILES= %%PYTHON_SITELIBDIR%%/goocanvasmodule.la \
|
2009-01-10 06:22:13 +01:00
|
|
|
%%PYTHON_SITELIBDIR%%/goocanvasmodule.so \
|
|
|
|
libdata/pkgconfig/pygoocanvas.pc
|
2006-10-14 10:55:16 +02:00
|
|
|
USE_PYTHON= yes
|
2009-01-10 06:22:13 +01:00
|
|
|
USE_BZIP2= yes
|
2006-10-14 10:55:16 +02:00
|
|
|
USE_GNOME= gnomehack pygtk2
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --disable-docs
|
|
|
|
USE_GMAKE= yes
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|$$(PYGOBJECT_PYGDOCS)/style.css||; \
|
|
|
|
s|demo docs|demo|' \
|
|
|
|
${WRKSRC}/Makefile.in \
|
|
|
|
${WRKSRC}/docs/Makefile.in
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|