1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Support STAGEDIR.

This commit is contained in:
Vanilla I. Shu 2013-11-04 14:28:11 +00:00
parent 38ee18d55a
commit 30d3914137
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=332729
6 changed files with 31 additions and 35 deletions

View File

@ -17,10 +17,4 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
USE_PERL5= configure
MAN3= AnyEvent::IRC::Client.3 \
AnyEvent::IRC::Connection.3 \
AnyEvent::IRC.3 \
AnyEvent::IRC::Util.3
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -1,3 +1,7 @@
%%PERL5_MAN3%%/AnyEvent::IRC.3.gz
%%PERL5_MAN3%%/AnyEvent::IRC::Client.3.gz
%%PERL5_MAN3%%/AnyEvent::IRC::Connection.3.gz
%%PERL5_MAN3%%/AnyEvent::IRC::Util.3.gz
%%SITE_PERL%%/AnyEvent/IRC.pm
%%SITE_PERL%%/AnyEvent/IRC/Client.pm
%%SITE_PERL%%/AnyEvent/IRC/Connection.pm
@ -5,5 +9,5 @@
%%SITE_PERL%%/%%PERL_ARCH%%/auto/AnyEvent/IRC/.packlist
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/AnyEvent/IRC
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/AnyEvent
@dirrm %%SITE_PERL%%/AnyEvent/IRC
@dirrmtry %%SITE_PERL%%/AnyEvent/IRC
@dirrmtry %%SITE_PERL%%/AnyEvent

View File

@ -18,20 +18,7 @@ BUILD_DEPENDS= p5-Bot-BasicBot>=0:${PORTSDIR}/irc/p5-Bot-BasicBot \
p5-Regexp-Common>=0:${PORTSDIR}/textproc/p5-Regexp-Common
RUN_DEPENDS:= ${BUILD_DEPENDS}
MAN3= IRC::Bot::Hangman.3 \
IRC::Bot::Hangman::Command.3 \
IRC::Bot::Hangman::Command::Default.3 \
IRC::Bot::Hangman::Command::Eliza.3 \
IRC::Bot::Hangman::Command::Profanity.3 \
IRC::Bot::Hangman::Response.3 \
IRC::Bot::Hangman::Response::Default.3 \
IRC::Bot::Hangman::Response::Profanity.3 \
IRC::Bot::Hangman::WordList.3 \
IRC::Bot::Hangman::WordList::Default.3 \
IRC::Bot::Hangman::WordList::TooEasy.3
USES= perl5
USE_PERL5= modbuild
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -1,4 +1,15 @@
bin/hangman.pl
%%PERL5_MAN3%%/IRC::Bot::Hangman.3.gz
%%PERL5_MAN3%%/IRC::Bot::Hangman::Command.3.gz
%%PERL5_MAN3%%/IRC::Bot::Hangman::Command::Default.3.gz
%%PERL5_MAN3%%/IRC::Bot::Hangman::Command::Eliza.3.gz
%%PERL5_MAN3%%/IRC::Bot::Hangman::Command::Profanity.3.gz
%%PERL5_MAN3%%/IRC::Bot::Hangman::Response.3.gz
%%PERL5_MAN3%%/IRC::Bot::Hangman::Response::Default.3.gz
%%PERL5_MAN3%%/IRC::Bot::Hangman::Response::Profanity.3.gz
%%PERL5_MAN3%%/IRC::Bot::Hangman::WordList.3.gz
%%PERL5_MAN3%%/IRC::Bot::Hangman::WordList::Default.3.gz
%%PERL5_MAN3%%/IRC::Bot::Hangman::WordList::TooEasy.3.gz
%%SITE_PERL%%/IRC/Bot/Hangman.pm
%%SITE_PERL%%/IRC/Bot/Hangman/Command.pm
%%SITE_PERL%%/IRC/Bot/Hangman/Command/Default.pm
@ -10,9 +21,9 @@ bin/hangman.pl
%%SITE_PERL%%/IRC/Bot/Hangman/WordList.pm
%%SITE_PERL%%/IRC/Bot/Hangman/WordList/Default.pm
%%SITE_PERL%%/IRC/Bot/Hangman/WordList/TooEasy.pm
@dirrm %%SITE_PERL%%/IRC/Bot/Hangman/WordList
@dirrm %%SITE_PERL%%/IRC/Bot/Hangman/Response
@dirrm %%SITE_PERL%%/IRC/Bot/Hangman/Command
@dirrm %%SITE_PERL%%/IRC/Bot/Hangman
@dirrmtry %%SITE_PERL%%/IRC/Bot/Hangman/WordList
@dirrmtry %%SITE_PERL%%/IRC/Bot/Hangman/Response
@dirrmtry %%SITE_PERL%%/IRC/Bot/Hangman/Command
@dirrmtry %%SITE_PERL%%/IRC/Bot/Hangman
@dirrmtry %%SITE_PERL%%/IRC/Bot
@dirrmtry %%SITE_PERL%%/IRC

View File

@ -14,18 +14,15 @@ BUILD_DEPENDS= p5-POE>=0:${PORTSDIR}/devel/p5-POE \
p5-POE-Component-IRC>=0:${PORTSDIR}/irc/p5-POE-Component-IRC
RUN_DEPENDS:= ${BUILD_DEPENDS}
PLIST_SUB= EXAMPLESDIR="share/examples/${PORTNAME}"
#PLIST_SUB= EXAMPLESDIR="share/examples/${PORTNAME}"
USES= perl5
USE_PERL5= configure
MAN3= POE::Component::IRC::Object.3
NO_STAGE= yes
post-install:
.ifndef(NOPORTDOCS)
@${ECHO_MSG} "===> Installing examples for ${PKGNAME}"
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/example/* ${EXAMPLESDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/example/* ${STAGEDIR}${EXAMPLESDIR}
.endif
.include <bsd.port.mk>

View File

@ -1,9 +1,12 @@
%%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/IRC/Object/.packlist
%%PERL5_MAN3%%/POE::Component::IRC::Object.3.gz
%%SITE_PERL%%/POE/Component/IRC/Object.pm
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/IRC/Object
%%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/IRC/Object/.packlist
%%PORTDOCS%%%%EXAMPLESDIR%%/elizabot.pl
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/IRC/Object
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/IRC
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE
@dirrmtry %%SITE_PERL%%/POE/Component/IRC
@dirrmtry %%SITE_PERL%%/POE/Component
@dirrmtry %%SITE_PERL%%/POE
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE
%%PORTDOCS%%%%EXAMPLESDIR%%/elizabot.pl
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%