diff options
Diffstat (limited to 'x11/mons/Makefile')
-rw-r--r-- | x11/mons/Makefile | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/x11/mons/Makefile b/x11/mons/Makefile new file mode 100644 index 000000000000..cfa103621de3 --- /dev/null +++ b/x11/mons/Makefile @@ -0,0 +1,39 @@ +# $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> |