# Created by: John Reynolds # $FreeBSD$ PORTNAME= imageindex PORTVERSION= 2.0 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