pkgsrc/converters/txt2man/patches/patch-Makefile
obache 1e0d82a2ae 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.
2012-06-04 12:16:05 +00:00

18 lines
480 B
Text

$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