diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2006-06-09 09:46:24 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2006-06-09 09:46:24 +0800 |
commit | 9ff569000201580fe4bf2f8a8421f16fafa15ea7 (patch) | |
tree | 21f02f83e036a5efb70f4c93669ebcfa592749fd | |
parent | fdb649b5209325c48efa9065ae1357c325dea1e7 (diff) | |
download | freebsd-ports-gnome-9ff569000201580fe4bf2f8a8421f16fafa15ea7.tar.gz freebsd-ports-gnome-9ff569000201580fe4bf2f8a8421f16fafa15ea7.tar.zst freebsd-ports-gnome-9ff569000201580fe4bf2f8a8421f16fafa15ea7.zip |
- Update to 0.95.
- Switch to CPAN.
- Remove USE_GETTEXT (it's required by libnmz)
- Add patch for perl 5.005_03 (however, it still can't pass "make test")
PR: ports/98382
Submitted by: leeym
-rw-r--r-- | databases/p5-Search-Namazu/Makefile | 17 | ||||
-rw-r--r-- | databases/p5-Search-Namazu/distinfo | 6 | ||||
-rw-r--r-- | databases/p5-Search-Namazu/files/extrapatch-Namazu.xs | 18 | ||||
-rw-r--r-- | databases/p5-Search-Namazu/pkg-descr | 2 |
4 files changed, 34 insertions, 9 deletions
diff --git a/databases/p5-Search-Namazu/Makefile b/databases/p5-Search-Namazu/Makefile index 7073cf8320e0..cabcbf8da57d 100644 --- a/databases/p5-Search-Namazu/Makefile +++ b/databases/p5-Search-Namazu/Makefile @@ -6,10 +6,10 @@ # PORTNAME= Search-Namazu -PORTVERSION= 0.92 -PORTREVISION= 5 +PORTVERSION= 0.95 CATEGORIES= databases perl5 -MASTER_SITES= http://dist.bsdlab.org/ +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Search PKGNAMEPREFIX= p5- MAINTAINER= kuriyama@FreeBSD.org @@ -18,8 +18,13 @@ COMMENT= Namazu library module for perl LIB_DEPENDS= nmz.7:${PORTSDIR}/databases/namazu2 PERL_CONFIGURE= YES -USE_GETTEXT= yes -CONFIGURE_ENV= PREFIX=${PREFIX} + MAN3= Search::Namazu.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +EXTRA_PATCHES+= ${PATCHDIR}/extrapatch-Namazu.xs +.endif + +.include <bsd.port.post.mk> diff --git a/databases/p5-Search-Namazu/distinfo b/databases/p5-Search-Namazu/distinfo index 767a60c683cb..2121e4be554d 100644 --- a/databases/p5-Search-Namazu/distinfo +++ b/databases/p5-Search-Namazu/distinfo @@ -1,3 +1,3 @@ -MD5 (Search-Namazu-0.92.tar.gz) = facae822cc7fd9340831a13d490f7e50 -SHA256 (Search-Namazu-0.92.tar.gz) = d3982bd080e76a37177ef396c8d45bfbab39508bf509da0a19f869e9fb1fb0d9 -SIZE (Search-Namazu-0.92.tar.gz) = 37315 +MD5 (Search-Namazu-0.95.tar.gz) = 295aa823c4a971321c696bc53b31c2e6 +SHA256 (Search-Namazu-0.95.tar.gz) = b54a952141c4d1701433dfced5e3cb92ad0a282a160076ff4966f1731ae233ab +SIZE (Search-Namazu-0.95.tar.gz) = 40347 diff --git a/databases/p5-Search-Namazu/files/extrapatch-Namazu.xs b/databases/p5-Search-Namazu/files/extrapatch-Namazu.xs new file mode 100644 index 000000000000..0675c90f6983 --- /dev/null +++ b/databases/p5-Search-Namazu/files/extrapatch-Namazu.xs @@ -0,0 +1,18 @@ +--- Namazu.xs.orig Fri Jun 2 21:58:37 2006 ++++ Namazu.xs Fri Jun 2 21:59:07 2006 +@@ -46,6 +46,15 @@ + } + #endif + ++/* try to be compatible with older perls */ ++/* SvPV_nolen() macro first defined in 5.005_55 */ ++/* this is slow, not threadsafe, but works */ ++#include "patchlevel.h" ++#if (PATCHLEVEL == 4) || ((PATCHLEVEL == 5) && (SUBVERSION < 55)) ++static STRLEN nolen_na; ++# define SvPV_nolen(sv) SvPV ((sv), nolen_na) ++#endif ++ + /* for old perl (< 5.004_04?) */ + #if !defined(PL_na) && defined(na) + #define PL_na na diff --git a/databases/p5-Search-Namazu/pkg-descr b/databases/p5-Search-Namazu/pkg-descr index 3f629c50e520..9d08e892a2c2 100644 --- a/databases/p5-Search-Namazu/pkg-descr +++ b/databases/p5-Search-Namazu/pkg-descr @@ -1,2 +1,4 @@ This module is an interface for Namazu library. Namazu is an implement of full text retrieval search system. + +WWW: http://www.akaneiro.jp/Search-Namazu/ |