pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/wm/coma coma: allow overriding MAN_DIR, and set it to ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b3b625b3322e
branches:  trunk
changeset: 338162:b3b625b3322e
user:      fcambus <fcambus%pkgsrc.org@localhost>
date:      Mon Aug 19 12:31:23 2019 +0000

description:
coma: allow overriding MAN_DIR, and set it to "${PREFIX}/${PKGMANDIR}".

Pointed out by leot@, thanks!

diffstat:

 wm/coma/Makefile               |  4 +++-
 wm/coma/distinfo               |  4 ++--
 wm/coma/patches/patch-Makefile |  4 ++--
 3 files changed, 7 insertions(+), 5 deletions(-)

diffs (49 lines):

diff -r 2d5387396b98 -r b3b625b3322e wm/coma/Makefile
--- a/wm/coma/Makefile  Mon Aug 19 10:27:58 2019 +0000
+++ b/wm/coma/Makefile  Mon Aug 19 12:31:23 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2019/08/16 14:07:27 fcambus Exp $
+# $NetBSD: Makefile,v 1.2 2019/08/19 12:31:23 fcambus Exp $
 
 DISTNAME=      coma-1.0
 CATEGORIES=    wm
@@ -11,6 +11,8 @@
 
 USE_LANGUAGES= c99
 
+MAKE_ENV+=     MAN_DIR="${PREFIX}/${PKGMANDIR}"
+
 .include "../../x11/libX11/buildlink3.mk"
 .include "../../x11/libXft/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 2d5387396b98 -r b3b625b3322e wm/coma/distinfo
--- a/wm/coma/distinfo  Mon Aug 19 10:27:58 2019 +0000
+++ b/wm/coma/distinfo  Mon Aug 19 12:31:23 2019 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.1 2019/08/16 14:07:27 fcambus Exp $
+$NetBSD: distinfo,v 1.2 2019/08/19 12:31:23 fcambus Exp $
 
 SHA1 (coma-1.0.tar.gz) = e830786675e4f8542337363f8835e195e8f58593
 RMD160 (coma-1.0.tar.gz) = 672f1202d92b0ba324f97d28c5c0185d59c1f106
 SHA512 (coma-1.0.tar.gz) = 3df8fd17d269b3888fd931b5126f8e63c9aac63451be14fa8a20be09e945056cd7a45b062a6810a9bba0146fbd4b81791e8c0d9bbad1c18f26d1d3b222251e52
 Size (coma-1.0.tar.gz) = 13487 bytes
-SHA1 (patch-Makefile) = 939c2ee550abccc39967fb59fdff4a524c7cd30a
+SHA1 (patch-Makefile) = a77d6acfb5965ab6f83b3bc4bd2c558870c91665
diff -r 2d5387396b98 -r b3b625b3322e wm/coma/patches/patch-Makefile
--- a/wm/coma/patches/patch-Makefile    Mon Aug 19 10:27:58 2019 +0000
+++ b/wm/coma/patches/patch-Makefile    Mon Aug 19 12:31:23 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-Makefile,v 1.1 2019/08/16 14:07:27 fcambus Exp $
+$NetBSD: patch-Makefile,v 1.2 2019/08/19 12:31:23 fcambus Exp $
 
 Adapt install target for pkgsrc.
 
@@ -12,7 +12,7 @@
  PREFIX?=/usr/local
  INSTALL_DIR=$(PREFIX)/bin
 -MAN_DIR=$(PREFIX)/share/man
-+MAN_DIR=$(PREFIX)/man
++MAN_DIR?=$(PREFIX)/share/man
  
  SRC=  coma.c client.c config.c frame.c wm.c
  OBJS= $(SRC:%.c=%.o)



Home | Main Index | Thread Index | Old Index