Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Sep 2009 02:13:25 +0400
From:      Anonymous <swell.k@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/139163: [patch] textproc/flex: install info documentation
Message-ID:  <86pr9dl5h6.fsf@gmail.com>
Resent-Message-ID: <200909262220.n8QMK1Ps007880@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         139163
>Category:       ports
>Synopsis:       [patch] textproc/flex: install info documentation
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 26 22:20:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Anonymous
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD 9.0-CURRENT #0 r197528M: Sat Sep 26 19:55:38 UTC 2009     root@luffy:/usr/obj/usr/src/sys/PHOENIX  amd64
>Description:
The flex man page is very brief and points to info file.
>How-To-Repeat:
>Fix:
--- flex.diff begins here ---
Index: textproc/flex/Makefile
===================================================================
RCS file: /home/csup/ports/textproc/flex/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- textproc/flex/Makefile	22 Aug 2009 00:36:57 -0000	1.7
+++ textproc/flex/Makefile	26 Sep 2009 22:02:49 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	flex
 PORTVERSION=	2.5.35
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	textproc
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 
@@ -24,12 +24,15 @@ GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-nls --includedir=${PREFIX}/include/flex
 USE_GMAKE=	yes
 MAN1=		flex.1
+INFO=		flex
 PLIST_FILES=	bin/flex include/flex/FlexLexer.h lib/libfl.a lib/libfl_pic.a
 PLIST_DIRS=	include/flex
 
-post-patch:
-	@${REINPLACE_CMD} -e 's/install-info-recursive//g;s/info-recursive//g' \
+post-patch:	.SILENT
+	${REINPLACE_CMD} \
 		-e 's/po //;s/tests//' ${WRKSRC}/Makefile.in
-	@${REINPLACE_CMD} -e 's/ install-info-am//' ${WRKSRC}/doc/Makefile.in
+	${REINPLACE_CMD} 's/@MAKEINFO@/& --no-split/g' \
+		${WRKSRC}/doc/Makefile.in
+	${RM} -f ${WRKSRC}/doc/*.info*
 
 .include <bsd.port.mk>
--- flex.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



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