From c243637a47164a908f725792a7170793401f8de6 Mon Sep 17 00:00:00 2001 From: obache Date: Mon, 4 Jun 2012 12:16:05 +0000 Subject: Update txt2man to 1.5.6. PR 46535 by Wen Heping. While here, * set LICENSE=gnu-gpl-v2. * honor PKGMANDIR ChangeLog: txt2man-1.5.6 16-mar-2011 * txt2man: Better control of 3 letters regexp, by Robin Cornelius. * txt2man: Fix header comment generation, by Robin Cornelius. * txt2man: Better handle ticks, by Thomas Moschny. * src2man: Fix header comment generation. * src2man: more robust comment delimiter handling. * src2man: support C prototypes with newline after type, by Diego Cena. * bookman: Posix shell syntax. --- converters/txt2man/Makefile | 5 +++-- converters/txt2man/distinfo | 9 +++++---- converters/txt2man/patches/patch-Makefile | 18 ++++++++++++++++++ 3 files changed, 26 insertions(+), 6 deletions(-) create mode 100644 converters/txt2man/patches/patch-Makefile (limited to 'converters/txt2man') diff --git a/converters/txt2man/Makefile b/converters/txt2man/Makefile index 6f865863be1..1704925d7ae 100644 --- a/converters/txt2man/Makefile +++ b/converters/txt2man/Makefile @@ -1,13 +1,14 @@ -# $NetBSD: Makefile,v 1.9 2010/01/29 16:53:09 joerg Exp $ +# $NetBSD: Makefile,v 1.10 2012/06/04 12:16:05 obache Exp $ # -DISTNAME= txt2man-1.5.5 +DISTNAME= txt2man-1.5.6 CATEGORIES= converters MASTER_SITES= http://mvertes.free.fr/download/ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://mvertes.free.fr/ COMMENT= Convert flat ASCII text to man page format +LICENSE= gnu-gpl-v2 # or later PKG_DESTDIR_SUPPORT= user-destdir diff --git a/converters/txt2man/distinfo b/converters/txt2man/distinfo index 2fdfd56c894..af9a6965492 100644 --- a/converters/txt2man/distinfo +++ b/converters/txt2man/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.4 2007/05/23 09:39:13 xtraeme Exp $ +$NetBSD: distinfo,v 1.5 2012/06/04 12:16:05 obache Exp $ -SHA1 (txt2man-1.5.5.tar.gz) = e19c284ebcf4ced66ccb4a4954d99e69cc7b63b1 -RMD160 (txt2man-1.5.5.tar.gz) = 1272f520556ed5c57a2886c5a0c3d4536a0f0459 -Size (txt2man-1.5.5.tar.gz) = 16136 bytes +SHA1 (txt2man-1.5.6.tar.gz) = ef1392785333ea88f7e01f4f4c519ecfbdd498bd +RMD160 (txt2man-1.5.6.tar.gz) = 9b6117bd76e514bf2ca885fac5e82dd74c38ca09 +Size (txt2man-1.5.6.tar.gz) = 16293 bytes +SHA1 (patch-Makefile) = 89ad5ec47104cc7c0a563ea65b731ac3b0cdacd8 diff --git a/converters/txt2man/patches/patch-Makefile b/converters/txt2man/patches/patch-Makefile new file mode 100644 index 00000000000..a15be1ea371 --- /dev/null +++ b/converters/txt2man/patches/patch-Makefile @@ -0,0 +1,18 @@ +$NetBSD: patch-Makefile,v 1.1 2012/06/04 12:16:05 obache Exp $ + +* Honor PKGMANDIR + +--- Makefile.orig 2011-03-16 21:45:13.000000000 +0000 ++++ Makefile +@@ -7,9 +7,9 @@ MAN1 = src2man.1 txt2man.1 bookman.1 + all: $(MAN1) + + install: $(MAN1) +- mkdir -p $(prefix)/bin $(prefix)/man/man1 ++ mkdir -p $(prefix)/bin $(prefix)/${PKGMANDIR}/man1 + cp $(BIN) $(prefix)/bin/ +- cp $(MAN1) $(prefix)/man/man1 ++ cp $(MAN1) $(prefix)/${PKGMANDIR}/man1 + + clean: + rm -f *.1 *.txt *.ps *.pdf *.html -- cgit v1.2.3