pkgsrc/graphics/freeimage/Makefile
nia 996d36c2ad freeimage: Update to 3.18.0
Release 3.18.0 is a maintenance release that mainly brings updates of its third party libraries.
The library has been updated with the new ZLib (1.2.11), LibJPEG (9c), LibPNG (1.6.35), LibTIFF (4.0.9), LibRaw (0.19.0), LibWebP (1.0.0), OpenEXR (2.2.1).
Other significant improvements concern better support for JPEG saving (when using 32-bit CMYK images) and PSD saving.
Lastly, the library contains many bug fixes provided by our users (will concern especially plugins PCX, TIFF, XPM, GIF, TARGA, PSD, BMP, DDS, PNG, HDR).
As usual, check the changes log for full details (especially for bug fixes) and check also the updated FreeImage documentation.
2020-01-11 14:40:44 +00:00

43 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.9 2020/01/11 14:40:44 nia Exp $
DISTNAME= FreeImage3180
PKGNAME= freeimage-3.18.0
CATEGORIES= devel graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=freeimage/}
EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://freeimage.sf.net/
COMMENT= Library for supporting PNG, BMP, JPEG, and TIFF
LICENSE= gnu-gpl-v2 OR gnu-gpl-v3 OR mpl-1.0
USE_LANGUAGES+= c c++03
USE_TOOLS+= gmake
WRKSRC= ${WRKDIR}/FreeImage
INSTALLATION_DIRS+= include lib share/doc/${PKGBASE}
post-install:
${INSTALL_DATA} ${WRKSRC}/Source/LibJXR/LICENCE \
${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/LICENSE.LibJXR
${INSTALL_DATA} ${WRKSRC}/Source/LibOpenJPEG/LICENSE \
${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/LICENSE.OpenJPEG
${HEAD} -n 31 ${WRKSRC}/Source/LibRawLite/internal/libraw_x3f.cpp \
> ${WRKDIR}/LICENSE.x3f
${HEAD} -n 33 ${WRKSRC}/Source/LibRawLite/internal/dcb_demosaicing.c \
> ${WRKDIR}/LICENSE.dcb
${HEAD} -n 25 ${WRKSRC}/Source/LibTIFF4/tif_open.c \
> ${WRKDIR}/LICENSE.LibTIFF4
${INSTALL_DATA} ${WRKDIR}/LICENSE.* \
${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
${INSTALL_DATA} ${WRKSRC}/Source/LibWebP/COPYING \
${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/LICENSE.LibWebP
${INSTALL_DATA} ${WRKSRC}/Source/OpenEXR/Copyrights/openexr/LICENSE \
${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/LICENSE.OpenEXR
PLIST_SUBST+= PKGVERSION_NOREV=${PKGVERSION_NOREV}
NOT_FOR_PLATFORM= Darwin-*-*
.include "../../mk/bsd.pkg.mk"