freebsd-ports/graphics/imageindex/Makefile

36 lines
935 B
Makefile
Raw Normal View History

# Created by: John Reynolds <johnjen@reynoldsnet.org>
# $FreeBSD$
PORTNAME= imageindex
PORTVERSION= 1.1
2012-06-01 07:26:28 +02:00
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>