From 1cba93eabdb8c29d542867a0231cb8f23b761f01 Mon Sep 17 00:00:00 2001 From: skv Date: Mon, 27 May 2002 14:43:15 +0000 Subject: Updated to 2.2, added examples. --- irc/p5-POE-Component-IRC/Makefile | 10 +++++++++- irc/p5-POE-Component-IRC/distinfo | 2 +- irc/p5-POE-Component-IRC/pkg-plist | 9 +++++++-- 3 files changed, 17 insertions(+), 4 deletions(-) (limited to 'irc/p5-POE-Component-IRC') diff --git a/irc/p5-POE-Component-IRC/Makefile b/irc/p5-POE-Component-IRC/Makefile index ae7fdca3e448..8c33669d7d21 100644 --- a/irc/p5-POE-Component-IRC/Makefile +++ b/irc/p5-POE-Component-IRC/Makefile @@ -7,7 +7,7 @@ # PORTNAME= POE-Component-IRC -PORTVERSION= 2.1 +PORTVERSION= 2.2 CATEGORIES= irc devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= POE @@ -18,6 +18,7 @@ MAINTAINER= ports@FreeBSD.org BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/POE.pm:${PORTSDIR}/devel/p5-POE RUN_DEPENDS= ${BUILD_DEPENDS} +PLIST_SUB= EXAMPLESDIR="share/examples/${PORTNAME}" PERL_CONFIGURE= yes MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} @@ -25,4 +26,11 @@ MAN3= POE::Component::Filter-CTCP.3 \ POE::Component::IRC.3 \ POE::Component::Filter-IRC.3 +post-install: +.ifndef(NOPORTDOCS) + @${ECHO_MSG} "===> Installing examples for ${PKGNAME}" + @${MKDIR} ${EXAMPLESDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${EXAMPLESDIR} +.endif + .include diff --git a/irc/p5-POE-Component-IRC/distinfo b/irc/p5-POE-Component-IRC/distinfo index eba5624e456b..551c65df83e4 100644 --- a/irc/p5-POE-Component-IRC/distinfo +++ b/irc/p5-POE-Component-IRC/distinfo @@ -1 +1 @@ -MD5 (POE-Component-IRC-2.1.tar.gz) = 00523ae5048742505fd633e9b1a4a694 +MD5 (POE-Component-IRC-2.2.tar.gz) = 4b28465484e0f0801feb9612a640667c diff --git a/irc/p5-POE-Component-IRC/pkg-plist b/irc/p5-POE-Component-IRC/pkg-plist index 9f1eea450382..936835a90fc5 100644 --- a/irc/p5-POE-Component-IRC/pkg-plist +++ b/irc/p5-POE-Component-IRC/pkg-plist @@ -1,9 +1,14 @@ +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/POE/Component/IRC/.packlist lib/perl5/site_perl/%%PERL_VER%%/POE/Component/IRC.pm lib/perl5/site_perl/%%PERL_VER%%/POE/Filter/CTCP.pm lib/perl5/site_perl/%%PERL_VER%%/POE/Filter/IRC.pm -lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/POE/Component/IRC/.packlist +%%PORTDOCS%%%%EXAMPLESDIR%%/dcctest.pl +%%PORTDOCS%%%%EXAMPLESDIR%%/dicebot.pl +%%PORTDOCS%%%%EXAMPLESDIR%%/eliza.pl +%%PORTDOCS%%%%EXAMPLESDIR%%/moo.pl +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% @dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/POE/Component/IRC -@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/POE/Component +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/POE/Component 2>/dev/null || true @unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/POE/Component 2>/dev/null || true @unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/POE/Filter 2>/dev/null || true @unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/POE 2>/dev/null || true -- cgit