aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/p5-Image-ExifTool/Makefile
blob: 27028412563372f270dea0f4644880488e401e34 (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
37
38
39
40
41
42
43
44
45
# Created by: Tod McQuillin <devin@spamcop.net>
# $FreeBSD$

PORTNAME=   Image-ExifTool
PORTVERSION=    10.55
CATEGORIES= graphics perl5
MASTER_SITES=   http://www.sno.phy.queensu.ca/~phil/exiftool/ \
        CPAN
MASTER_SITE_SUBDIR= CPAN:EXIFTOOL
PKGNAMEPREFIX=  p5-

MAINTAINER= devin@spamcop.net
COMMENT=    Perl module for getting EXIF data from image files

LICENSE=    ART10 GPLv1
LICENSE_COMB=   dual

CONFLICTS=  p5-Image-ExifTool-devel-[0-9]*

USES=       perl5
USE_PERL5=  configure
NO_ARCH=    yes

PORTDOCS=   *

DOCSRCDIR1= ${WRKSRC}
DOC_FILES1= Changes README

DOCSRCDIR2= ${DOCSRCDIR1}/html
DOCSDIR2=   ${DOCSDIR}/html
DOC_FILES2= *.css *.html *.pdf

DOCSRCDIR3= ${DOCSRCDIR2}/TagNames
DOCSDIR3=   ${DOCSDIR2}/TagNames
DOC_FILES3= *.css *.html

OPTIONS_DEFINE= DOCS

post-install:
    @${MKDIR} ${STAGEDIR}${DOCSDIR3}
    ${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2}
    ${INSTALL_DATA} ${DOC_FILES3:S|^|${DOCSRCDIR3}/|} ${STAGEDIR}${DOCSDIR3}

.include <bsd.port.mk>