# Created by: Maxim Sobolev <sobomax@FreBSD.org>
# $FreeBSD: tags/RELEASE_11_1_0/x11-toolkits/libgnomeprintui/Makefile 428142 2016-12-08 17:17:43Z tijl $
#   $MCom: ports/x11-toolkits/libgnomeprintui/Makefile,v 1.75 2010/09/28 16:07:36 kwm Exp $

PORTNAME=	libgnomeprintui
PORTVERSION=	2.18.6
PORTREVISION=	4
CATEGORIES=	x11-toolkits gnome
MASTER_SITES=	GNOME
DIST_SUBDIR=	gnome2

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	Gnome print support library

BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/gnome-icon-theme.pc:misc/gnome-icon-theme
RUN_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/gnome-icon-theme.pc:misc/gnome-icon-theme

USES=		bison gettext gmake libtool:keepla pathfix pkgconfig tar:bzip2
USE_XORG=	x11 xpm
USE_GNOME=	gnomeprefix libgnomeprint libgnomecanvas \
		intlhack
USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib
INSTALL_TARGET=	install-strip

PLIST_SUB=	VERSION=${PORTVERSION}

.include <bsd.port.mk>
