summaryrefslogtreecommitdiff
path: root/x11-wm/obkey
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2014-03-15 18:29:16 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2014-03-15 18:29:16 +0000
commit9afd2d46c26974c3f3ba90a8edb26bb12ada353d (patch)
tree5b97b668a201013cb18285a36f2de9288458fbd0 /x11-wm/obkey
parent- Update to 1.1 (diff)
Stagify the port; fix RUN_DEPENDS to unbreak packaing.
Notes
Notes: svn path=/head/; revision=348365
Diffstat (limited to 'x11-wm/obkey')
-rw-r--r--x11-wm/obkey/Makefile16
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>