pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/kbanner kbanner: regen distinfo, set DIST_SUBDIR



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1cc93444e21e
branches:  trunk
changeset: 383430:1cc93444e21e
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Fri Aug 19 02:34:51 2022 +0000

description:
kbanner: regen distinfo, set DIST_SUBDIR

The author's e-mail address changed in the README file back in 2004.

diffstat:

 textproc/kbanner/Makefile         |  10 ++++++++--
 textproc/kbanner/distinfo         |  10 +++++-----
 textproc/kbanner/patches/patch-aa |  25 +++++--------------------
 3 files changed, 18 insertions(+), 27 deletions(-)

diffs (81 lines):

diff -r 6275d0eb6376 -r 1cc93444e21e textproc/kbanner/Makefile
--- a/textproc/kbanner/Makefile Fri Aug 19 02:10:24 2022 +0000
+++ b/textproc/kbanner/Makefile Fri Aug 19 02:34:51 2022 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2012/10/25 06:56:02 asau Exp $
+# $NetBSD: Makefile,v 1.9 2022/08/19 02:34:51 tnn Exp $
 
 DISTNAME=      kbanner2
 PKGNAME=       kbanner-2.1
-CATEGORIES=    japanese textproc
+CATEGORIES=    textproc japanese
 MASTER_SITES=  http://kanji.zinbun.kyoto-u.ac.jp/~yasuoka/ftp/program/
 EXTRACT_SUFX=  .tar.Z
 
@@ -14,4 +14,10 @@
 
 BUILD_TARGET=  kbanner
 
+DIST_SUBDIR=   ${DISTNAME}-20040713
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/kbanner ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_MAN} ${WRKSRC}/kbanner.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
 .include "../../mk/bsd.pkg.mk"
diff -r 6275d0eb6376 -r 1cc93444e21e textproc/kbanner/distinfo
--- a/textproc/kbanner/distinfo Fri Aug 19 02:10:24 2022 +0000
+++ b/textproc/kbanner/distinfo Fri Aug 19 02:34:51 2022 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.8 2021/10/26 11:22:14 nia Exp $
+$NetBSD: distinfo,v 1.9 2022/08/19 02:34:51 tnn Exp $
 
-BLAKE2s (kbanner2.tar.Z) = 07ab70a01aba469cbe27881105f88241d277d7f266e3b9ce0e022c3412c8e2b7
-SHA512 (kbanner2.tar.Z) = e0968687c7a084758964f87ccb17c827fd0a9ac69017bf50a79eaf6b29da99e5645c05ac9689229d76a674583dd94b782b709b9d6c2d3b82de54e25cf71b7c95
-Size (kbanner2.tar.Z) = 240221 bytes
-SHA1 (patch-aa) = 6820520798bba21f7b9dff1c8b4e7aed24c80970
+BLAKE2s (kbanner2-20040713/kbanner2.tar.Z) = cd0d903ffdba5696a803ebc9a5d764bc9108edf7606012f2e72197e18997baf2
+SHA512 (kbanner2-20040713/kbanner2.tar.Z) = f2c9a6cf3e47364725d7c5ed6bf396733f52d9e9493fb5c1f786d006d25edf8a83766d2bc0aed5d4cce00424bea87ff9b7870b3586b08d95eac9fc137feb2bf5
+Size (kbanner2-20040713/kbanner2.tar.Z) = 240423 bytes
+SHA1 (patch-aa) = 7a5dbea5932f923ee20fd78a1c297ff86dd203a5
 SHA1 (patch-ab) = 95970635b3fb6f3d6a254f3116c29b9f6d593617
 SHA1 (patch-ac) = 1f6964b8c936199e408ab5aceb06ddeb1a249751
 SHA1 (patch-ad) = 9f3a26d4ac3eab9e9c0094d02de09925f47b2b7b
diff -r 6275d0eb6376 -r 1cc93444e21e textproc/kbanner/patches/patch-aa
--- a/textproc/kbanner/patches/patch-aa Fri Aug 19 02:10:24 2022 +0000
+++ b/textproc/kbanner/patches/patch-aa Fri Aug 19 02:34:51 2022 +0000
@@ -1,18 +1,10 @@
-$NetBSD: patch-aa,v 1.3 2016/03/30 10:01:24 jperkin Exp $
+$NetBSD: patch-aa,v 1.4 2022/08/19 02:34:51 tnn Exp $
 
-Use pkgsrc layout/flags.
+Honour pkgsrc compiler selection.
 
---- Makefile.orig      Fri Oct 15 14:19:54 1993
-+++ Makefile   Thu May 18 00:48:33 2000
-@@ -1,21 +1,20 @@
- SHELL = /bin/sh
--DESTDIR = /usr/local/bin
--MANUAL = /usr/local/man/man1/kbanner.1
--CFLAGS = -O -KEOPT -KBREG -KINF
-+MANUAL = $(PREFIX)/${PKGMANDIR}/man1/kbanner.1
-+#CFLAGS = -O -KEOPT -KBREG -KINF
- OBJ = kbanner.o font1.o font2.o font3.o
- 
+--- Makefile.orig      2004-07-13 01:06:57.000000000 +0000
++++ Makefile
+@@ -7,10 +7,10 @@ OBJ = kbanner.o font1.o font2.o font3.o
  .SUFFIXES: .c .o
  
  .c.o:
@@ -25,10 +17,3 @@
        strip kbanner
  
  clean:
-       rm -f *.o core
- 
- install: kbanner
--      cp kbanner $(DESTDIR)/
--      cp kbanner.1 $(MANUAL)
-+      $(BSD_INSTALL_PROGRAM) kbanner $(DESTDIR)${PREFIX}/bin
-+      $(BSD_INSTALL_MAN) kbanner.1 ${DESTDIR}$(MANUAL)



Home | Main Index | Thread Index | Old Index