aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/py-kiwi/Makefile
blob: c423ce4b8ac017a70e498b3051149ae3ae9523a6 (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
# New ports collection makefile for:    py-kiwi
# Date created:     2006-05-04
# Whom:         Nicola Vitale   <nivit@email.it>
#
# $FreeBSD$
#

PORTNAME=   kiwi
PORTVERSION=    1.9.8
CATEGORIES= x11-toolkits python
MASTER_SITES=   http://www.async.com.br/projects/${PORTNAME}/download/ \
        http://nivi.interfree.it/distfiles/${PORTNAME}/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= nivit@email.it
COMMENT=    A framework and a set of enhanced widgets based on PyGTK

BUILD_DEPENDS=  pygtk-codegen-2.0:${PORTSDIR}/x11-toolkits/py-gtk2
RUN_DEPENDS=    ${BUILD_DEPENDS}

USE_GETTEXT=    yes
USE_GNOME=  libglade2
USE_PYTHON= yes
USE_PYDISTUTILS=    yes

EXAMPLESDIR=    ${PREFIX}/share/examples/py-${PORTNAME}

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${EXAMPLESDIR}
    cd ${WRKSRC}/examples && ${FIND} . -type d -exec ${MKDIR} ${EXAMPLESDIR}/{} ";"
    cd ${WRKSRC}/examples && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${EXAMPLESDIR}/{} ";"
.endif

.include <bsd.port.mk>