diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2006-06-09 01:46:24 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2006-06-09 01:46:24 +0000 |
commit | c60de118ac02783721d048cac6d76af39f98fdaf (patch) | |
tree | 83af3a32b689ac0eeebf639fcfe14c577a10997e /databases/p5-Search-Namazu | |
parent | ab0ca9b20ca66703fcb67eae9eb9dda6d357664a (diff) |
Notes
Diffstat (limited to 'databases/p5-Search-Namazu')
-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/ |