freebsd-ports/graphics/freeimage/Makefile
Pietro Cerutti b6c8e4e88d - Update to 3.15.0
Release 3.15.0 mainly add support for thumbnail loading / saving, as well as
  better support for JPEG, Exif, TIFF, TARGA, ICO, PSD, BMP formats.
  The library has been updated with the new libjpeg (8c), libtiff (3.9.4),
  libpng (1.4.5), OpenJPEG (1.4.0) and libraw (0.13-Beta3) libraries.

PR:		156303
Submitted by:	Pedro Giffuni <giffunip@tutopia.com>
2011-04-11 07:23:44 +00:00

39 lines
857 B
Makefile

# New ports collection makefile for: FreeImage
# Date created: 2005-09-01
# Whom: Choe, Cheng-Dae <whitekid@gmail.com>
#
# $FreeBSD$
#
PORTNAME= freeimage
PORTVERSION= 3.15.0
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/Source%20Distribution/${PORTVERSION}
DISTNAME= FreeImage${PORTVERSION:S/.//g}
MAINTAINER= gahr@FreeBSD.org
COMMENT= An open source graphics library
USE_ZIP= yes
USE_DOS2UNIX= Source/LibOpenJPEG/opj_malloc.h
USE_GMAKE= yes
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/FreeImage
PLIST_FILES= include/FreeImage.h \
lib/libfreeimage.a \
lib/libfreeimage-${PORTVERSION}.so \
lib/libfreeimage.so.3 \
lib/libfreeimage.so
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64"
CFLAGS+= -fPIC
.endif
post-patch:
@${REINPLACE_CMD} -e 's|/usr|${PREFIX}| ; s|-g root|-g wheel|' \
${WRKSRC}/Makefile.gnu
.include <bsd.port.post.mk>