blob: 8d278ee1d990d853cd0a8e5d4a5cd69322ac83da (
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
36
37
38
|
# Created by: Anton Tornqvist <antont@inbox.lv>
# $FreeBSD$
PORTNAME= sxhkd
PORTVERSION= 0.5.9
CATEGORIES= x11
MAINTAINER= gor@clogic.com.ua
COMMENT= Simple X hotkey daemon
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libxcb-keysyms.so:x11/xcb-util-keysyms
USES= gmake localbase:ldflags
USE_XORG= xcb
USE_GITHUB= yes
GH_ACCOUNT= baskerville
PORTEXAMPLES= *
PLIST_FILES= bin/sxhkd \
man/man1/sxhkd.1.gz
OPTIONS_DEFINE= EXAMPLES
do-install:
${MKDIR} ${STAGEDIR}${BINDIR} ${STAGEDIR}${MANPREFIX}/man/man1
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
post-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
|