1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

Support staging

This commit is contained in:
Emanuel Haupt 2014-02-09 10:46:23 +00:00
parent 1ebcf0d8eb
commit e971a6b636
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343452
2 changed files with 7 additions and 8 deletions

View File

@ -13,17 +13,15 @@ COMMENT= Perl module to send and receive multicast messages
RUN_DEPENDS= p5-IO-Interface>=0:${PORTSDIR}/net/p5-IO-Interface
BUILD_DEPENDS:= ${RUN_DEPENDS}
MAN3= IO::Socket::Multicast.3
USES= perl5
USE_PERL5= configure
NO_STAGE= yes
OPTIONS_DEFINE= EXAMPLES
.include <bsd.port.options.mk>
post-install:
.ifndef(NOPORTEXAMPLES)
@${ECHO_MSG} "===> Installing examples for ${PKGNAME}"
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${EXAMPLESDIR}
.endif
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>

View File

@ -4,6 +4,7 @@
%%SITE_PERL%%/%%PERL_ARCH%%/auto/IO/Socket/Multicast/Multicast.so
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/client.pl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/server.pl
%%PERL5_MAN3%%/IO::Socket::Multicast.3.gz
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/IO/Socket/Multicast
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/IO/Socket
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/IO