Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jan 2013 15:38:24 +0900 (JST)
From:      Yasuhiro KIMURA <yasu@utahime.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/175193: [MAINTAINER] japanese/eb: adopt OptionsNG
Message-ID:  <20130111063824.E199A4E62C@eastasia.home.utahime.org>
Resent-Message-ID: <201301110640.r0B6e02w012223@freefall.freebsd.org>

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

>Number:         175193
>Category:       ports
>Synopsis:       [MAINTAINER] japanese/eb: adopt OptionsNG
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 11 06:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Yasuhiro KIMURA
>Release:        FreeBSD 9.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD xxxx 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r245243: Fri Jan 11 10:39:45 JST 2013 xxxx amd64


	
>Description:

	Adopt OptionsNG.

	
>How-To-Repeat:
	
>Fix:

	

--- patch-ja-eb begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 310216)
+++ Makefile	(working copy)
@@ -68,9 +68,14 @@
 USE_LDCONFIG=	yes
 CONFIGURE_ARGS=	--with-pkgdocdir=${DOCSDIR}
 
+OPTIONS_DEFINE=	DOCS NLS
+OPTIONS_DEFAULT=	DOCS NLS
+
 APPENDIXDIR=	${DATADIR}/appendix
 
-.if !defined(WITHOUT_NLS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
 USE_GETTEXT=	yes
 CONFIGURE_ARGS+=	--enable-nls \
 		--with-gettext-includes=${LOCALBASE}/include \
@@ -92,7 +97,7 @@
 
 post-install:
 	${CP} -R ${WRKDIR}/appendix/ ${APPENDIXDIR}
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 .for doc in ${PORTDOCS}
 	${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${DOCSDIR}
--- patch-ja-eb ends here ---


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



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