33 lines
874 B
Makefile
33 lines
874 B
Makefile
# Created by: John Reynolds <johnjen@reynoldsnet.org>
|
|
# $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
|
|
|
|
RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick \
|
|
mplayer:${PORTSDIR}/multimedia/mplayer \
|
|
p5-Image-Info>=0:${PORTSDIR}/graphics/p5-Image-Info
|
|
|
|
USES= jpeg 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>
|