forked from opnsense/ports
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
36 lines (25 loc) · 788 Bytes
/
Makefile
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
36
# Created by: Uffe Jakobsen <[email protected]>
# $FreeBSD$
PORTNAME= obkey
PORTVERSION= 1.0
CATEGORIES= x11-wm python
MASTER_SITES= GOOGLE_CODE
MAINTAINER= [email protected]
COMMENT= Openbox hotkey editor, written in Python and PyGTK
LICENSE= MIT
RUN_DEPENDS= py27-gtk2>=2.14: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:
${INSTALL_DATA} ${WRKSRC}/misc/obkey.desktop ${STAGEDIR}${DESKTOPDIR}
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/NEWS ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>