diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2014-02-27 13:49:25 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2014-02-27 13:49:25 +0000 |
commit | 8b0333a055e0cc13e524d0fb05127009f1e960fb (patch) | |
tree | 57aae5b88e604c1cbe5237a0c6a0b5dcb9c32195 /main/txt2man/makefile.patch | |
parent | 489d262fddf9bebfc55627c81435458aea40425f (diff) | |
download | aports-8b0333a055e0cc13e524d0fb05127009f1e960fb.tar.bz2 aports-8b0333a055e0cc13e524d0fb05127009f1e960fb.tar.xz |
main/txt2man: moved to main
Diffstat (limited to 'main/txt2man/makefile.patch')
-rw-r--r-- | main/txt2man/makefile.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/main/txt2man/makefile.patch b/main/txt2man/makefile.patch new file mode 100644 index 0000000000..617d4b0d2d --- /dev/null +++ b/main/txt2man/makefile.patch @@ -0,0 +1,23 @@ +--- ./Makefile.orig ++++ ./Makefile +@@ -1,5 +1,7 @@ + # Makefile + prefix ?= /usr/local ++bindir ?= $(prefix)/bin ++mandir ?= $(prefix)/share/man + version = txt2man-1.5.6 + BIN = src2man bookman txt2man + MAN1 = src2man.1 txt2man.1 bookman.1 +@@ -7,9 +9,9 @@ + all: $(MAN1) + + install: $(MAN1) +- mkdir -p $(prefix)/bin $(prefix)/man/man1 +- cp $(BIN) $(prefix)/bin/ +- cp $(MAN1) $(prefix)/man/man1 ++ mkdir -p $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1 ++ cp $(BIN) $(DESTDIR)$(bindir) ++ cp $(MAN1) $(DESTDIR)$(mandir)/man1 + + clean: + rm -f *.1 *.txt *.ps *.pdf *.html |