aboutsummaryrefslogtreecommitdiff
path: root/www/p5-WWW-Mechanize-Shell
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2004-12-06 11:14:01 +0000
committerMathieu Arnold <mat@FreeBSD.org>2004-12-06 11:14:01 +0000
commitf320cb9fab9acb1ce757909a945d6b0438a95c11 (patch)
tree7b4285eca0628d90d288d7e5e65ec2ede7531708 /www/p5-WWW-Mechanize-Shell
parentdb018514aab327d591b44fe27756e1cb96c090fe (diff)
downloadports-f320cb9fab9acb1ce757909a945d6b0438a95c11.tar.gz
ports-f320cb9fab9acb1ce757909a945d6b0438a95c11.zip
Notes
Diffstat (limited to 'www/p5-WWW-Mechanize-Shell')
-rw-r--r--www/p5-WWW-Mechanize-Shell/Makefile14
-rw-r--r--www/p5-WWW-Mechanize-Shell/distinfo4
-rw-r--r--www/p5-WWW-Mechanize-Shell/pkg-plist31
3 files changed, 32 insertions, 17 deletions
diff --git a/www/p5-WWW-Mechanize-Shell/Makefile b/www/p5-WWW-Mechanize-Shell/Makefile
index c3a558f5aa34..a2ea763de487 100644
--- a/www/p5-WWW-Mechanize-Shell/Makefile
+++ b/www/p5-WWW-Mechanize-Shell/Makefile
@@ -4,7 +4,7 @@
# $FreeBSD$
PORTNAME= WWW-Mechanize-Shell
-PORTVERSION= 0.34
+PORTVERSION= 0.36
PORTREVISION= 1
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
@@ -43,6 +43,18 @@ MAN3= HTML::Display.3 \
HTML::Display::Win32::OLE.3 \
WWW::Mechanize::Shell.3
+.if !defined(NOPORTDOCS)
+PORTDOCS= Changes README
+EXAMPLES= bin/banking.postbank.de.mech bin/hotmail.signup.mech bin/wwwshell.pl
+
+post-install:
+ @${MKDIR} ${DOCSDIR} ${EXAMPLESDIR}
+ @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+ @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
+ @${INSTALL_DATA} ${EXAMPLES:S|^|${WRKSRC}/|} ${EXAMPLESDIR}
+ @${ECHO_MSG} "===> Documentation installed in ${EXAMPLESDIR}."
+.endif
+
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500601
diff --git a/www/p5-WWW-Mechanize-Shell/distinfo b/www/p5-WWW-Mechanize-Shell/distinfo
index 25431ee06422..5b8f412d0603 100644
--- a/www/p5-WWW-Mechanize-Shell/distinfo
+++ b/www/p5-WWW-Mechanize-Shell/distinfo
@@ -1,2 +1,2 @@
-MD5 (WWW-Mechanize-Shell-0.34.tar.gz) = 7efffb124ab0086f00866fa1a68df38e
-SIZE (WWW-Mechanize-Shell-0.34.tar.gz) = 52688
+MD5 (WWW-Mechanize-Shell-0.36.tar.gz) = 0c3bef8f373a280ee1fb6a840ea4f59a
+SIZE (WWW-Mechanize-Shell-0.36.tar.gz) = 55370
diff --git a/www/p5-WWW-Mechanize-Shell/pkg-plist b/www/p5-WWW-Mechanize-Shell/pkg-plist
index d8abca1e8404..c9600774a880 100644
--- a/www/p5-WWW-Mechanize-Shell/pkg-plist
+++ b/www/p5-WWW-Mechanize-Shell/pkg-plist
@@ -1,27 +1,30 @@
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/Mechanize/Shell/.packlist
%%SITE_PERL%%/HTML/Display.pm
-%%SITE_PERL%%/HTML/Display/Opera.pm
-%%SITE_PERL%%/HTML/Display/Mozilla.pm
-%%SITE_PERL%%/HTML/Display/Dump.pm
-%%SITE_PERL%%/HTML/Display/Phoenix.pm
-%%SITE_PERL%%/HTML/Display/TempFile.pm
+%%SITE_PERL%%/HTML/Display/Common.pm
%%SITE_PERL%%/HTML/Display/Debian.pm
+%%SITE_PERL%%/HTML/Display/Dump.pm
%%SITE_PERL%%/HTML/Display/Galeon.pm
-%%SITE_PERL%%/HTML/Display/Win32.pm
-%%SITE_PERL%%/HTML/Display/Common.pm
+%%SITE_PERL%%/HTML/Display/Mozilla.pm
%%SITE_PERL%%/HTML/Display/OSX.pm
-%%SITE_PERL%%/HTML/Display/OSX/Safari.pm
%%SITE_PERL%%/HTML/Display/OSX/Camino.pm
+%%SITE_PERL%%/HTML/Display/OSX/Safari.pm
+%%SITE_PERL%%/HTML/Display/Opera.pm
+%%SITE_PERL%%/HTML/Display/Phoenix.pm
+%%SITE_PERL%%/HTML/Display/TempFile.pm
+%%SITE_PERL%%/HTML/Display/Win32.pm
%%SITE_PERL%%/HTML/Display/Win32/IE.pm
%%SITE_PERL%%/HTML/Display/Win32/OLE.pm
%%SITE_PERL%%/WWW/Mechanize/Shell.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/Mechanize/Shell/.packlist
+%%PORTDOCS%%%%EXAMPLESDIR%%/banking.postbank.de.mech
+%%PORTDOCS%%%%EXAMPLESDIR%%/hotmail.signup.mech
+%%PORTDOCS%%%%EXAMPLESDIR%%/wwwshell.pl
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/Mechanize/Shell
-@dirrm %%SITE_PERL%%/HTML/Display/OSX
-@dirrm %%SITE_PERL%%/HTML/Display/Win32
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/Mechanize 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW 2>/dev/null || true
-@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto 2>/dev/null || true
-@unexec rmdir %D/%%SITE_PERL%%/HTML/Display 2>/dev/null || true
-@unexec rmdir %D/%%SITE_PERL%%/HTML 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/WWW/Mechanize 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/WWW 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/HTML/Display/Win32 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/HTML/Display/OSX 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/HTML/Display 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/HTML 2>/dev/null || true