mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
Stagify.
This commit is contained in:
parent
b27039ba8b
commit
924c04296f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360340
@ -23,13 +23,12 @@ RUN_DEPENDS= p5-Image-Size>=0:${PORTSDIR}/graphics/p5-Image-Size \
|
||||
p5-Image-ExifTool>=0:${PORTSDIR}/graphics/p5-Image-ExifTool \
|
||||
convert:${PORTSDIR}/graphics/ImageMagick
|
||||
|
||||
USES= gettext perl5 gmake tar:bzip2
|
||||
USES= gettext perl5 gmake tar:bzip2 shebangfix
|
||||
SHEBANG_FILES= llgal.in
|
||||
USE_PERL5= run fixpacklist
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
MAN1= llgal.1
|
||||
MAN5= llgalrc.5
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.pre.mk>
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e "s,^PREFIX,#PREFIX," ${WRKSRC}/Makefile
|
||||
@ -40,13 +39,13 @@ post-configure:
|
||||
${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install//' ${WRKSRC}/lib/Makefile
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/llgal.1 ${MAN1PREFIX}/man/man1
|
||||
${INSTALL_DATA} ${WRKSRC}/llgalrc.5 ${MAN5PREFIX}/man/man5
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/llgalrc ${DOCSDIR}
|
||||
@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} examples ${DOCSDIR})
|
||||
${INSTALL_DATA} ${WRKSRC}/llgal.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
||||
${INSTALL_DATA} ${WRKSRC}/llgalrc.5 ${STAGEDIR}${MAN5PREFIX}/man/man5
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/llgalrc ${STAGEDIR}${DOCSDIR}
|
||||
@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} examples ${STAGEDIR}${DOCSDIR})
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -4,6 +4,8 @@ bin/llgal
|
||||
%%SITE_PERL%%/Llgal/Templates.pm
|
||||
%%SITE_PERL%%/Llgal/Utils.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Llgal/.packlist
|
||||
man/man1/llgal.1.gz
|
||||
man/man5/llgalrc.5.gz
|
||||
%%PORTDOCS%%%%DOCSDIR%%/examples/dynamic_comments_in_slides/README
|
||||
%%PORTDOCS%%%%DOCSDIR%%/examples/dynamic_comments_in_slides/add_comment.php
|
||||
%%PORTDOCS%%%%DOCSDIR%%/examples/dynamic_comments_in_slides/slidetemplate.html
|
||||
|
Loading…
Reference in New Issue
Block a user