Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jan 2013 20:58:09 +0900 (JST)
From:      Yasuhiro KIMURA <yasu@utahime.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/175257: [PATCH] japanese/ruby-mecab: Add license information etc.
Message-ID:  <20130113115809.7E59D4E62C@eastasia.home.utahime.org>
Resent-Message-ID: <201301131200.r0DC01JL018447@freefall.freebsd.org>

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

>Number:         175257
>Category:       ports
>Synopsis:       [PATCH] japanese/ruby-mecab: Add license information 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:   Sun Jan 13 12:00:00 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.
	- Adpot OptionsNG.
	- Trim makefile header.
	- Update WWW url.

	
>How-To-Repeat:
	
>Fix:

	

--- patch-ja-ruby-mecab begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 310295)
+++ Makefile	(working copy)
@@ -1,9 +1,4 @@
-# New ports collection makefile for:	ruby-mecab
-# Date created:		23 April 2003
-# Whom:			Akinori MUSHA aka knu <knu@idaemons.org>
-#
 # $FreeBSD$
-#
 
 PORTNAME=	mecab
 PORTVERSION=	0.994
@@ -14,6 +9,12 @@
 MAINTAINER=	ruby@FreeBSD.org
 COMMENT=	MeCab library module for Ruby
 
+LICENSE=	BSD GPLv2 LGPL21
+LICENSE_COMB=	dual
+LICENSE_FILE_BSD=	${WRKSRC}/BSD
+LICENSE_FILE_GPLv2=	${WRKSRC}/GPL
+LICENSE_FILE_LGPL21=	${WRKSRC}/LGPL
+
 LIB_DEPENDS=	mecab:${PORTSDIR}/japanese/mecab
 
 USE_RUBY=	yes
@@ -21,18 +22,21 @@
 
 INSTALL_TARGET=	site-install
 
-.include <bsd.port.pre.mk>
+OPTIONS_DEFINE=	DOCS EXAMPLES
+OPTIONS_DEFAULT=	DOCS EXAMPLES
 
+.include <bsd.port.options.mk>
+
 PKGNAMEPREFIX:=	${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX}
 
 post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${RUBY_MODDOCDIR}
 	${INSTALL_DATA} ${WRKSRC}/bindings.html ${RUBY_MODDOCDIR}/
 .endif
-.if !defined(NOPORTEXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
 	@${MKDIR} ${RUBY_MODEXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/test.rb ${RUBY_MODEXAMPLESDIR}/
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: pkg-descr
===================================================================
--- pkg-descr	(revision 310295)
+++ pkg-descr	(working copy)
@@ -1,4 +1,4 @@
 This is the MeCab library module for Ruby.
 
 Author:	Taku Kudo <taku@chasen.org>
-WWW:	http://mecab.sourceforge.net/
+WWW:	https://code.google.com/p/mecab/
--- patch-ja-ruby-mecab ends here ---


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



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