diff options
author | knu <knu@FreeBSD.org> | 2002-10-08 22:10:21 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2002-10-08 22:10:21 +0800 |
commit | 1238bb64696c744d6b5c457c3ee0cbf42e70f3b7 (patch) | |
tree | 3583d3b585ffa72879de45b3d7937572fd58abe9 /textproc/p5-Search-Saryer | |
parent | d5ee8c22349b1b9b7927fa909d371548d830b317 (diff) | |
download | freebsd-ports-gnome-1238bb64696c744d6b5c457c3ee0cbf42e70f3b7.tar.gz freebsd-ports-gnome-1238bb64696c744d6b5c457c3ee0cbf42e70f3b7.tar.zst freebsd-ports-gnome-1238bb64696c744d6b5c457c3ee0cbf42e70f3b7.zip |
Add p5-Search-Saryer, a Perl interface to the Sary library.
Diffstat (limited to 'textproc/p5-Search-Saryer')
-rw-r--r-- | textproc/p5-Search-Saryer/Makefile | 24 | ||||
-rw-r--r-- | textproc/p5-Search-Saryer/distinfo | 1 | ||||
-rw-r--r-- | textproc/p5-Search-Saryer/files/patch-Saryer.pm | 24 | ||||
-rw-r--r-- | textproc/p5-Search-Saryer/pkg-comment | 1 | ||||
-rw-r--r-- | textproc/p5-Search-Saryer/pkg-descr | 3 | ||||
-rw-r--r-- | textproc/p5-Search-Saryer/pkg-plist | 7 |
6 files changed, 60 insertions, 0 deletions
diff --git a/textproc/p5-Search-Saryer/Makefile b/textproc/p5-Search-Saryer/Makefile new file mode 100644 index 000000000000..ab9153b9220c --- /dev/null +++ b/textproc/p5-Search-Saryer/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: Search::Saryer +# Date created: 8 October 2002 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD$ +# + +PORTNAME= Search-Saryer +PORTVERSION= 0.10 +CATEGORIES= textproc perl5 +MASTER_SITES= ftp://ftp.namazu.org/sary/perl/ +PKGNAMEPREFIX= p5- + +MAINTAINER= knu@FreeBSD.org + +LIB_DEPENDS= sary.8:${PORTSDIR}/textproc/sary + +PERL_CONFIGURE= yes + +MAN3= Search::Saryer.3 + +MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} + +.include <bsd.port.mk> diff --git a/textproc/p5-Search-Saryer/distinfo b/textproc/p5-Search-Saryer/distinfo new file mode 100644 index 000000000000..3c68fe7df808 --- /dev/null +++ b/textproc/p5-Search-Saryer/distinfo @@ -0,0 +1 @@ +MD5 (Search-Saryer-0.10.tar.gz) = 7a075732bdcfe36c72481b9d6b36f03f diff --git a/textproc/p5-Search-Saryer/files/patch-Saryer.pm b/textproc/p5-Search-Saryer/files/patch-Saryer.pm new file mode 100644 index 000000000000..192adc8e51f5 --- /dev/null +++ b/textproc/p5-Search-Saryer/files/patch-Saryer.pm @@ -0,0 +1,24 @@ +--- Saryer.pm.orig Mon Dec 18 14:10:08 2000 ++++ Saryer.pm Tue Oct 8 23:04:36 2002 +@@ -13,10 +13,10 @@ + + =head1 SYNOPSIS + +- my $saryer = Search::Saryer::new(filename->'search.txt'); ++ my $saryer = Search::Saryer::new(filename=>'search.txt'); + + if (defined $saryer->search($pattern)) { +- while (defined ($line = saryer->get_next_line())) { ++ while (defined ($line = $saryer->get_next_line())) { + print $line; + } + } +@@ -27,7 +27,7 @@ + + =head2 new + +- $saryer->new('filename'->'file.txt') ++ $saryer->new('filename'=>'file.txt') + + Create saryer object. + If creation process was failed, it returns undef. diff --git a/textproc/p5-Search-Saryer/pkg-comment b/textproc/p5-Search-Saryer/pkg-comment new file mode 100644 index 000000000000..505ea7d7ffed --- /dev/null +++ b/textproc/p5-Search-Saryer/pkg-comment @@ -0,0 +1 @@ +Perl interface to the Sary library diff --git a/textproc/p5-Search-Saryer/pkg-descr b/textproc/p5-Search-Saryer/pkg-descr new file mode 100644 index 000000000000..d1d621026baa --- /dev/null +++ b/textproc/p5-Search-Saryer/pkg-descr @@ -0,0 +1,3 @@ +This module is a Perl interface to the Sary library. + +WWW: http://sary.namazu.org/index.html.en diff --git a/textproc/p5-Search-Saryer/pkg-plist b/textproc/p5-Search-Saryer/pkg-plist new file mode 100644 index 000000000000..ec769ceb739d --- /dev/null +++ b/textproc/p5-Search-Saryer/pkg-plist @@ -0,0 +1,7 @@ +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Search/Saryer.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Search/Saryer/.packlist +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Search/Saryer/Saryer.bs +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Search/Saryer/Saryer.so +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Search/Saryer +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Search 2>/dev/null || true +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Search 2>/dev/null || true |