# New ports collection makefile for:	xsane
# Date created:			Fri Apr  8 00:18:29 MET DST 1999
# Whom:				Dominik Brettnacher <domi@saargate.de>
#
# $FreeBSD: ports/graphics/xsane/Makefile,v 1.21 2001/01/15 04:01:24 kris Exp $
#

PORTNAME=	xsane
PORTVERSION=	0.70
CATEGORIES=	graphics
MASTER_SITES=	http://www.wolfsburg.de/~rauch/sane/ \
		http://gd.tuwien.ac.at/hci/sane/xsane/ \
		ftp://ftp.mostang.com/pub/sane/xsane/ \

MAINTAINER=	domi@saargate.de

LIB_DEPENDS=	intl.1:${PORTSDIR}/devel/gettext \
		sane.1:${PORTSDIR}/graphics/sane \
		jpeg.9:${PORTSDIR}/graphics/jpeg \
		tiff.4:${PORTSDIR}/graphics/tiff \
		png.4:${PORTSDIR}/graphics/png

USE_GMAKE=	yes
USE_X_PREFIX=	yes
USE_GTK=	yes
USE_AUTOCONF=	yes
CONFIGURE_ARGS=	--enable-intl-patch
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LIBS="-L${LOCALBASE}/lib -lintl"

MAN1=		xsane.1

post-install:
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
