aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/p5-Image-IPTCInfo/Makefile
blob: ac71dbfe90764430edc64ab4b84a34e0b547aea8 (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
# 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.94
CATEGORIES= graphics perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Image
PKGNAMEPREFIX=  p5-

MAINTAINER= gslin@gslin.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>