59d3035997
Details - New patchlevel release 0.5.9 - Cleanup ports - USES localbase:ldflags PR: 227061 Submitted by: uzsolt@uzsolt.hu Reviewed by: gor@clogic.com.ua (maintainer) Approved by: gor@clogic.com.ua (maintainer) MFH: 2018Q2
39 lines
839 B
Makefile
39 lines
839 B
Makefile
# 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>
|