Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Dec 2012 10:38:59 +0800
From:      "Edward" <edward@rdtan.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        edward@rdtan.net, nikola.lecic@anthesphoria.net
Subject:   ports/174313: [PATCH] devel/m17n-docs: OPTIONSNG & trim Makefile header
Message-ID:  <50c54b47.444b420a.2927.49b5@mx.google.com>
Resent-Message-ID: <201212100240.qBA2e0hw029428@freefall.freebsd.org>

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

>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@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@hadaly.org>
-#
-# $FreeBSD: ports/devel/m17n-docs/Makefile,v 1.10 2010/02/04 04:02:35 pgollucci Exp $
-#
+# Created By: Kimura Fuyuki <fuyuki@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50c54b47.444b420a.2927.49b5>