mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
ab12e2aa5d
PR: 109847 Submitted by: Gea-Suan Lin <gslin@gslin.org>
48 lines
1.3 KiB
Makefile
48 lines
1.3 KiB
Makefile
# New ports collection makefile for: www/p5-WWW-Mechanize
|
|
# Date created: 02 April 2003
|
|
# Whom: Anton Berezin <tobez@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= WWW-Mechanize
|
|
PORTVERSION= 1.22
|
|
CATEGORIES= www perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
MASTER_SITE_SUBDIR= WWW
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= perl@FreeBSD.org
|
|
COMMENT= This module is to help you automate interaction with a website
|
|
|
|
RUN_DEPENDS= ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \
|
|
${SITE_PERL}/IO/Socket/SSL.pm:${PORTSDIR}/security/p5-IO-Socket-SSL
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
|
|
PERL_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --mech-dump --nolive
|
|
|
|
MAN3= WWW::Mechanize.3 WWW::Mechanize::Cookbook.3 \
|
|
WWW::Mechanize::Examples.3 WWW::Mechanize::FAQ.3 \
|
|
WWW::Mechanize::Link.3 WWW::Mechanize::Image.3
|
|
MAN1= mech-dump.1
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
MYPORTDOCS= Changes etc/www-mechanize-logo.png
|
|
PORTDOCS= Changes www-mechanize-logo.png
|
|
|
|
post-install:
|
|
@${MKDIR} ${DOCSDIR}
|
|
@${INSTALL_DATA} ${MYPORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
|
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
|
.endif
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PERL_LEVEL} < 500800
|
|
RUN_DEPENDS+= ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \
|
|
${SITE_PERL}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-Pod-Parser
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|