Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Nov 2014 09:13:00 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r372308 - head/japanese/p5-MeCab
Message-ID:  <201411080913.sA89D0Ve098298@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Sat Nov  8 09:12:59 2014
New Revision: 372308
URL: https://svnweb.freebsd.org/changeset/ports/372308
QAT: https://qat.redports.org/buildarchive/r372308/

Log:
  japanese/p5-MeCab: some fixes
  
  - Fix LICENSE(BSD -> BSD3CLAUSE)
  - Strip shared library
  - Remove unnecessary .if ${PORT_OPTIONS:MEXAMPLES} ... .endif
  - remove @dir* from pkg-plist
  
  PR:		191308
  Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>

Modified:
  head/japanese/p5-MeCab/Makefile
  head/japanese/p5-MeCab/pkg-plist

Modified: head/japanese/p5-MeCab/Makefile
==============================================================================
--- head/japanese/p5-MeCab/Makefile	Sat Nov  8 08:59:34 2014	(r372307)
+++ head/japanese/p5-MeCab/Makefile	Sat Nov  8 09:12:59 2014	(r372308)
@@ -3,6 +3,7 @@
 
 PORTNAME=	MeCab
 PORTVERSION=	0.996
+PORTREVISION=	1
 CATEGORIES=	japanese textproc perl5
 MASTER_SITES=	GOOGLE_CODE
 PROJECTHOST=	${PORTNAME:tl}
@@ -11,7 +12,7 @@ DISTNAME=	${PORTNAME:tl}-perl-${PORTVERS
 MAINTAINER=	perl@FreeBSD.org
 COMMENT=	MeCab library module for Perl5
 
-LICENSE=	BSD GPLv2 LGPL21
+LICENSE=	BSD3CLAUSE GPLv2 LGPL21
 LICENSE_COMB=	dual
 
 LIB_DEPENDS=	libmecab.so:${PORTSDIR}/japanese/mecab
@@ -26,10 +27,11 @@ OPTIONSFILE=	${PORT_DBDIR}/ja-p5-${PORTN
 
 PKGNAMEPREFIX:=	${PKGNAMEPREFIX}p5-
 
-.if ${PORT_OPTIONS:MEXAMPLES}
+pre-install:
+	${STRIP_CMD} ${WRKSRC}/blib/arch/auto/MeCab/MeCab.so
+
 post-install:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/test.pl ${STAGEDIR}${EXAMPLESDIR}
-.endif
 
 .include <bsd.port.post.mk>

Modified: head/japanese/p5-MeCab/pkg-plist
==============================================================================
--- head/japanese/p5-MeCab/pkg-plist	Sat Nov  8 08:59:34 2014	(r372307)
+++ head/japanese/p5-MeCab/pkg-plist	Sat Nov  8 09:12:59 2014	(r372308)
@@ -1,6 +1,4 @@
 %%SITE_PERL%%/%%PERL_ARCH%%/MeCab.pm
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/MeCab/.packlist
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/MeCab/MeCab.so
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/MeCab
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/test.pl
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%



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