aboutsummaryrefslogtreecommitdiff
path: root/graphics/p5-Image-IPTCInfo/Makefile
blob: 150c3c96a69a911d4e0ed38b00d50a67ce60ff7b (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
# New ports collection makefile for:	p5-Image-IPTCInfo
# Date created:		2006-08-11
# Whom:			Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#

PORTNAME=	Image-IPTCInfo
PORTVERSION=	1.95
CATEGORIES=	graphics perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	Perl extension for extracting IPTC image meta-data

PERL_CONFIGURE=	yes

MAN3=		Image::IPTCInfo.3

post-patch:
	${RM} -f ${WRKSRC}/._*
	${PERL} -pi -e 's,/usr/bin/perl,${PERL},' ${WRKSRC}/demo.pl

.if !defined(NOPORTDOCS)
post-install:
	${MKDIR} ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/demo_images/* ${EXAMPLESDIR}
.endif

.include <bsd.port.mk>