# Created by: Nicola Vitale # $FreeBSD$ PORTNAME= kiwi PORTVERSION= 1.9.29 PORTREVISION= 1 CATEGORIES= x11-toolkits python MASTER_SITES= http://download.gnome.org/sources/${PORTNAME}/1.9/ \ http://nivi.interfree.it/distfiles/${PORTNAME}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= nivit@FreeBSD.org 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= pygtk-codegen-2.0:${PORTSDIR}/x11-toolkits/py-gtk2 USES= gettext USE_GNOME= libglade2 USE_PYTHON= yes USE_PYDISTUTILS= yes USE_XZ= yes DOCSDIR= ${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME} EXAMPLESDIR= ${PREFIX}/share/examples/${PYTHON_PKGNAMEPREFIX}${PORTNAME} NO_STAGE= yes post-install: .if !defined(NOPORTDOCS) cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${DOCSDIR} .endif .if !defined(NOPORTEXAMPLES) cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR} .endif .include .if defined (WITH_ZOPEINTERFACE) RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}zope.interface>=3.3.0:${PORTSDIR}/devel/py-zope.interface .endif .if defined (WITH_PYGOBJECT) RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}gobject>=2.14.2_2:${PORTSDIR}/devel/py-gobject .endif .if defined (WITH_PYSQLOBJECT) RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}sqlobject>=0.10.0_1:${PORTSDIR}/databases/py-sqlobject .endif .include