ports/175695: [PATCH] japanese/p5-MeCab: update to 0.995 and etc

Yasuhiro KIMURA yasu at utahime.org
Sun Feb 17 05:55:16 UTC 2013


Unnecessary lines are removed and some cosmetic changes are made at
suggestion of TAKATSU Tomonari <tota at FreeBSD.org>. So please commit
attached patch instead of original one. Also please keep in mind this
patch should be commited after ports/175258 is commited.

Regards.

-------------- next part --------------
Index: Makefile
===================================================================
--- Makefile	(revision 312338)
+++ Makefile	(working copy)
@@ -1,29 +1,34 @@
-# New ports collection makefile for:	p5-MeCab
-# Date created:		23 April 2003
-# Whom:			Akinori MUSHA aka knu <knu at idaemons.org>
-#
+# Created by: Akinori MUSHA aka knu <knu at idaemons.org>
 # $FreeBSD$
-#
 
 PORTNAME=	MeCab
-PORTVERSION=	0.994
+PORTVERSION=	0.995
 CATEGORIES=	japanese textproc perl5
-MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES=	GOOGLE_CODE
 PROJECTHOST=	${PORTNAME:L}
 DISTNAME=	${PORTNAME:L}-perl-${PORTVERSION}
 
 MAINTAINER=	perl at FreeBSD.org
 COMMENT=	MeCab library module for Perl5
 
+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
 
 PERL_CONFIGURE=	yes
 
+OPTIONS_DEFINE=	EXAMPLES
+OPTIONSFILE=	${PORT_DBDIR}/ja-p5-${PORTNAME}/options
+
 .include <bsd.port.pre.mk>
 
 PKGNAMEPREFIX:=	${PKGNAMEPREFIX}p5-
 
-.if !defined(NOPORTEXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
 post-install:
 	@${MKDIR} ${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/test.pl ${EXAMPLESDIR}
Index: distinfo
===================================================================
--- distinfo	(revision 312338)
+++ distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (mecab-perl-0.994.tar.gz) = 244c479a4603f779ce499592938e76618899fe0f2741ad9ab58f55a63b8ce319
-SIZE (mecab-perl-0.994.tar.gz) = 44660
+SHA256 (mecab-perl-0.995.tar.gz) = 130e3492005b424a9a0a166925d34ddb4f01926ef261089fc1fc6c3496e51f6f
+SIZE (mecab-perl-0.995.tar.gz) = 49839
Index: pkg-descr
===================================================================
--- pkg-descr	(revision 312338)
+++ pkg-descr	(working copy)
@@ -1,4 +1,4 @@
 This is the MeCab library module for Perl5.
 
 Author:	Taku Kudo <taku at chasen.org>
-WWW:	http://mecab.sourceforge.jp/
+WWW:	https://code.google.com/p/mecab/


More information about the freebsd-ports-bugs mailing list