diff options
author | adamw <adamw@FreeBSD.org> | 2015-02-22 23:28:25 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2015-02-22 23:28:25 +0800 |
commit | 62436be1b4dc367939d6b0eb6c1be9d6b019fd00 (patch) | |
tree | 59d03f40cfb6bbb0c6fe14c041dea24a9b1b831f /textproc | |
parent | 56853fc9054e37cdd3edb76b12c77741305f7999 (diff) | |
download | freebsd-ports-gnome-62436be1b4dc367939d6b0eb6c1be9d6b019fd00.tar.gz freebsd-ports-gnome-62436be1b4dc367939d6b0eb6c1be9d6b019fd00.tar.zst freebsd-ports-gnome-62436be1b4dc367939d6b0eb6c1be9d6b019fd00.zip |
A number of the discount manpages are broken due to FreeBSD's lack of support of
the .so macro. I know that work has been done on this in base, but for now fix
discount's manpages by installing them as symlinks instead.
PR: 196842
Approved by: maintainer timeout (> 1 month)
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/discount/Makefile | 1 | ||||
-rw-r--r-- | textproc/discount/files/patch-Makefile.in | 19 |
2 files changed, 20 insertions, 0 deletions
diff --git a/textproc/discount/Makefile b/textproc/discount/Makefile index dc5048eb91fa..320018c32f71 100644 --- a/textproc/discount/Makefile +++ b/textproc/discount/Makefile @@ -3,6 +3,7 @@ PORTNAME= discount DISTVERSION= 2.1.6 +PORTREVISION= 1 CATEGORIES= textproc devel MASTER_SITES= http://www.pell.portland.or.us/~orc/Code/discount/ \ LOCAL/jlaffaye diff --git a/textproc/discount/files/patch-Makefile.in b/textproc/discount/files/patch-Makefile.in new file mode 100644 index 000000000000..1715e084ec16 --- /dev/null +++ b/textproc/discount/files/patch-Makefile.in @@ -0,0 +1,19 @@ +--- Makefile.in.orig 2015-01-18 16:49:13 UTC ++++ Makefile.in +@@ -39,13 +39,13 @@ install.man: + @INSTALL_DIR@ $(DESTDIR)$(MANDIR)/man3 + @INSTALL_DATA@ $(MAN3PAGES) $(DESTDIR)$(MANDIR)/man3 + for x in mkd_line mkd_generateline; do \ +- ( echo '.\"' ; echo ".so man3/mkd-line.3" ) > $(DESTDIR)$(MANDIR)/man3/$$x.3;\ ++ ln -sf mkd-line.3 $(DESTDIR)$(MANDIR)/man3/$$x.3; \ + done + for x in mkd_in mkd_string; do \ +- ( echo '.\"' ; echo ".so man3/markdown.3" ) > $(DESTDIR)$(MANDIR)/man3/$$x.3;\ ++ ln -sf markdown.3 $(DESTDIR)$(MANDIR)/man3/$$x.3; \ + done + for x in mkd_compile mkd_css mkd_generatecss mkd_generatehtml mkd_cleanup mkd_doc_title mkd_doc_author mkd_doc_date; do \ +- ( echo '.\"' ; echo ".so man3/mkd-functions.3" ) > $(DESTDIR)$(MANDIR)/man3/$$x.3; \ ++ ln -sf mkd-functions.3 $(DESTDIR)$(MANDIR)/man3/$$x.3; \ + done + @INSTALL_DIR@ $(DESTDIR)$(MANDIR)/man7 + @INSTALL_DATA@ markdown.7 mkd-extensions.7 $(DESTDIR)$(MANDIR)/man7 |