# New ports collection makefile for:	simage
# Date created:				10 May 2002
# Whom:					roland.jesse@gmx.net
#
# $FreeBSD: ports/graphics/simage/Makefile,v 1.17 2008/08/21 06:17:24 rafan Exp $
#

PORTNAME=	simage
PORTVERSION=	1.6.1
PORTREVISION=	4
CATEGORIES=	graphics
MASTER_SITES=	ftp://ftp.coin3d.org/pub/coin/src/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Library with image format loaders and front-ends

LIB_DEPENDS=	sndfile.1:${PORTSDIR}/audio/libsndfile \
		vorbis.4:${PORTSDIR}/audio/libvorbis \
		jpeg.9:${PORTSDIR}/graphics/jpeg \
		ungif.5:${PORTSDIR}/graphics/libungif \
		png.5:${PORTSDIR}/graphics/png

USE_AUTOTOOLS=	libtool:15
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS=	--with-mpeg2enc
USE_LDCONFIG=	yes

.include <bsd.port.mk>
