# New ports collection makefile for:   ivtools
# Date created:        13 March 2002
# Whom:                scott
#
# $FreeBSD: ports/graphics/ivtools/Makefile,v 1.21 2006/08/14 23:06:34 clsung Exp $
#

PORTNAME=	ivtools
PORTVERSION=	1.2.3
PORTREVISION=	1
CATEGORIES=	graphics
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
EXTRACT_SUFX=	.tgz

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Drawing editors derived from idraw

BUILD_DEPENDS=	imake:${X_IMAKE_PORT}
LIB_DEPENDS=	tiff.4:${PORTSDIR}/graphics/tiff

USE_XLIB=	yes
GNU_CONFIGURE=	yes
USE_AUTOTOOLS=	autoconf:259
CONFIGURE_ARGS=	--with-tiff=${PREFIX}
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
USE_LDCONFIG=	yes
MAKE_ARGS=	ARCH=FREEBSD

MANCOMPRESSED=	no
MAN1=	idraw.1 iclass.1 drawtool.1 comterp.1 comdraw.1 flipbook.1 graphdraw.1

.include <bsd.port.pre.mk>

.if ${OSVERSION} > 500034
PLIST_SUB+=	IVDL="@comment "
.else
PLIST_SUB+=	IVDL=""
.endif

.include <bsd.port.post.mk>
