summaryrefslogtreecommitdiff
path: root/graphics/gdk-pixbuf2-jasper/Makefile
blob: 5a5bf4bf28a42864c9d26b8f7fc3bb3f98beb834 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# $NetBSD: Makefile,v 1.2 2010/11/15 14:50:04 drochner Exp $
#

DISTNAME=	gdk-pixbuf-2.22.1
PKGNAME=	gdk-pixbuf2-jasper-2.22.1
CATEGORIES=	graphics
MASTER_SITES=	${MASTER_SITE_GNOME:=sources/gdk-pixbuf/2.22/}
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	ftp://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.22/
COMMENT=	Image loaders for gtk2 - jasper module
LICENSE=	gnu-gpl-v2

DISTINFO_FILE=	${.CURDIR}/../../graphics/gdk-pixbuf2/distinfo
PATCHDIR=	${.CURDIR}/../../graphics/gdk-pixbuf2/patches

PKG_DESTDIR_SUPPORT=	user-destdir

GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--without-libtiff --without-libjpeg --without-libpng
CONFIGURE_ARGS+=	--with-libjasper
USE_LIBTOOL=		yes
USE_TOOLS+=		pkg-config

BUILD_DIRS=	gdk-pixbuf
BUILD_TARGET=	libpixbufloader-jasper.la

do-install:
	${INSTALL_DATA_DIR} \
	${DESTDIR}${PREFIX}/lib/gdk-pixbuf-2.0/2.10.0/loaders
	cd ${WRKSRC}/gdk-pixbuf && ${LIBTOOL} --mode=install \
	${INSTALL_DATA} libpixbufloader-jasper.la \
	${DESTDIR}${PREFIX}/lib/gdk-pixbuf-2.0/2.10.0/loaders

.include "../../graphics/gdk-pixbuf2/loaders.mk"

BUILDLINK_API_DEPENDS.glib2+= glib2>=2.26.0
.include "../../devel/glib2/buildlink3.mk"
.include "../../graphics/jasper/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"