summaryrefslogtreecommitdiffstats
path: root/graphics/zphoto/Makefile
blob: 5cf20c790997ed300cdce04a567d4f09cb6e7ef2 (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
# Created by: UMENO Takashi <umeno@rr.iij4u.or.jp>
# $FreeBSD$

PORTNAME=	zphoto
PORTVERSION=	1.2
PORTREVISION=	14
CATEGORIES=	graphics www
MASTER_SITES=	http://namazu.org/~satoru/zphoto/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Zooming photo album generator

LIB_DEPENDS=	libming.so:graphics/ming \
		libpopt.so:devel/popt \
		libImlib2.so:graphics/imlib2

USES=		alias gmake localbase perl5
USE_PERL5=	build
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--disable-avifile

OPTIONS_DEFINE=		ZIP NLS
OPTIONS_DEFAULT=	ZIP
OPTIONS_SUB=		yes

ZIP_DESC=		Enable zip support
ZIP_RUN_DEPENDS=	zip:archivers/zip
ZIP_CONFIGURE_OFF=	--disable-zip

NLS_USES=		gettext
NLS_CONFIGURE_ENABLE=	nls

post-patch:
	@${REINPLACE_CMD} -e 's|<ming.h>|<ming/ming.h>|g' ${WRKSRC}/*.c ${WRKSRC}/configure

.include <bsd.port.mk>
OpenPOWER on IntegriCloud