Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jan 2013 15:14:00 +0900 (JST)
From:      Yasuhiro KIMURA <yasu@utahime.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/175192: [MAINTAINER] mail/c-sig: OptionsNG-fy and trim makefile header
Message-ID:  <20130111061400.EEB354E62C@eastasia.home.utahime.org>
Resent-Message-ID: <201301110630.r0B6U29S007360@freefall.freebsd.org>

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

>Number:         175192
>Category:       ports
>Synopsis:       [MAINTAINER] mail/c-sig: OptionsNG-fy and trim makefile header
>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:30:01 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:

	OptionsNG-fy and trim makefile header.

	
>How-To-Repeat:
	
>Fix:

	

--- patch-c-sig begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 310216)
+++ Makefile	(working copy)
@@ -1,9 +1,4 @@
-# New ports collection makefile for:	c-sig
-# Date created:				30 May 2004
-# Whom:					KIMURA Yasuhiro <yasu@utahime.org>
-#
 # $FreeBSD$
-#
 
 PORTNAME=	c-sig
 PORTVERSION=	3.8
@@ -20,15 +15,21 @@
 USE_EMACS=	yes
 
 NO_WRKSUBDIR=	yes
+
+OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFAULT=	DOCS
+
 LISPDIR=	${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
 
+.include <bsd.port.options.mk>
+
 do-build:
 	cd ${WRKSRC}; ${EMACS_CMD} -batch -q -f batch-byte-compile c-sig.el
 
 do-install:
 	${MKDIR} ${LISPDIR}
 	${INSTALL_DATA} ${WRKSRC}/c-sig.el* ${LISPDIR}
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
 .for file in c-sig-eng.faq c-sig-eng.man c-sig-jp.faq c-sig-jp.man
 	${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}
--- patch-c-sig ends here ---


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



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