ports/175257: [PATCH] japanese/ruby-mecab: Add license information etc.
Yasuhiro KIMURA
yasu at utahime.org
Sun Jan 13 12:00:01 UTC 2013
>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 at idaemons.org>
-#
# $FreeBSD$
-#
PORTNAME= mecab
PORTVERSION= 0.994
@@ -14,6 +9,12 @@
MAINTAINER= ruby at 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 at 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:
More information about the freebsd-ports-bugs
mailing list