aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2014-03-16 02:29:16 +0800
committerdanfe <danfe@FreeBSD.org>2014-03-16 02:29:16 +0800
commit801fb4c2f6aac1e54520341e6c688140e10ebe66 (patch)
tree5b97b668a201013cb18285a36f2de9288458fbd0 /x11-wm
parent22f3b0e55ee769dc318caf3c724b6e2c1528d01e (diff)
downloadfreebsd-ports-gnome-801fb4c2f6aac1e54520341e6c688140e10ebe66.tar.gz
freebsd-ports-gnome-801fb4c2f6aac1e54520341e6c688140e10ebe66.tar.zst
freebsd-ports-gnome-801fb4c2f6aac1e54520341e6c688140e10ebe66.zip
Stagify the port; fix RUN_DEPENDS to unbreak packaing.
Diffstat (limited to 'x11-wm')
-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>