ports/102794: [NEW PORT] textproc/p5-Hatena-Keyword: Extract Hatena Keywords in a string

markun at onohara.to markun at onohara.to
Sat Sep 2 17:00:36 UTC 2006


>Number:         102794
>Category:       ports
>Synopsis:       [NEW PORT] textproc/p5-Hatena-Keyword: Extract Hatena Keywords in a string
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 02 17:00:34 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Masahiro Teramoto <markun at onohara.to>
>Release:        FreeBSD 4.11-RELEASE-p19 i386
>Organization:
>Environment:
System: FreeBSD gate.onohara.to 4.11-RELEASE-p19 FreeBSD 4.11-RELEASE-p19 #0: Sat Jun 17 22:28:27 JST 2006 root at gate.onohara.to:/usr/obj/usr/src/sys/RENTALv6 i386


	
>Description:

This module allows you to extract Hatena keywords used in an
arbitrary text and also allows you to mark up a text as HTML
with the keywords.

A Hatena keyword is an element in a suite of web sites
*.hatena.ne.jp having blogs and social bookmarks among others.
Please refer to http://d.hatena.ne.jp/keyword/ (in Japanese) for details.

In Hatena Diary, a blog hosting service, a Hatena keyword found in
a posting is linked to the keywords page automatically.
You can implement the same kind of feature outside Hatena using this module.

It queries Hatena Keyword Link API internally for retrieving terms

Author: Naoya Ito <naoya at bloghackers.net>
WWW:    http://search.cpan.org/~naoya/Hatena-Keyword-0.04/

>How-To-Repeat:
	
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-Hatena-Keyword
#	p5-Hatena-Keyword/Makefile
#	p5-Hatena-Keyword/distinfo
#	p5-Hatena-Keyword/pkg-descr
#	p5-Hatena-Keyword/pkg-plist
#
echo c - p5-Hatena-Keyword
mkdir -p p5-Hatena-Keyword > /dev/null 2>&1
echo x - p5-Hatena-Keyword/Makefile
sed 's/^X//' >p5-Hatena-Keyword/Makefile << 'END-of-p5-Hatena-Keyword/Makefile'
X# New ports collection makefile for:	p5-Hatena-Keyword
X# Date created:		2006-09-02
X# Whom:			Masahiro Teramoto <markun at onohara.to>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Hatena-Keyword
XPORTVERSION=	0.04
XCATEGORIES=	textproc perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	../../authors/id/N/NA/NAOYA
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	markun at onohara.to
XCOMMENT=	Extract Hatena Keywords in a string
X
XBUILD_DEPENDS=	${SITE_PERL}/RPC/XML.pm:${PORTSDIR}/net/p5-RPC-XML \
X		${SITE_PERL}/Class/Accessor.pm:${PORTSDIR}/devel/p5-Class-Accessor \
X		${SITE_PERL}/Class/Data/Inheritable.pm:${PORTSDIR}/devel/p5-Class-Data-Inheritable \
X		${SITE_PERL}/Class/ErrorHandler.pm:${PORTSDIR}/devel/p5-Class-ErrorHandler \
X		${SITE_PERL}/Jcode.pm:${PORTSDIR}/japanese/p5-Jcode
XRUN_DEPENDS=	${BUILD_DEPENDS}
X
XPERL_CONFIGURE=	yes
X
XMAN3=		Hatena::Keyword.3
X
X.include <bsd.port.pre.mk>
X.include <bsd.port.post.mk>
END-of-p5-Hatena-Keyword/Makefile
echo x - p5-Hatena-Keyword/distinfo
sed 's/^X//' >p5-Hatena-Keyword/distinfo << 'END-of-p5-Hatena-Keyword/distinfo'
XMD5 (Hatena-Keyword-0.04.tar.gz) = a0bc79dd29f98b2b644d8d47e19ce88b
XSHA256 (Hatena-Keyword-0.04.tar.gz) = 3c315a32bc5dfd5db016d1b62f2ced75e7673f3ea3673dfca10564c6b55f72bd
XSIZE (Hatena-Keyword-0.04.tar.gz) = 6138
END-of-p5-Hatena-Keyword/distinfo
echo x - p5-Hatena-Keyword/pkg-descr
sed 's/^X//' >p5-Hatena-Keyword/pkg-descr << 'END-of-p5-Hatena-Keyword/pkg-descr'
XThis module allows you to extract Hatena keywords used in an
Xarbitrary text and also allows you to mark up a text as HTML
Xwith the keywords.
X
XA Hatena keyword is an element in a suite of web sites
X*.hatena.ne.jp having blogs and social bookmarks among others.
XPlease refer to http://d.hatena.ne.jp/keyword/ (in Japanese) for details.
X
XIn Hatena Diary, a blog hosting service, a Hatena keyword found in
Xa posting is linked to the keywords page automatically.
XYou can implement the same kind of feature outside Hatena using this module.
X
XIt queries Hatena Keyword Link API internally for retrieving terms
X
XAuthor:	Naoya Ito <naoya at bloghackers.net>
XWWW:	http://search.cpan.org/~naoya/Hatena-Keyword-0.04/
END-of-p5-Hatena-Keyword/pkg-descr
echo x - p5-Hatena-Keyword/pkg-plist
sed 's/^X//' >p5-Hatena-Keyword/pkg-plist << 'END-of-p5-Hatena-Keyword/pkg-plist'
X at comment $FreeBSD$
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Hatena/Keyword/.packlist
X%%SITE_PERL%%/Hatena/Keyword.pm
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Hatena/Keyword
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Hatena
X at dirrmtry %%SITE_PERL%%/Hatena/Keyword
X at dirrmtry %%SITE_PERL%%/Hatena
END-of-p5-Hatena-Keyword/pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list