ports/174313: [PATCH] devel/m17n-docs: OPTIONSNG & trim Makefile header

Edward edward at rdtan.net
Mon Dec 10 02:40:00 UTC 2012


>Number:         174313
>Category:       ports
>Synopsis:       [PATCH] devel/m17n-docs: OPTIONSNG & trim Makefile header
>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:   Mon Dec 10 02:40:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Edward
>Release:        FreeBSD 8.3-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD optionsng 8.3-RELEASE FreeBSD 8.3-RELEASE #0: Mon Apr  9 21:23:18 UTC
>Description:
- Update to use OPTIONSNG
- Trim Makefile header

Port maintainer (nikola.lecic at anthesphoria.net) is cc'd.

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

begin 644 m17n-docs-1.5.5.patch
--- Makefile.original   2012-11-23 18:08:19.000000000 +0800
+++ Makefile    2012-12-10 10:17:04.000000000 +0800
@@ -1,9 +1,5 @@
-# New ports collection makefile for:   m17n-docs
-# Date created:                29 May 2004
-# Whom:                        Kimura Fuyuki <fuyuki at hadaly.org>
-#
-# $FreeBSD: ports/devel/m17n-docs/Makefile,v 1.10 2010/02/04 04:02:35 pgollucci Exp $
-#
+# Created By: Kimura Fuyuki <fuyuki at hadaly.org>
+# $FreeBSD$
 
 PORTNAME=      m17n-docs
 PORTVERSION=   1.5.5
@@ -16,11 +12,13 @@
 
 NO_BUILD=      yes
 
-OPTIONS=       JAPANESE "Install Japanese documentation (HTML and PDF)" off
+OPTIONS_DEFINE=        JAPANESE
+
+JAPANESE_DESC= Install Japanese documentation (HTML and PDF)
 
 .include <bsd.port.options.mk>
 
-.if defined(WITH_JAPANESE)
+.if ${PORT_OPTIONS:MJAPANESE}
 PLIST_SUB+=    JAPANESE=""
 .else
 PLIST_SUB+=    JAPANESE="@comment "
@@ -287,7 +285,7 @@
        @${INSTALL_MAN} ${MAN5:S|^|${WRKSRC}/man/man5/|} ${MANPREFIX}/man/man5
        ${INSTALL_MAN} ${WRKSRC}/usr/latex/m17n-lib.pdf ${DOCSDIR}/en
        (cd ${WRKSRC}/usr/ && ${COPYTREE_SHARE} html ${DOCSDIR}/en/)
-.if defined(WITH_JAPANESE)
+.if ${PORT_OPTIONS:MJAPANESE}
        ${MKDIR} ${DOCSDIR}/ja
        ${INSTALL_MAN} ${WRKSRC}/ja/latex/m17n-lib.pdf ${DOCSDIR}/ja
        (cd ${WRKSRC}/ja/ && ${COPYTREE_SHARE} html ${DOCSDIR}/ja/)
end

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


More information about the freebsd-ports-bugs mailing list