freebsd-ports/graphics/p5-Image-ExifTool/Makefile
2012-12-18 14:59:20 +00:00

74 lines
2.5 KiB
Makefile

# Created by: Tod McQuillin <devin@spamcop.net>
# $FreeBSD$
# Note: This port tracks the "production release" of ExifTool as given
# by http://www.sno.phy.queensu.ca/~phil/exiftool/history.html
#
# Please make sure you are updating to the latest production release
# before updating the version of this port.
#
# For development version, please try graphics/p5-Image-ExifTool-devel
PORTNAME= Image-ExifTool
PORTVERSION= 9.04
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]*
PERL_CONFIGURE= yes
MANTAGS= AES AFCP AIFF APE APP12 ASF BMP BigTIFF BuildTagLookup \
BZZ Canon CanonCustom CanonRaw CanonVRD Casio Charset \
CaptureOne DICOM DNG DV DjVu EXE Exif FLAC Fixup Flash \
FlashPix Font FotoStation FujiFilm GE GIF GIMP GPS \
GeoTiff Geotag H264 HP HTML HtmlDump ICC_Profile ID3 \
IPTC ITC Import InDesign JPEG JPEGDigest JVC Jpeg2000 \
Kodak KyoceraRaw LNK Leaf M2TS MIE MIEUnits MIFF MNG \
MPC MPEG MPF MWG MXF MakerNotes Matroska Microsoft \
Minolta MinoltaRaw Nikon NikonCapture NikonCustom OOXML \
Ogg Olympus OpenEXR PDF PGF PICT PNG PPM PSP Panasonic \
PanasonicRaw Pentax PhotoCD PhotoMechanic Photoshop \
PostScript PrintIM Qualcomm QuickTime RIFF RSRC RTF \
Radiance Rawzor Real Reconyx Ricoh Samsung Sanyo Shift \
Shortcuts Sigma SigmaRaw Sony SonyIDC Stim TagInfoXML \
TagLookup TagNames Theora Unknown Vorbis WriteCanonRaw \
WriteExif WriteIPTC WritePDF WritePNG WritePhotoshop \
WritePostScript WriteXMP Writer XMP XMP2 XMPStruct ZIP \
iWork
LANGTAGS= cs de en_ca en_gb es fi fr it ja ko nl pl ru sv tr zh_cn zh_tw
MAN3= File::RandomAccess.3 Image::ExifTool.3 \
${MANTAGS:S/^/Image::ExifTool::/:S/$/.3/} \
${LANGTAGS:S/^/Image::ExifTool::Lang::/:S/$/.3/}
MAN1= exiftool.1
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/html/*.html ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/html/*.pdf ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/html/*.css ${DOCSDIR}
@${MKDIR} ${DOCSDIR}/TagNames
${INSTALL_DATA} ${WRKSRC}/html/TagNames/*.html ${DOCSDIR}/TagNames
.endif
# Maintainer section
mantags: install
@cd ${MAN3PREFIX}/man/man3/ && \
${LS} Image::ExifTool::* | \
${CUT} -f5 -d: | \
${CUT} -f1 -d. | \
${TR} "\n" " "
.include <bsd.port.mk>