View | Details | Raw Unified | Return to bug 222206
Collapse All | Expand All

(-)b/x11/mons/Makefile (+26 lines)
Added Link Here
1
# $FreeBSD$
2
3
PORTNAME=	mons
4
DISTVERSION=	0.6.2
5
DISTVERSIONPREFIX=	v
6
CATEGORIES=	x11
7
8
RUN_DEPENDS=	xrandr>0:x11/xrandr
9
10
MAINTAINER=	rob@sarcasticadmin.com
11
COMMENT=	a shell script to quickly manage displays using xrandr
12
13
LICENSE=	MIT
14
LICENSE_FILE=	${WRKSRC}/LICENSE
15
16
NO_BUILD=	yes
17
18
USE_GITHUB=	yes
19
GH_ACCOUNT=	Ventto Ventto:gitsub
20
GH_PROJECT=	posix-shell-list:gitsub
21
GH_TAGNAME=	8bce22d:gitsub
22
23
post-extract:
24
	        @${MV} ${WRKSRC_gitsub}/* ${WRKSRC}/posix-shell-list
25
26
.include <bsd.port.mk>
(-)b/x11/mons/distinfo (+5 lines)
Added Link Here
1
TIMESTAMP = 1504824692
2
SHA256 (Ventto-mons-v0.6.2_GH0.tar.gz) = d18476b63c78ada08ad1df45fd45b922f087c6403e665dc54283c42d889d50a7
3
SIZE (Ventto-mons-v0.6.2_GH0.tar.gz) = 5465
4
SHA256 (Ventto-posix-shell-list-8bce22d_GH0.tar.gz) = cfa2c32723a2392076b68b33328c2570a81e790cd3b5f13a695ce4ec06be80fc
5
SIZE (Ventto-posix-shell-list-8bce22d_GH0.tar.gz) = 2624
(-)b/x11/mons/files/patch-Makefile (+10 lines)
Added Link Here
1
--- Makefile.orig       2017-09-08 18:44:49.416778000 +0000
2
+++ Makefile    2017-09-08 18:45:00.040629000 +0000
3
@@ -1,5 +1,5 @@
4
-BINDIR  = $(DESTDIR)/usr/bin
5
-LIBDIR  = $(DESTDIR)/usr/lib/posix-shell-list
6
+BINDIR  = $(DESTDIR)/usr/local/bin
7
+LIBDIR  = $(DESTDIR)/usr/local/lib/posix-shell-list
8
 LIB     = posix-shell-list/list.sh
9
10
 install:
(-)b/x11/mons/files/patch-mons (+18 lines)
Added Link Here
1
--- mons.orig   2017-09-07 23:50:17.486241000 +0000
2
+++ mons        2017-09-07 23:50:33.521713000 +0000
3
@@ -20,12 +20,12 @@
4
 # COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
5
 # IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
6
 # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
7
-if [ ! -f "/usr/lib/posix-shell-list/list.sh" ]; then
8
-    echo '/usr/lib/posix-shell-list/list.sh: library not found.'
9
+if [ ! -f "/usr/local/lib/posix-shell-list/list.sh" ]; then
10
+    echo '/usr/local/lib/posix-shell-list/list.sh: library not found.'
11
     exit 1
12
 fi
13
14
-. /usr/lib/posix-shell-list/list.sh
15
+. /usr/local/lib/posix-shell-list/list.sh
16
17
 usage() {
18
     echo 'Usage: mons [OPTION]...
(-)b/x11/mons/pkg-descr (+3 lines)
Added Link Here
1
Mons is a Shell script to quickly manage 2-monitors display using xrandr.
2
3
WWW: https://github.com/Ventto/mons
(-)b/x11/mons/pkg-plist (+2 lines)
Added Link Here
1
bin/mons
2
lib/posix-shell-list/list.sh

Return to bug 222206