aboutsummaryrefslogtreecommitdiffstats
path: root/www/igal2/Makefile
blob: c5a4ebfa86d62ca153f994ff3353b8d1a8875c70 (plain) (blame)
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
34
35
36
# New ports collection Makefile for:    igal2
# Date created:             24 May 2009
# Whom:                 gahr
#
# $FreeBSD$
#

PORTNAME=   igal2
PORTVERSION=    2.1
CATEGORIES= www graphics
MASTER_SITES=   http://igal.trexler.at/

MAINTAINER= gahr@FreeBSD.org
COMMENT=    A simple CLI image gallery generator

RUN_DEPENDS=    convert:${PORTSDIR}/graphics/ImageMagick

OPTIONS=    EXIF "Support EXIF data (-e option)" OFF

CONFLICTS=  igal-1.*
USE_PERL5=  yes
NO_BUILD=   yes

MAN1=       igal2.1
MANCOMPRESSED=  no

.include <bsd.port.options.mk>

.if defined(WITH_EXIF)
RUN_DEPENDS+=    p5-Image-ExifTool>=7.0:${PORTSDIR}/graphics/p5-Image-ExifTool
.endif

post-patch:
    ${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/Makefile ${WRKSRC}/igal2

.include <bsd.port.mk>