Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jan 2013 19:31:41 +0900 (JST)
From:      Yasuhiro KIMURA <yasu@utahime.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/175286: [PATCH] editors/tamago: Add license information and etc.
Message-ID:  <20130114103141.A52B34E62E@eastasia.home.utahime.org>
Resent-Message-ID: <201301141040.r0EAe2qg080479@freefall.freebsd.org>

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

>Number:         175286
>Category:       ports
>Synopsis:       [PATCH] editors/tamago: Add license information and etc.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 14 10:40: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:

	- Add license information.
	- Adopt OptionsNG.
	- Trim makefile header.

	
>How-To-Repeat:
	
>Fix:

	

--- patch-tamago begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 310361)
+++ Makefile	(working copy)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	tamago
-# Date created:		6 March 2000
-# Whom:			tetsushi NAKAI <nakai@tsl.pe.u-tokyo.ac.jp>
-#
+# Created by: tetsushi NAKAI <nakai@tsl.pe.u-tokyo.ac.jp>
 # $FreeBSD$
-#
 
 PORTNAME=	tamago
 PORTVERSION=	4.0.6.0.20041122.19
@@ -22,6 +18,9 @@
 MAINTAINER=	hrs@FreeBSD.org
 COMMENT=	The Multilingual Input Method - Egg V4
 
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 USE_EMACS=	yes
@@ -34,7 +33,11 @@
 
 POSTPATCHES=	${FILESDIR}/post-patch-*
 
+OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFAULT=	DOCS
+
 .include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
 .if ${EMACS_PORT_NAME} == emacs21 || ${EMACS_PORT_NAME} == emacs22 || ${EMACS_PORT_NAME} == emacs23 || ${EMACS_PORT_NAME} == emacs24
 PLIST_SUB+=	HAS_JISX0213=""
@@ -56,7 +59,7 @@
 
 post-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/helper/egg-helper ${PREFIX}/bin/egg-helper
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
 	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
 .endif
--- patch-tamago ends here ---


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



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