289883b11b
* Add PKGNAMESUFFIX and rename the directory. This was done to show that IM6 is not the "main" version. But still fully supported by upstream. * Convert a number of options to optionhelpers. * Add option for ISO/IEC 23008-12:2017 HEIF suport * Add comment to pkg-descr explaining IM6's "legacy" tag. * Add comment to the patch-config_policy.xml file why it still needed. Please note that IM7 is not a drop in replacement due to library API and command arguments changes. And as a result ports need to decide for themself which version to use. Chase these changes in all the ports that using IM6. PR: 225102 (based on, only the version update) [1] Submitted by: Pascal Christen <pascal.christen@hostpoint.ch>
34 lines
706 B
Makefile
34 lines
706 B
Makefile
# Created by: gahr
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= igal2
|
|
PORTVERSION= 2.2
|
|
PORTREVISION= 1
|
|
CATEGORIES= www graphics
|
|
MASTER_SITES= http://igal.trexler.at/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Simple CLI image gallery generator
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
RUN_DEPENDS= convert:graphics/ImageMagick6
|
|
|
|
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)
|
|
EXIF_RUN_DEPENDS= p5-Image-ExifTool>=7.0:graphics/p5-Image-ExifTool
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|%%LIBDIR%%|${PREFIX}/lib/igal2|' ${WRKSRC}/igal2
|
|
|
|
post-install:
|
|
${LN} -sf igal2 ${STAGEDIR}${PREFIX}/bin/igal
|
|
|
|
.include <bsd.port.mk>
|