Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Feb 2015 15:28:26 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r379614 - in head/textproc/discount: . files
Message-ID:  <201502221528.t1MFSQwX095679@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Sun Feb 22 15:28:25 2015
New Revision: 379614
URL: https://svnweb.freebsd.org/changeset/ports/379614
QAT: https://qat.redports.org/buildarchive/r379614/

Log:
  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)

Added:
  head/textproc/discount/files/
  head/textproc/discount/files/patch-Makefile.in   (contents, props changed)
Modified:
  head/textproc/discount/Makefile

Modified: head/textproc/discount/Makefile
==============================================================================
--- head/textproc/discount/Makefile	Sun Feb 22 15:26:50 2015	(r379613)
+++ head/textproc/discount/Makefile	Sun Feb 22 15:28:25 2015	(r379614)
@@ -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

Added: head/textproc/discount/files/patch-Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/discount/files/patch-Makefile.in	Sun Feb 22 15:28:25 2015	(r379614)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502221528.t1MFSQwX095679>