mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
- Support staging
- Fix shebangs - NOPORTDOCS -> DOCS option - Add LICENSE Approved by: portmgr (blanket approval)
This commit is contained in:
parent
e4dd0303f7
commit
a6cd13df09
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359178
@ -11,31 +11,31 @@ MASTER_SITES= http://www.pulia.nu/code/projects/npretty/ \
|
||||
MAINTAINER= peter@pean.org
|
||||
COMMENT= Simple web-gallery generator written in perl
|
||||
|
||||
RUN_DEPENDS= p5-Image-ExifTool>=0:${PORTSDIR}/graphics/p5-Image-ExifTool \
|
||||
convert:${PORTSDIR}/graphics/ImageMagick \
|
||||
p5-forks>=0:${PORTSDIR}/devel/p5-forks
|
||||
LICENSE= GPLv2
|
||||
|
||||
LIB_DEPENDS+= libMagickCore-6.Q*.so:${PORTSDIR}/graphics/ImageMagick
|
||||
RUN_DEPENDS= p5-Image-ExifTool>=0:${PORTSDIR}/graphics/p5-Image-ExifTool \
|
||||
p5-forks>=0:${PORTSDIR}/devel/p5-forks
|
||||
LIB_DEPENDS= libMagickCore-6.Q*.so:${PORTSDIR}/graphics/ImageMagick
|
||||
|
||||
NO_BUILD= yes
|
||||
USES= perl5
|
||||
USES= perl5 shebangfix
|
||||
USE_PERL5= run
|
||||
SHEBANG_FILES= npretty.pl
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
@ ${REINPLACE_CMD} -e "s|/etc/|${PREFIX}/etc/|" ${WRKSRC}/npretty.pl
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/npretty.pl ${PREFIX}/bin
|
||||
${MKDIR} ${PREFIX}/etc/npretty
|
||||
${INSTALL_DATA} ${WRKSRC}/novideo.gif ${PREFIX}/etc/npretty
|
||||
${INSTALL_DATA} ${WRKSRC}/npretty_template.tpl ${PREFIX}/etc/npretty
|
||||
${INSTALL_DATA} ${WRKSRC}/npretty.conf ${PREFIX}/etc/npretty
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
.for f in BUGS COPYING README
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/npretty.pl ${STAGEDIR}${PREFIX}/bin
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/npretty
|
||||
${INSTALL_DATA} ${WRKSRC}/novideo.gif ${STAGEDIR}${PREFIX}/etc/npretty
|
||||
${INSTALL_DATA} ${WRKSRC}/npretty_template.tpl ${STAGEDIR}${PREFIX}/etc/npretty
|
||||
${INSTALL_DATA} ${WRKSRC}/npretty.conf ${STAGEDIR}${PREFIX}/etc/npretty
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for f in BUGS README
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -3,7 +3,6 @@ etc/npretty/npretty.conf
|
||||
etc/npretty/novideo.gif
|
||||
etc/npretty/npretty_template.tpl
|
||||
%%PORTDOCS%%%%DOCSDIR%%/BUGS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/COPYING
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
@dirrm etc/npretty
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user