Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jun 2012 02:26:27 +0800 (CST)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        johans@FreeBSD.org
Subject:   ports/169457: [PATCH] textproc/texi2html: add missing OPTIONS_DEFINE and convert NOPORTDOCS to OptionsNG
Message-ID:  <3WMG0z1Mnqz9dP@sunpoet.net>
Resent-Message-ID: <201206261830.q5QIUBqm048378@freefall.freebsd.org>

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

>Number:         169457
>Category:       ports
>Synopsis:       [PATCH] textproc/texi2html: add missing OPTIONS_DEFINE and convert NOPORTDOCS to OptionsNG
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 26 18:30:11 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Sunpoet Po-Chuan Hsieh
>Release:        FreeBSD 9.0-STABLE amd64
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD bonjour.sunpoet.net 9.0-STABLE FreeBSD 9.0-STABLE #0: Sat Jun 23 18:28:28 CST 2012
>Description:
- Use SAVANNAH macro for MASTER_SITES
- Add missing OPTIONS_DEFINE
- Convert NOPORTDOCS to new options framework

Port maintainer (johans@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: CVS)
>How-To-Repeat:
>Fix:

--- texi2html-5.0,1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/textproc/texi2html/Makefile,v
retrieving revision 1.25
diff -u -u -r1.25 Makefile
--- Makefile	17 Jun 2012 18:55:02 -0000	1.25
+++ Makefile	26 Jun 2012 18:25:12 -0000
@@ -9,12 +9,13 @@
 PORTVERSION=	5.0
 PORTEPOCH=	1
 CATEGORIES=	textproc
-MASTER_SITES=	${MASTER_SITE_SAVANNAH}
-MASTER_SITE_SUBDIR=	${PORTNAME}
+MASTER_SITES=	SAVANNAH
 
 MAINTAINER=	johans@FreeBSD.org
 COMMENT=	Texinfo to HTML converter
 
+OPTIONS_DEFINE=	DOCS NLS
+
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	PERL=${PERL}
 CONFIGURE_ARGS=	--disable-multiplatform
@@ -53,7 +54,7 @@
 post-patch:
 	@${REINPLACE_CMD} -e 's/^translations.pl/_&/' ${WRKSRC}/Makefile.in
 	@${REINPLACE_CMD} -e '/^install-data/s|i18n|&/en.thl|' ${WRKSRC}/Makefile.in
-.if defined(NOPORTDOCS)
+.if empty(PORT_OPTIONS:MDOCS)
 	@${REINPLACE_CMD} -e 's| install-texinfohtmlDATA||g' ${WRKSRC}/doc/Makefile.in
 .endif
 	@${REINPLACE_CMD} -e '1s|/usr/bin/perl|${PERL}|' ${WRKSRC}/*.pl
--- texi2html-5.0,1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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