mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
cf118ccf87
Reported by: lwhsu
38 lines
808 B
Makefile
38 lines
808 B
Makefile
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>
|