# Created by: Uffe Jakobsen # $FreeBSD$ PORTNAME= obkey PORTVERSION= 1.0 CATEGORIES= x11-wm python MASTER_SITES= GOOGLE_CODE MAINTAINER= uffe@uffe.org COMMENT= Openbox hotkey editor, written in Python and PyGTK LICENSE= MIT RUN_DEPENDS= py27-gtk2>=2.14:${PORTSDIR}/x11-toolkits/py-gtk2 USES= gettext USE_PYTHON= yes USE_PYDISTUTILS= yes PORTDOCS= NEWS OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's,python,env &,' \ ${WRKSRC}/obkey ${WRKSRC}/obkey_classes.py @${REINPLACE_CMD} -e '/config_prefix/s,/usr,${LOCALBASE},' \ ${WRKSRC}/obkey_classes.py post-install: @${MKDIR} ${STAGEDIR}${DESKTOPDIR} ${INSTALL_DATA} ${WRKSRC}/misc/obkey.desktop ${STAGEDIR}${DESKTOPDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/NEWS ${STAGEDIR}${DOCSDIR} .include