Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jan 2013 20:55:04 +0900 (JST)
From:      Yasuhiro KIMURA <yasu@utahime.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/175258: [PATCH] japanese/mecab: add license information etc.
Message-ID:  <20130113115504.075F94E62C@eastasia.home.utahime.org>
Resent-Message-ID: <201301131200.r0DC01Eo018465@freefall.freebsd.org>

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

>Number:         175258
>Category:       ports
>Synopsis:       [PATCH] japanese/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: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.
	- Update WWW url.

	
>How-To-Repeat:
	
>Fix:

	

--- patch-ja-mecab begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 310295)
+++ Makefile	(working copy)
@@ -1,9 +1,4 @@
-# New ports collection makefile for:	mecab
-# Date created:		2 April 2003
-# Whom:			Akinori MUSHA aka knu <knu@idaemons.org>
-#
 # $FreeBSD$
-#
 
 PORTNAME=	mecab
 PORTVERSION=	0.994
@@ -13,6 +8,12 @@
 MAINTAINER=	clsung@FreeBSD.org
 COMMENT=	Yet Another Part-of-Speech and Morphological Analyzer
 
+LICENSE=	BSD GPLv2 LGPL21
+LICENSE_COMB=	dual
+LICENSE_FILE_BSD=	${WRKSRC}/BSD
+LICENSE_FILE_GPLv2=	${WRKSRC}/GPL
+LICENSE_FILE_LGPL21=	${WRKSRC}/LGPL
+
 USE_AUTOTOOLS=	libtool
 USE_ICONV=	yes
 USE_PERL5_BUILD=	yes
@@ -22,6 +23,9 @@
 CPPFLAGS+=	${PTHREAD_CFLAGS} -I ${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
+OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFAULT=	DOCS
+
 # Default charset (euc-jp/shift_jis/utf-8)
 .if defined(WITH_CHARSET)
 CONFIGURE_ARGS+=	--with-charset=${WITH_CHARSET}
@@ -31,7 +35,7 @@
 
 DOCS=		AUTHORS README doc/*.html
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
 post-patch:
 	${REINPLACE_CMD} -e 's/-lpthread/${PTHREAD_LIBS}/g' \
@@ -48,7 +52,7 @@
 	@if [ ! -f ${PREFIX}/etc/mecabrc ]; then \
 		${INSTALL_DATA} ${PREFIX}/etc/mecabrc.dist ${PREFIX}/etc/mecabrc; \
 	fi
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
 .for f in ${DOCS}
 	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
@@ -56,4 +60,4 @@
 .endif
 	@${CAT} ${PKGMESSAGE}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: pkg-descr
===================================================================
--- pkg-descr	(revision 310295)
+++ pkg-descr	(working copy)
@@ -1,4 +1,4 @@
 MeCab: Yet Another Part-of-Speech and Morphological Analyzer
 
 Author:	Taku Kudo <taku@chasen.org>
-WWW:	http://mecab.sourceforge.net/
+WWW:	https://code.google.com/p/mecab/
--- patch-ja-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?20130113115504.075F94E62C>