Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jan 2013 08:41:47 +0900
From:      KIMURA Yasuhiro <yasu@utahime.org>
To:        Jason Helfman <jgh@FreeBSD.org>, FreeBSD-gnats-submit@FreeBSD.org,  freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/175192: [MAINTAINER] mail/c-sig: OptionsNG-fy and trim makefile header
Message-ID:  <50F0A33B.6090009@utahime.org>
In-Reply-To: <CAMuy=%2Bi3kb_wT3eXaUs8MvOTJZ%2BVSYPQ6AXXbTZfgSZnGRbfYg@mail.gmail.com>
References:  <201301111400.r0BE01JQ095290@freefall.freebsd.org> <CAMuy=%2Bi3kb_wT3eXaUs8MvOTJZ%2BVSYPQ6AXXbTZfgSZnGRbfYg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------070800070105050707060706
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

(2013/01/12 6:45), Jason Helfman wrote:
> where is the license for this stated outside of the port?
> thanks!
> -jgh

It is statete inside source code. Is it OK with attached patch?

Best regards.


--------------070800070105050707060706
Content-Type: text/plain; charset=Shift_JIS;
 name="patch-c-sig"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="patch-c-sig"

Index: Makefile
===================================================================
--- Makefile	(revision 310228)
+++ 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
@@ -17,18 +12,27 @@
 MAINTAINER=	yasu@utahime.org
 COMMENT=	Signature insertion tool for Emacs
 
+LICENSE=	GPLv2
+LICENSE_FILE=   ${WRKSRC}/c-sig.el
+
 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}

--------------070800070105050707060706--



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