45526ecbee
A new USES has been added to depend on ImageMagick. USES=magick adds a LIB_DEPENDS on graphics/ImageMagick${IMAGEMAGICK_DEFAULT}. If a specific version is required, use for example USES=magick:6 resp. USES=magick:7 If only a build, run or test is required, use for example USES=magick:build resp. USES=magick:6,build,test If a dependency on the nox11 flavor is required, use for example USES=magick:nox11 resp. USES=magick:7,nox11,run,test See magick.mk for more details on the available flags. The tree has been completely converted to make use of this. Approved by: bapt Differential Revision: https://reviews.freebsd.org/D32754
32 lines
822 B
Makefile
32 lines
822 B
Makefile
# Created by: John Reynolds <johnjen@reynoldsnet.org>
|
|
|
|
PORTNAME= imageindex
|
|
PORTVERSION= 2.0
|
|
PORTREVISION= 2
|
|
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= mplayer:multimedia/mplayer \
|
|
p5-Image-Info>=0:graphics/p5-Image-Info
|
|
|
|
USES= jpeg magick:6,run 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>
|