aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/py-goocanvas/Makefile
blob: 174564b80b1982e9fd158da7ef57987ad6e0a323 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# New ports collection makefile for:    py-goocanvas
# Date created:     2006-09-20
# Whom:         Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
#    $MCom: ports/graphics/py-goocanvas/Makefile,v 1.2 2006/10/13 05:28:57 ahze Exp $

PORTNAME=   goocanvas
PORTVERSION=    0.4.1
PORTREVISION=   2
CATEGORIES= graphics
MASTER_SITES=   BERLIOS
MASTER_SITE_SUBDIR= py${PORTNAME}
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   py${PORTNAME}-${PORTVERSION}

MAINTAINER= ahze@FreeBSD.org
COMMENT=    GooCanvas python bindings

LIB_DEPENDS=    goocanvas.0:${PORTSDIR}/graphics/goocanvas

PLIST_FILES=    %%PYTHON_SITELIBDIR%%/goocanvasmodule.la \
        %%PYTHON_SITELIBDIR%%/goocanvasmodule.so
USE_PYTHON= yes
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>