summaryrefslogtreecommitdiffstats
path: root/testing/tbl/tbl-install.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-07-06 13:06:21 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-07-06 13:06:21 +0000
commit37a97cda850a8ac1738db7887cefb15d4cc39cc5 (patch)
tree3b72a64af9b12dff2bcaac36c30b9ad30e03c959 /testing/tbl/tbl-install.patch
parent979d3c10b6dc623a4c17ba4592c7ff0ff01c5ec8 (diff)
downloadaports-37a97cda850a8ac1738db7887cefb15d4cc39cc5.tar.bz2
aports-37a97cda850a8ac1738db7887cefb15d4cc39cc5.tar.xz
testing/tbl: new aport
Utility to format tables for troff http://tbl.bsd.lv/
Diffstat (limited to 'testing/tbl/tbl-install.patch')
-rw-r--r--testing/tbl/tbl-install.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/tbl/tbl-install.patch b/testing/tbl/tbl-install.patch
new file mode 100644
index 000000000..72465ea2d
--- /dev/null
+++ b/testing/tbl/tbl-install.patch
@@ -0,0 +1,19 @@
+--- ./Makefile.orig
++++ ./Makefile
+@@ -64,11 +64,11 @@
+ install -m 0444 tbl-$(VERSION).md5 $(PREFIX)/snapshots/tbl.md5
+
+ install:
+- mkdir -p $(BINDIR)
+- mkdir -p $(MANDIR)/man5
+- $(INSTALL_PROGRAM) tbl $(BINDIR)
+- $(INSTALL_MAN) tbl.5 $(MANDIR)/man5
+- $(INSTALL_MAN) tbl.1 $(MANDIR)/man1
++ mkdir -p $(DESTDIR)$(BINDIR)
++ mkdir -p $(DESTDIR)$(MANDIR)/man5
++ $(INSTALL_PROGRAM) tbl $(DESTDIR)$(BINDIR)
++ $(INSTALL_MAN) tbl.5 $(DESTDIR)$(MANDIR)/man5
++ $(INSTALL_MAN) tbl.1 $(DESTDIR)$(MANDIR)/man1
+
+ main.o: main.c tbl.h
+