summaryrefslogtreecommitdiffstats
path: root/www/igal2/Makefile
blob: cf35fc231b5e260211bbe7fd21ca11175e72fae0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Created by: gahr
# $FreeBSD$

PORTNAME=	igal2
PORTVERSION=	2.2
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/ImageMagick

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>
OpenPOWER on IntegriCloud