blob: 15d3382442f6b927a55bc0990f40b6db3f553ac2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# 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 python
USE_PYTHON= distutils
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>
|