aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2014-08-05 10:16:30 +0800
committerwg <wg@FreeBSD.org>2014-08-05 10:16:30 +0800
commit72ad9b0befff5f224e48bcb6ab89a5396131f172 (patch)
tree103735539d5cc4e77de882b08002e4a40ed2fb10 /x11-toolkits
parent3dbfd3cf3d23ebe2dcc2dab02fa90c7b0a434ebb (diff)
downloadfreebsd-ports-gnome-72ad9b0befff5f224e48bcb6ab89a5396131f172.tar.gz
freebsd-ports-gnome-72ad9b0befff5f224e48bcb6ab89a5396131f172.tar.zst
freebsd-ports-gnome-72ad9b0befff5f224e48bcb6ab89a5396131f172.zip
x11-toolkits/py-kiwi: support stage
- Use pygtk2 gnome helper - Drop WITH options (not useful to convert to options)
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/py-kiwi/Makefile33
1 files changed, 4 insertions, 29 deletions
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 <bsd.port.options.mk>
-
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 <bsd.port.pre.mk>
-
-.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 <bsd.port.post.mk>
+.include <bsd.port.mk>