9110d8d5d3
- 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)
35 lines
935 B
Makefile
35 lines
935 B
Makefile
# Created by: John Reynolds <johnjen@reynoldsnet.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= imageindex
|
|
PORTVERSION= 1.1
|
|
PORTREVISION= 5
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://www.edwinh.org/imageindex/release/ \
|
|
http://www.reynoldsnet.org/imageindex/release/
|
|
|
|
MAINTAINER= johnjen@reynoldsnet.org
|
|
COMMENT= Digital photo gallery tool
|
|
|
|
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} PREFIX=${STAGEDIR}${PREFIX}
|
|
|
|
PLIST_FILES= bin/imageindex bin/autocaption \
|
|
man/man1/imageindex.1.gz
|
|
PORTDOCS= README
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|share/man|man|' ${WRKSRC}/Makefile
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|