2013-03-08 11:51:34 +01:00
|
|
|
# Created by: Ade Lovett <ade@lovett.com>
|
2010-11-20 16:37:08 +01:00
|
|
|
# $FreeBSD$
|
2014-11-19 12:49:04 +01:00
|
|
|
# $MCom: ports/trunk/graphics/gdk-pixbuf2/Makefile 20031 2014-11-02 21:47:55Z kwm $
|
2010-11-20 16:37:08 +01:00
|
|
|
|
2013-03-08 11:51:34 +01:00
|
|
|
PORTNAME= gdk-pixbuf
|
2014-12-03 10:18:23 +01:00
|
|
|
PORTVERSION= 2.31.2
|
2014-12-25 21:54:41 +01:00
|
|
|
PORTREVISION= 1
|
2013-03-08 11:51:34 +01:00
|
|
|
CATEGORIES= graphics
|
2010-11-20 16:37:08 +01:00
|
|
|
MASTER_SITES= GNOME
|
2013-03-08 11:51:34 +01:00
|
|
|
PKGNAMESUFFIX= 2
|
2010-11-20 16:37:08 +01:00
|
|
|
DIST_SUBDIR= gnome2
|
|
|
|
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2013-04-25 15:44:38 +02:00
|
|
|
COMMENT= Graphic library for GTK+
|
2010-11-20 16:37:08 +01:00
|
|
|
|
2015-05-13 15:38:00 +02:00
|
|
|
LICENSE= LGPL20 # or later
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2010-11-20 16:37:08 +01:00
|
|
|
USE_XORG= xt xi x11
|
2015-05-13 15:38:00 +02:00
|
|
|
USES= cpe gmake libtool pathfix pkgconfig tar:xz
|
|
|
|
CPE_VENDOR= gnome
|
2014-11-19 12:49:04 +01:00
|
|
|
USE_GNOME+= glib20 introspection:build
|
2010-11-20 16:37:08 +01:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2014-11-19 12:49:04 +01:00
|
|
|
LIBS+= -L${LOCALBASE}/lib
|
2013-03-08 11:51:34 +01:00
|
|
|
CONFIGURE_ARGS= --enable-introspection=yes --with-x11
|
2014-11-19 12:49:04 +01:00
|
|
|
INSTALL_TARGET= install-strip
|
2010-11-20 16:37:08 +01:00
|
|
|
|
2014-11-19 12:49:04 +01:00
|
|
|
OPTIONS_SUB= yes
|
2013-04-25 15:44:38 +02:00
|
|
|
OPTIONS_DEFINE= JASPER JPEG PNG TIFF
|
|
|
|
OPTIONS_DEFAULT=JASPER JPEG PNG TIFF
|
2014-11-19 12:49:04 +01:00
|
|
|
JASPER_CONFIGURE_WITH= libjasper
|
|
|
|
JASPER_LIB_DEPENDS= libjasper.so:${PORTSDIR}/graphics/jasper
|
|
|
|
JPEG_CONFIGURE_WITPNGH= libjpeg
|
|
|
|
JPEG_LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg
|
|
|
|
PNG_CONFIGURE_WITH= libpng
|
2014-12-25 20:04:25 +01:00
|
|
|
PNG_LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png
|
2014-11-19 12:49:04 +01:00
|
|
|
TIFF_CONFIGURE_WITH= libtiff
|
|
|
|
TIFF_LIB_DEPENDS= libtiff.so:${PORTSDIR}/graphics/tiff
|
2012-05-20 18:37:58 +02:00
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2013-03-28 19:36:56 +01:00
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
2013-04-24 20:10:30 +02:00
|
|
|
USES+= gettext
|
2012-05-20 18:37:58 +02:00
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
|
|
|
|
2010-11-20 16:37:08 +01:00
|
|
|
post-install:
|
2014-11-19 12:49:04 +01:00
|
|
|
@cd ${WRKSRC}/docs/reference/gdk-pixbuf && env DESTDIR=${STAGEDIR} ${GMAKE} install-man1
|
2010-11-20 16:37:08 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|