pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

xdo: clean-up pkg



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Sat Jun 27 21:52:44 2020 +0200
Changeset:	e849b28d77d46048984914fa87276b993ebfb23c

Modified Files:
	xdo/Makefile
	xdo/distinfo
	xdo/patches/patch-Makefile

Log Message:
xdo: clean-up pkg

as suggested by leot, thx.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e849b28d77d46048984914fa87276b993ebfb23c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 xdo/Makefile               |  4 ++--
 xdo/distinfo               |  2 +-
 xdo/patches/patch-Makefile | 11 ++---------
 3 files changed, 5 insertions(+), 12 deletions(-)

diffs:
diff --git a/xdo/Makefile b/xdo/Makefile
index 679e2a5d16..4fb4acb93c 100644
--- a/xdo/Makefile
+++ b/xdo/Makefile
@@ -3,7 +3,6 @@
 DISTNAME=	xdo-0.5.7
 CATEGORIES=	x11
 MASTER_SITES=	${MASTER_SITE_GITHUB:=baskerville/}
-GITHUB_TAG=	${PKGVERSION_NOREV}
 
 MAINTAINER=	pin%NetBSD.org@localhost
 HOMEPAGE=	https://github.com/baskerville/xdo/
@@ -11,8 +10,9 @@ COMMENT=	Small X utility to perform elementary actions on windows
 LICENSE=	2-clause-bsd
 
 USE_TOOLS+=	gmake
+USE_LANGUAGES=	c99
 
-WRKSRC=	${WRKDIR}/xdo-0.5.7
+MAKE_ENV+=	MANPREFIX=${PREFIX}/${PKGMANDIR}
 
 .include "../../x11/libxcb/buildlink3.mk"
 .include "../../x11/xcb-util-wm/buildlink3.mk"
diff --git a/xdo/distinfo b/xdo/distinfo
index 72e9da1078..30750c8967 100644
--- a/xdo/distinfo
+++ b/xdo/distinfo
@@ -4,4 +4,4 @@ SHA1 (xdo-0.5.7.tar.gz) = 9daa84c47dd213fb3de6ac5ebec5ec4fc1be61a3
 RMD160 (xdo-0.5.7.tar.gz) = 4b0b661f00013d7b6154e88230f9e72bae72f298
 SHA512 (xdo-0.5.7.tar.gz) = 0978a8571a35899c916495c9d38458adb6c766db4d498dfacf2f0a46e373f7caa3c3e227096b3e60e03c67b972777cf7519e5b6eee7ebb91f82d4450ac0ff98d
 Size (xdo-0.5.7.tar.gz) = 7453 bytes
-SHA1 (patch-Makefile) = fe24912205b6bf3064c4753ac0c668dd872391b7
+SHA1 (patch-Makefile) = 2c51d8b2a4d5aef5db12b60716aa98784fc59cbd
diff --git a/xdo/patches/patch-Makefile b/xdo/patches/patch-Makefile
index aa255bdbf0..997a65a546 100644
--- a/xdo/patches/patch-Makefile
+++ b/xdo/patches/patch-Makefile
@@ -1,10 +1,10 @@
 $NetBSD$
 
-Allow build and re-direct man to proper location
+Allow build
 
 --- Makefile.orig	2017-09-18 12:00:07.000000000 +0000
 +++ Makefile
-@@ -2,13 +2,13 @@ NAME    := xdo
+@@ -2,7 +2,7 @@ NAME    := xdo
  VERCMD  ?= git describe 2> /dev/null
  VERSION := $(shell $(VERCMD) || cat VERSION)
  
@@ -13,10 +13,3 @@ Allow build and re-direct man to proper location
  CFLAGS   += -std=c99 -pedantic -Wall -Wextra
  LDLIBS   := -lxcb -lxcb-util -lxcb-icccm -lxcb-ewmh -lxcb-xtest
  
- PREFIX    ?= /usr/local
- BINPREFIX ?= $(PREFIX)/bin
--MANPREFIX ?= $(PREFIX)/share/man
-+MANPREFIX ?= $(PREFIX)/man
- 
- SRC := $(wildcard *.c)
- OBJ := $(SRC:.c=.o)


Home | Main Index | Thread Index | Old Index