Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Feb 2014 17:05:40 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r343366 - head/japanese/kakasi
Message-ID:  <201402081705.s18H5eTq084018@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Sat Feb  8 17:05:40 2014
New Revision: 343366
URL: http://svnweb.freebsd.org/changeset/ports/343366
QAT: https://qat.redports.org/buildarchive/r343366/

Log:
  - Update to version 2.3.5.
  - Add DOCS option, USES=libtool, staging.
  
  PR:		ports/186470
  Submitted by:	Yoshihiro Ota <ota@j.email.ne.jp> (maintainer)

Modified:
  head/japanese/kakasi/Makefile
  head/japanese/kakasi/distinfo
  head/japanese/kakasi/pkg-plist

Modified: head/japanese/kakasi/Makefile
==============================================================================
--- head/japanese/kakasi/Makefile	Sat Feb  8 16:49:48 2014	(r343365)
+++ head/japanese/kakasi/Makefile	Sat Feb  8 17:05:40 2014	(r343366)
@@ -2,31 +2,41 @@
 # $FreeBSD$
 
 PORTNAME=	kakasi
-PORTVERSION=	2.3.4
+PORTVERSION=	2.3.5
 CATEGORIES=	japanese textproc
 MASTER_SITES=	http://kakasi.namazu.org/stable/
 
 MAINTAINER=	ota@j.email.ne.jp
 COMMENT=	Kanji-Kana Simple Inverter, language filter for Japanese
 
-USE_AUTOTOOLS=	libtool
-GNU_CONFIGURE=	yes
+LICENSE=	GPLv2
 
-MANLANG=	ja
-MAN1=		kakasi.1
+GNU_CONFIGURE=	yes
+USES=		iconv libtool:oldver
 USE_LDCONFIG=	yes
 
+OPTIONS_DEFINE=	DOCS
+
+CONFIGURE_ARGS=	${ICONV_CONFIGURE_ARG}
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
+
 DOCS=		NEWS README README-ja TODO \
 		doc/ChangeLog.lib doc/JISYO \
 		doc/README.lib doc/README.wakati
 
-NO_STAGE=	yes
+.include <bsd.port.options.mk>
+
+post-patch:
+	@${REINPLACE_CMD} -e 's/-Wno-unused-result//' ${WRKSRC}/configure
+
 post-install:
-	${INSTALL_MAN} ${WRKSRC}/doc/kakasi.1 ${PREFIX}/man/${MANLANG}/man1
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
+	${INSTALL_MAN} ${WRKSRC}/man/kakasi.1.ja \
+		${STAGEDIR}${MAN1PREFIX}/man/ja/man1/kakasi.1
+.if ${PORT_OPTIONS:MDOCS}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for f in ${DOCS}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
+	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
 .endfor
 .endif
 

Modified: head/japanese/kakasi/distinfo
==============================================================================
--- head/japanese/kakasi/distinfo	Sat Feb  8 16:49:48 2014	(r343365)
+++ head/japanese/kakasi/distinfo	Sat Feb  8 17:05:40 2014	(r343366)
@@ -1,2 +1,2 @@
-SHA256 (kakasi-2.3.4.tar.gz) = c272560f5c11fe45b011c4e26ada66218fb0109d5582c5876aa49c5e24718534
-SIZE (kakasi-2.3.4.tar.gz) = 1099258
+SHA256 (kakasi-2.3.5.tar.gz) = f332c008f03a8d017b09221a1ded9c0c7b61212b49a74d96f6eca3f93ba329eb
+SIZE (kakasi-2.3.5.tar.gz) = 1351215

Modified: head/japanese/kakasi/pkg-plist
==============================================================================
--- head/japanese/kakasi/pkg-plist	Sat Feb  8 16:49:48 2014	(r343365)
+++ head/japanese/kakasi/pkg-plist	Sat Feb  8 17:05:40 2014	(r343366)
@@ -9,15 +9,17 @@ lib/libkakasi.a
 lib/libkakasi.la
 lib/libkakasi.so
 lib/libkakasi.so.3
-%%PORTDOCS%%share/doc/kakasi/ChangeLog.lib
-%%PORTDOCS%%share/doc/kakasi/JISYO
-%%PORTDOCS%%share/doc/kakasi/NEWS
-%%PORTDOCS%%share/doc/kakasi/README
-%%PORTDOCS%%share/doc/kakasi/README-ja
-%%PORTDOCS%%share/doc/kakasi/README.lib
-%%PORTDOCS%%share/doc/kakasi/README.wakati
-%%PORTDOCS%%share/doc/kakasi/TODO
-%%PORTDOCS%%@dirrm share/doc/kakasi
-share/kakasi/itaijidict
-share/kakasi/kanwadict
-@dirrm share/kakasi
+man/ja/man1/kakasi.1.gz
+man/man1/kakasi.1.gz
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.lib
+%%PORTDOCS%%%%DOCSDIR%%/JISYO
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/README-ja
+%%PORTDOCS%%%%DOCSDIR%%/README.lib
+%%PORTDOCS%%%%DOCSDIR%%/README.wakati
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%DATADIR%%/itaijidict
+%%DATADIR%%/kanwadict
+@dirrm %%DATADIR%%



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