1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/x11/mons/Makefile
Mateusz Piotrowski 757e924b2b New port: x11/mons: POSIX shell script to quickly manage displays using XRandR
PR:		222206
Submitted by:	Robert James Hernandez <rob@sarcasticadmin.com>
Differential Revision:	https://reviews.freebsd.org/D18437
2019-09-10 11:44:39 +00:00

40 lines
821 B
Makefile

# $FreeBSD$
PORTNAME= mons
DISTVERSIONPREFIX= v
DISTVERSION= 0.8.2
CATEGORIES= x11
MAINTAINER= rob@sarcasticadmin.com
COMMENT= POSIX shell script to quickly manage displays using XRandR
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= help2man:misc/help2man
RUN_DEPENDS= xrandr>0:x11/xrandr
USE_GITHUB= yes
GH_ACCOUNT= Ventto
GH_PROJECT= libshlist:libshlist
GH_TAGNAME= 1cbcdcb:libshlist
GH_SUBDIR= libshlist:libshlist
NO_ARCH= yes
NO_BUILD= yes
MAKE_ARGS= DESTDIR=${STAGEDIR} \
PREFIX=${PREFIX} \
MANDIR=${STAGEDIR}${PREFIX}/man/man1 \
LIB=${WRKSRC_libshlist}/liblist.sh
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/mons
post-install-DOCS-on:
(cd ${WRKSRC} && \
${COPYTREE_SHARE} "README.md img/" ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>