mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
5d42951f94
- Remove article from COMMENT line
37 lines
730 B
Makefile
37 lines
730 B
Makefile
# Created by: gahr
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= igal2
|
|
PORTVERSION= 2.1
|
|
CATEGORIES= www graphics
|
|
MASTER_SITES= http://igal.trexler.at/
|
|
|
|
MAINTAINER= gahr@FreeBSD.org
|
|
COMMENT= Simple CLI image gallery generator
|
|
|
|
LICENSE= GPLv2
|
|
|
|
RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick
|
|
|
|
OPTIONS_DEFINE= EXIF
|
|
EXIF_DESC= Support EXIF data (-e option)
|
|
|
|
CONFLICTS= igal-1.*
|
|
USES= perl5
|
|
NO_BUILD= yes
|
|
MAKE_ENV+= DESTDIR=${STAGEDIR}
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MEXIF}
|
|
RUN_DEPENDS+= p5-Image-ExifTool>=7.0:${PORTSDIR}/graphics/p5-Image-ExifTool
|
|
.endif
|
|
|
|
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>
|