From 1fae88f8433f648fba51a29508744aa4282d6e37 Mon Sep 17 00:00:00 2001 From: William Grzybowski Date: Tue, 5 Aug 2014 02:16:30 +0000 Subject: x11-toolkits/py-kiwi: support stage - Use pygtk2 gnome helper - Drop WITH options (not useful to convert to options) --- x11-toolkits/py-kiwi/Makefile | 33 ++++----------------------------- 1 file changed, 4 insertions(+), 29 deletions(-) (limited to 'x11-toolkits') diff --git a/x11-toolkits/py-kiwi/Makefile b/x11-toolkits/py-kiwi/Makefile index 33b5ae680aaf..ef6d40491d50 100644 --- a/x11-toolkits/py-kiwi/Makefile +++ b/x11-toolkits/py-kiwi/Makefile @@ -12,11 +12,8 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ports@FreeBSD.org COMMENT= 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 tar:xz -USE_GNOME= libglade2 +USE_GNOME= libglade2 pygtk2 USE_PYTHON= yes USE_PYDISTUTILS= yes @@ -25,30 +22,8 @@ EXAMPLESDIR= ${PREFIX}/share/examples/${PYTHON_PKGNAMEPREFIX}${PORTNAME} OPTIONS_DEFINE= DOCS EXAMPLES -NO_STAGE= yes - -.include - post-install: -.if ${PORT_OPTIONS:MDOCS} - cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${DOCSDIR} -.endif -.if ${PORT_OPTIONS:MEXAMPLES} - 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 + cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} -.include +.include -- cgit v1.2.3