# Created by: gahr PORTNAME= igal2 PORTVERSION= 2.2 PORTREVISION= 3 CATEGORIES= www graphics MASTER_SITES= http://igal.trexler.at/ MAINTAINER= ports@bsdserwis.com COMMENT= Simple CLI image gallery generator LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING CONFLICTS= igal-1.* USES= perl5 NO_BUILD= yes NO_ARCH= yes MAKE_ENV+= DESTDIR=${STAGEDIR} OPTIONS_DEFINE= EXIF EXIF_DESC= Support EXIF data (-e option) OPTIONS_RADIO= IMAGICK OPTIONS_RADIO_IMAGICK=IMAGICK_NOX11 IMAGICK_X11 OPTIONS_DEFAULT=IMAGICK_NOX11 IMAGICK_DESC= ${IMAGEMAGICK_DESC} IMAGICK_NOX11_DESC=Without X11 support IMAGICK_X11_DESC=With X11 support EXIF_RUN_DEPENDS= p5-Image-ExifTool>=7.0:graphics/p5-Image-ExifTool IMAGICK_X11_RUN_DEPENDS= ${LOCALBASE}/bin/convert:graphics/ImageMagick6 IMAGICK_NOX11_RUN_DEPENDS= ${LOCALBASE}/bin/convert:graphics/ImageMagick6-nox11 post-patch: ${REINPLACE_CMD} -e 's|%%LIBDIR%%|${PREFIX}/lib/igal2|' ${WRKSRC}/igal2 post-install: ${LN} -sf igal2 ${STAGEDIR}${PREFIX}/bin/igal .include