Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jan 2019 13:59:30 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r490481 - head/shells/bash
Message-ID:  <201901161359.x0GDxUiG076743@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Wed Jan 16 13:59:30 2019
New Revision: 490481
URL: https://svnweb.freebsd.org/changeset/ports/490481

Log:
  Mandoc'ify man pages to avoid dependency to groff.
  
  PR:		234992 (based on)
  Submitted by:	sakisp@gmail.com

Modified:
  head/shells/bash/Makefile

Modified: head/shells/bash/Makefile
==============================================================================
--- head/shells/bash/Makefile	Wed Jan 16 13:37:50 2019	(r490480)
+++ head/shells/bash/Makefile	Wed Jan 16 13:59:30 2019	(r490481)
@@ -8,7 +8,7 @@ PORTNAME=		bash
 #PATCHLEVEL=		0
 #PORTVERSION=		5.0.${PATCHLEVEL:S/^0//g}
 PORTVERSION=		5.0
-PORTREVISION?=		0
+PORTREVISION?=		1
 CATEGORIES=		shells
 MASTER_SITES=		GNU
 #DISTNAME=		${PORTNAME}-${PORTVERSION:R}
@@ -87,6 +87,10 @@ post-patch:
 	    -e "s|/\*.*#define SYSLOG_SHOPT .*\*/|#define SYSLOG_SHOPT 1|g" \
 	    ${WRKSRC}/config-top.h
 .endif
+.for f in bash bashbug
+	@mandoc -T man ${WRKSRC}/doc/${f}.1 > ${WRKSRC}/doc/${f}.1.mandoc
+	@${MV} ${WRKSRC}/doc/${f}.1.mandoc ${WRKSRC}/doc/${f}.1
+.endfor
 
 post-patch-SYSBASHRC-on:
 	@${REINPLACE_CMD} \



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