aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-Search-Estraier/Makefile
blob: 15ae26fc3f11585cade5381182bd772260184ca6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# New ports collection makefile for:    p5-Search-Estraier
# Date created:     2006-07-11
# Whom:         Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#

PORTNAME=   Search-Estraier
PORTVERSION=    0.08
CATEGORIES= textproc perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Search
PKGNAMEPREFIX=  p5-

MAINTAINER= perl@FreeBSD.org
COMMENT=    Pure perl module to use Hyper Estraier search engine

BUILD_DEPENDS=  ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 \
        ${SITE_PERL}/LWP/UserAgent.pm:${PORTSDIR}/www/p5-libwww \
        ${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI \
        ${SITE_PERL}/URI/Escape.pm:${PORTSDIR}/net/p5-URI
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= yes

MAN3=       Search::Estraier.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500600  # inherited from www/p5-libwww
IGNORE=     requires at least Perl 5.6.  Please install lang/perl5.8 and try again
.endif

post-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/scripts/* ${PREFIX}/bin

.include <bsd.port.post.mk>