summaryrefslogtreecommitdiff
path: root/www/llgal/Makefile
blob: 09e0d8e53936ebe7914379efa30d76c1d44fa753 (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
34
35
36
37
38
39
40
# $NetBSD: Makefile,v 1.8 2014/05/29 23:37:58 wiz Exp $
#

DISTNAME=	llgal-0.13.16
PKGREVISION=	5
CATEGORIES=	www graphics
MASTER_SITES=	http://download.gna.org/llgal/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	ryoon@NetBSD.org
HOMEPAGE=	http://home.gna.org/llgal/
COMMENT=	The llgal is an easy and fast on-line static gallery generator

LICENSE=	gnu-gpl-v2

USE_PKGLOCALEDIR=yes

USE_LANGUAGES=	# none

USE_TOOLS+=	gmake msgfmt perl:run
PERL5_PACKLIST=	auto/Llgal/.packlist
REPLACE_PERL+=	llgal.in

MAKE_FLAGS+=	PERL_INSTALLDIRS=vendor
MAKE_FLAGS+=	LOCALEDIR=${PREFIX}/${PKGLOCALEDIR}/locale
MAKE_FLAGS+=	MANDIR=${PREFIX}/${PKGMANDIR}
MAKE_FLAGS+=	SYSCONFDIR=${PKG_SYSCONFBASE}

INSTALL_TARGET=	install install-man

PKG_SYSCONFSUBDIR=	llgal

DEPENDS+=	p5-Image-ExifTool-[0-9]*:../../graphics/p5-Image-ExifTool
DEPENDS+=	p5-Image-Size-[0-9]*:../../graphics/p5-Image-Size
DEPENDS+=	p5-URI-[0-9]*:../../www/p5-URI
DEPENDS+=	p5-gettext-[0-9]*:../../devel/p5-gettext
DEPENDS+=	ImageMagick-[0-9]*:../../graphics/ImageMagick

.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"