4ea841ffc9
the search engine given the a line from a logfile that contains a referal URL from a Search Engine which GETs its data. Unlike traditional applications for doing this, it does not rely on a preset list of search engines and thus currently works with almost every search engine URL the author could get his hands on. PR: ports/26844
32 lines
776 B
Makefile
32 lines
776 B
Makefile
# New ports collection makefile for: www/p5-URI-Sequin
|
|
# Date created: 25 April 2001
|
|
# Whom: Anton Berezin <tobez@tobez.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Sequin
|
|
PORTVERSION= 1.0
|
|
CATEGORIES= www perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
MASTER_SITE_SUBDIR= URI
|
|
PKGNAMEPREFIX= p5-URI-
|
|
|
|
MAINTAINER= tobez@tobez.org
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= URI::Sequin.3
|
|
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
|
|
|
pre-patch:
|
|
@${PERL} -pi -e \
|
|
's|\);$$|PM=>{q!Sequin.pm!=>q!\$$(INST_LIBDIR)/Sequin.pm!});|' \
|
|
${WRKSRC}/Makefile.PL
|
|
|
|
post-install:
|
|
@${MKDIR} ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/URI/Sequin/examples
|
|
@${INSTALL_DATA} ${WRKSRC}/Example.pl ${WRKSRC}/referer_log?.txt \
|
|
${PREFIX}/lib/perl5/site_perl/${PERL_VER}/URI/Sequin/examples
|
|
|
|
.include <bsd.port.mk>
|