- Stage support
This commit is contained in:
parent
a6720a4a32
commit
36b382a2b0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=341805
6 changed files with 25 additions and 24 deletions
|
@ -16,19 +16,11 @@ WRKSRC= ${WRKDIR}/${DISTNAME:C/a$//}
|
|||
USES= perl5
|
||||
USE_PERL5= configure
|
||||
|
||||
MAN3= Text::PDF::Pages.3 Text::PDF::Page.3 Text::PDF::Name.3 \
|
||||
Text::PDF::TTFont0.3 Text::PDF::String.3 Text::PDF::File.3 \
|
||||
Text::PDF::Dict.3 Text::PDF::Array.3 Text::PDF::Bool.3 \
|
||||
Text::PDF::Objind.3 Text::PDF::SFont.3 Text::PDF::Filter.3 \
|
||||
Text::PDF::Utils.3 Text::PDF::TTFont.3 Text::PDF::Number.3 \
|
||||
Text::PDF::Null.3 Text::PDF.3
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
@${RM} -f ${WRKSRC}/pm_to_blib
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${SITE_PERL}/Text/PDF/examples
|
||||
@${INSTALL_DATA} ${WRKSRC}/examples/* ${SITE_PERL}/Text/PDF/examples
|
||||
@${MKDIR} ${STAGEDIR}${SITE_PERL}/Text/PDF/examples
|
||||
@${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${SITE_PERL}/Text/PDF/examples
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -33,6 +33,23 @@ bin/pdfstamp
|
|||
%%SITE_PERL%%/Text/PDF/examples/squ.pdf
|
||||
%%SITE_PERL%%/Text/PDF/examples/squares.pdf
|
||||
%%SITE_PERL%%/Text/PDF/examples/test.pdf
|
||||
%%PERL5_MAN3%%/Text::PDF.3.gz
|
||||
%%PERL5_MAN3%%/Text::PDF::Array.3.gz
|
||||
%%PERL5_MAN3%%/Text::PDF::Bool.3.gz
|
||||
%%PERL5_MAN3%%/Text::PDF::Dict.3.gz
|
||||
%%PERL5_MAN3%%/Text::PDF::File.3.gz
|
||||
%%PERL5_MAN3%%/Text::PDF::Filter.3.gz
|
||||
%%PERL5_MAN3%%/Text::PDF::Name.3.gz
|
||||
%%PERL5_MAN3%%/Text::PDF::Null.3.gz
|
||||
%%PERL5_MAN3%%/Text::PDF::Number.3.gz
|
||||
%%PERL5_MAN3%%/Text::PDF::Objind.3.gz
|
||||
%%PERL5_MAN3%%/Text::PDF::Page.3.gz
|
||||
%%PERL5_MAN3%%/Text::PDF::Pages.3.gz
|
||||
%%PERL5_MAN3%%/Text::PDF::SFont.3.gz
|
||||
%%PERL5_MAN3%%/Text::PDF::String.3.gz
|
||||
%%PERL5_MAN3%%/Text::PDF::TTFont.3.gz
|
||||
%%PERL5_MAN3%%/Text::PDF::TTFont0.3.gz
|
||||
%%PERL5_MAN3%%/Text::PDF::Utils.3.gz
|
||||
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/PDF
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text
|
||||
@dirrm %%SITE_PERL%%/Text/PDF/examples
|
||||
|
|
|
@ -20,7 +20,4 @@ USE_PERL5= modbuild
|
|||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
MAN3= CGI::Application::Plugin::ValidateRM.3
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
%%SITE_PERL%%/CGI/Application/Plugin/ValidateRM.pm
|
||||
%%PERL5_MAN3%%/CGI::Application::Plugin::ValidateRM.3.gz
|
||||
@dirrmtry %%SITE_PERL%%/CGI/Application/Plugin
|
||||
@dirrmtry %%SITE_PERL%%/CGI/Application
|
||||
@dirrmtry %%SITE_PERL%%/CGI
|
||||
|
|
|
@ -13,20 +13,13 @@ COMMENT= Process and decode WWW forms and cookies
|
|||
USES= perl5
|
||||
USE_PERL5= configure
|
||||
|
||||
MAN3= CGI::Lite.3
|
||||
|
||||
DOCS= CHANGES README TODO
|
||||
EXAMPLES= cookies get_post print upload file post reference
|
||||
|
||||
NO_STAGE= yes
|
||||
post-install:
|
||||
.ifndef(NOPORTDOCS)
|
||||
@${ECHO_MSG} "===> Installing docs for ${PKGNAME}"
|
||||
${MKDIR} ${DOCSDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
||||
@${ECHO_MSG} "===> Installing examples for ${PKGNAME}"
|
||||
${MKDIR} ${EXAMPLESDIR}
|
||||
cd ${WRKSRC}/examples && ${INSTALL_SCRIPT} ${EXAMPLES} ${EXAMPLESDIR}
|
||||
.endif
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
|
||||
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
cd ${WRKSRC}/examples && ${INSTALL_SCRIPT} ${EXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
%%PORTDOCS%%%%EXAMPLESDIR%%/upload
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
|
||||
%%PERL5_MAN3%%/CGI::Lite.3.gz
|
||||
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI/Lite
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI
|
||||
@dirrmtry %%SITE_PERL%%/CGI
|
||||
|
|
Loading…
Reference in a new issue