summaryrefslogtreecommitdiff
path: root/graphics/imlib-gtk/Makefile
blob: 741d7b979d71dff12f3146d2bf5fb1d949aa110e (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
42
43
44
45
46
# $NetBSD: Makefile,v 1.16 2020/06/05 12:49:00 jperkin Exp $

DISTNAME=	imlib-1.9.15
PKGNAME=	imlib-gtk-1.9.15
PKGREVISION=	9
CATEGORIES=	graphics
MASTER_SITES=	${MASTER_SITE_GNOME:=sources/imlib/1.9/}
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	pkgsrc-users@NetBSD.org
#HOMEPAGE=	http://www.nl.rasterman.com/imlib.html
COMMENT=	Image manipulation library for X11 (gtk bits)

CONFLICTS=	imlib<=1.9.15nb8

DISTINFO_FILE=		${.CURDIR}/../imlib/distinfo
PATCHDIR=		${.CURDIR}/../imlib/patches
INSTALL_DIRS=		gdk_imlib utils

USE_TOOLS+=		gmake
USE_LIBTOOL=		yes
GNU_CONFIGURE=		yes
PKGCONFIG_OVERRIDE=	imlib.pc.in
UNLIMIT_RESOURCES=	datasize

CPPFLAGS+=		-DENABLE_NLS
CONFIGURE_ENV+=		ac_cv_path_CONVERT_PROG="${LOCALBASE}/bin/convert"
CONFIGURE_ENV+=		X_LDFLAGS=${X_LDFLAGS:Q}
CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+=	--disable-shm

PKG_SYSCONFSUBDIR=	imlib

# The following ensures that `imlib-config --libs' includes the correct
# linker flags for linking the X11 libs.
#
X_LDFLAGS=		${X11_LDFLAGS}

CONFIGURE_ARGS+=	--x-includes=${X11BASE}/include

BUILDLINK_DEPMETHOD.libXt?=	build

.include "../../graphics/imlib/buildlink3.mk"
.include "../../x11/gtk/buildlink3.mk"

.include "../../mk/bsd.pkg.mk"