svn commit: r490481 - head/shells/bash

Emanuel Haupt ehaupt at FreeBSD.org
Wed Jan 16 13:59:31 UTC 2019


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 at 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} \


More information about the svn-ports-head mailing list