1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/x11-wm/obkey/Makefile
2014-03-15 18:29:16 +00:00

37 lines
821 B
Makefile

# Created by: Uffe Jakobsen <uffe@uffe.org>
# $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 <bsd.port.mk>