diff options
author | pin <pin@pkgsrc.org> | 2022-02-11 13:44:45 +0000 |
---|---|---|
committer | pin <pin@pkgsrc.org> | 2022-02-11 13:44:45 +0000 |
commit | 6c41daa456e07fcf13bc5bda8ed4651dc131192e (patch) | |
tree | b88bb42c7c94ee22cf2693752ac57722ee7f0999 /wm | |
parent | a9f23e76d270ac3682dccbc7336822709217802d (diff) | |
download | pkgsrc-6c41daa456e07fcf13bc5bda8ed4651dc131192e.tar.gz |
wm/mmutils: import package
mmutils (multi-monitor utilities) is a set of utilities for querying xrandr
monitor information.
Their main purpose is to be used alongside wmutils, but they will probably
work with pretty much anything runs on top of Xorg.
Diffstat (limited to 'wm')
-rw-r--r-- | wm/mmutils/DESCR | 5 | ||||
-rw-r--r-- | wm/mmutils/Makefile | 30 | ||||
-rw-r--r-- | wm/mmutils/PLIST | 7 | ||||
-rw-r--r-- | wm/mmutils/distinfo | 5 |
4 files changed, 47 insertions, 0 deletions
diff --git a/wm/mmutils/DESCR b/wm/mmutils/DESCR new file mode 100644 index 00000000000..e770a2dd5df --- /dev/null +++ b/wm/mmutils/DESCR @@ -0,0 +1,5 @@ +mmutils (multi-monitor utilities) is a set of utilities for querying xrandr +monitor information. + +Their main purpose is to be used alongside wmutils, but they will probably +work with pretty much anything runs on top of Xorg. diff --git a/wm/mmutils/Makefile b/wm/mmutils/Makefile new file mode 100644 index 00000000000..361ba6e3722 --- /dev/null +++ b/wm/mmutils/Makefile @@ -0,0 +1,30 @@ +# $NetBSD: Makefile,v 1.1 2022/02/11 13:44:45 pin Exp $ + +DISTNAME= mmutils-1.4.1 +CATEGORIES= wm +MASTER_SITES= ${MASTER_SITE_GITHUB:=pockata/} +GITHUB_TAG= v${PKGVERSION_NOREV} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://github.com/pockata/mmutils/ +COMMENT= Set of utilities to easily get xrandr monitor information +LICENSE= isc + +MAKE_FLAGS+= PREFIX=${PREFIX} +MAKE_FLAGS+= MANPREFIX=${PREFIX}/${PKGMANDIR} + +SUBST_CLASSES+= configmk +SUBST_MESSAGE.configmk= Adjust comfig.mk +SUBST_STAGE.configmk= pre-configure +SUBST_FILES.configmk+= config.mk +SUBST_SED.configmk+= -e 's,^CFLAGS *= ,CFLAGS += ,' +SUBST_SED.configmk+= -e 's,^LDFLAGS *= ,LDFLAGS += ,' +SUBST_SED.configmk+= -e 's/cc/${CC:Q}/' + +.include "../../mk/bsd.prefs.mk" +.if ${OPSYS} != "NetBSD" || ${X11_TYPE} == "modular" +DEPENDS+= xrandr-[0-9]*:../../x11/xrandr +.endif + +.include "../../x11/libxcb/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/wm/mmutils/PLIST b/wm/mmutils/PLIST new file mode 100644 index 00000000000..6b0082ba95d --- /dev/null +++ b/wm/mmutils/PLIST @@ -0,0 +1,7 @@ +@comment $NetBSD: PLIST,v 1.1 2022/02/11 13:44:45 pin Exp $ +bin/lsm +bin/mattr +bin/pfm +man/man1/lsm.1 +man/man1/mattr.1 +man/man1/pfm.1 diff --git a/wm/mmutils/distinfo b/wm/mmutils/distinfo new file mode 100644 index 00000000000..06fc5e14b81 --- /dev/null +++ b/wm/mmutils/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2022/02/11 13:44:45 pin Exp $ + +BLAKE2s (mmutils-1.4.1.tar.gz) = 7708a6c8197e87df81884153ab44a64f6266e5251aae4b1e76be9936029bee63 +SHA512 (mmutils-1.4.1.tar.gz) = c3aa3aee52459e72825dbcbf5d6131e0fb04d8db52f7e1432b0dc30de765e7e6f03ace276620399523f424e205d16dec16abb81ce044a57f687cd0af4a1f95b3 +Size (mmutils-1.4.1.tar.gz) = 8605 bytes |