mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Remove leading article from COMMENT
- Use LIB_DEPENDS for graphics/jpeg - Change RUN_DEPENDS for graphics/ImageMagick and multimedia/mplayer - Support STAGEDIR - Add DOCS Option - Change typo | ;' to |' PR: ports/177322 Submitted by: nemysis (self) Approved by: maintainer timeout (11 months)
This commit is contained in:
parent
da20974526
commit
9110d8d5d3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346929
@ -9,31 +9,27 @@ MASTER_SITES= http://www.edwinh.org/imageindex/release/ \
|
||||
http://www.reynoldsnet.org/imageindex/release/
|
||||
|
||||
MAINTAINER= johnjen@reynoldsnet.org
|
||||
COMMENT= A digital photo gallery tool
|
||||
COMMENT= Digital photo gallery tool
|
||||
|
||||
RUN_DEPENDS= \
|
||||
${LOCALBASE}/bin/Magick-config:${PORTSDIR}/graphics/ImageMagick \
|
||||
${LOCALBASE}/bin/wrjpgcom:${PORTSDIR}/graphics/jpeg \
|
||||
${LOCALBASE}/bin/mplayer:${PORTSDIR}/multimedia/mplayer \
|
||||
p5-Image-Info>=0:${PORTSDIR}/graphics/p5-Image-Info
|
||||
LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg
|
||||
RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick \
|
||||
mplayer:${PORTSDIR}/multimedia/mplayer \
|
||||
p5-Image-Info>=0:${PORTSDIR}/graphics/p5-Image-Info
|
||||
|
||||
USES= perl5
|
||||
USE_PERL5= run
|
||||
MAKE_ARGS+= PERLPATH=${PERL}
|
||||
MAKE_ARGS+= PERLPATH=${PERL} PREFIX=${STAGEDIR}${PREFIX}
|
||||
|
||||
PLIST_FILES= bin/imageindex bin/autocaption
|
||||
PLIST_FILES= bin/imageindex bin/autocaption \
|
||||
man/man1/imageindex.1.gz
|
||||
PORTDOCS= README
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
MAN1= imageindex.1
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's|share/man|man| ;' ${WRKSRC}/Makefile
|
||||
${REINPLACE_CMD} -e 's|share/man|man|' ${WRKSRC}/Makefile
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
||||
.endif
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user