1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/graphics/gdk-pixbuf2/Makefile
Koop Mast 4e2eb67ae3 Update gdk-pixbuf2 to 2.36.9.
* Move USES before USE_*, according to porters handbook [1]
* Add depend on shared-mime-info, due to configure checking for it now.
* Work around a bug in configure where tiff support isn't correctly
  enabled, resulting in the tiff loader not being build.
* Regen patch with make makepatch

PR:		221989
Submitted by:	lightside@gmx.com
Reported by:	 Alaksiej Carniajeu <a@carniajeu.com>, portlint [1]
MFH:		2017Q3
Security:	CVE-2017-2870, CVE-2017-2862
2017-09-02 22:15:02 +00:00

56 lines
1.2 KiB
Makefile

# Created by: Ade Lovett <ade@lovett.com>
# $FreeBSD$
PORTNAME= gdk-pixbuf
PORTVERSION= 2.36.9
CATEGORIES= graphics
MASTER_SITES= GNOME
PKGNAMESUFFIX= 2
DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= Graphic library for GTK+
LICENSE= LGPL20+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= cpe gmake gnome libtool localbase pathfix pkgconfig \
shared-mime-info tar:xz
USE_XORG= xt xi x11
CPE_VENDOR= gnome
USE_GNOME+= glib20 introspection:build
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-introspection=yes --with-x11
INSTALL_TARGET= install-strip
OPTIONS_SUB= yes
OPTIONS_DEFINE= JASPER JPEG PNG TIFF NLS
OPTIONS_DEFAULT=JASPER JPEG PNG TIFF
JASPER_CONFIGURE_WITH= libjasper
JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper
JPEG_CONFIGURE_WITH= libjpeg
JPEG_USES= jpeg
PNG_CONFIGURE_WITH= libpng
PNG_LIB_DEPENDS= libpng.so:graphics/png
TIFF_CONFIGURE_WITH= libtiff
TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext
# workaround tiff enable bug in configure
post-patch:
@${REINPLACE_CMD} -e 's|$$LIBTIFF|$$TIFF_LIBS|' \
${WRKSRC}/configure
post-install:
@cd ${WRKSRC}/docs/reference/gdk-pixbuf && \
${SETENV} DESTDIR=${STAGEDIR} ${GMAKE} install-man1
.include <bsd.port.mk>