mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
4c46ca73d8
Add USES=xorg and USES=gl to ports in categories starting with 'x' While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
39 lines
850 B
Makefile
39 lines
850 B
Makefile
# Created by: Anton Tornqvist <antont@inbox.lv>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= sxhkd
|
|
PORTVERSION= 0.6.1
|
|
CATEGORIES= x11
|
|
|
|
MAINTAINER= o.hushchenkov@gmail.com
|
|
COMMENT= Simple X hotkey daemon
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
LIB_DEPENDS= libxcb-keysyms.so:x11/xcb-util-keysyms
|
|
|
|
USES= gmake localbase:ldflags xorg
|
|
|
|
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>
|