diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2014-03-15 18:29:16 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2014-03-15 18:29:16 +0000 |
commit | 9afd2d46c26974c3f3ba90a8edb26bb12ada353d (patch) | |
tree | 5b97b668a201013cb18285a36f2de9288458fbd0 /x11-wm | |
parent | 9d1b2fa9efb01ec639839aae4c593da681361e24 (diff) | |
download | ports-9afd2d46c26974c3f3ba90a8edb26bb12ada353d.tar.gz ports-9afd2d46c26974c3f3ba90a8edb26bb12ada353d.zip |
Notes
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/obkey/Makefile | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/x11-wm/obkey/Makefile b/x11-wm/obkey/Makefile index 0b1248a51339..e4cde86f760b 100644 --- a/x11-wm/obkey/Makefile +++ b/x11-wm/obkey/Makefile @@ -11,18 +11,16 @@ COMMENT= Openbox hotkey editor, written in Python and PyGTK LICENSE= MIT -RUN_DEPENDS= py2[67]-gtk>=2.14:${PORTSDIR}/x11-toolkits/py-gtk2 +RUN_DEPENDS= py27-gtk2>=2.14:${PORTSDIR}/x11-toolkits/py-gtk2 USES= gettext USE_PYTHON= yes USE_PYDISTUTILS= yes + PORTDOCS= NEWS OPTIONS_DEFINE= DOCS -NO_STAGE= yes -.include <bsd.port.options.mk> - post-patch: @${REINPLACE_CMD} -e 's,python,env &,' \ ${WRKSRC}/obkey ${WRKSRC}/obkey_classes.py @@ -30,11 +28,9 @@ post-patch: ${WRKSRC}/obkey_classes.py post-install: - @${MKDIR} ${DESKTOPDIR} - ${INSTALL_DATA} ${WRKSRC}/misc/obkey.desktop ${DESKTOPDIR} -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/NEWS ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${DESKTOPDIR} + ${INSTALL_DATA} ${WRKSRC}/misc/obkey.desktop ${STAGEDIR}${DESKTOPDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/NEWS ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |