From babd486335f45a7f6e38d5d2981a54965b6ee5cc Mon Sep 17 00:00:00 2001 From: Ruslan Makhmatkhanov Date: Sun, 30 Nov 2014 17:56:10 +0000 Subject: [PATCH] deskutils/gourmet: unbreak - remove no more existing pygnomeextras dependency - it was only needed for spellcheck plugin - remove spellcheck plugin from the list of default active plugins - bump PORTREVISION --- deskutils/gourmet/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/deskutils/gourmet/Makefile b/deskutils/gourmet/Makefile index a656b83675ff..336929cc6802 100644 --- a/deskutils/gourmet/Makefile +++ b/deskutils/gourmet/Makefile @@ -3,6 +3,7 @@ PORTNAME= gourmet PORTVERSION= 0.17.4 +PORTREVISION= 1 CATEGORIES= deskutils gnome MASTER_SITES= https://github.com/thinkle/gourmet/archive/ DISTNAME= ${PORTVERSION} @@ -14,8 +15,6 @@ COMMENT= GNOME recipe manager LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN= Uses unknown GNOME component pygnomeextras - BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}distutils-extra>0:${PORTSDIR}/devel/py-distutils-extra \ ${PYTHON_PKGNAMEPREFIX}elib.intl>0:${PORTSDIR}/textproc/py-elib.intl RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:${PORTSDIR}/databases/py-sqlite3 \ @@ -31,11 +30,15 @@ IPYTHON_DESC= Interactive shell support IPYTHON_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ipython>0:${PORTSDIR}/devel/ipython USES= gettext python:2 -USE_GNOME= pygnome2 pygnomeextras pygtk2 +USE_GNOME= pygnome2 pygtk2 USE_PYTHON= autoplist distutils PLIST_FILES+= man/man1/gourmet.1.gz WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +post-patch: + @${REINPLACE_CMD} -e "s,'spellcheck',#'spellcheck',g" \ + ${WRKSRC}/gourmet/plugin_loader.py + post-install: ${INSTALL_MAN} ${WRKSRC}/gourmet.1 ${STAGEDIR}${PREFIX}/man/man1/