# $FreeBSD: tags/RELEASE_11_2_0/print/fig2dev/Makefile 420721 2016-08-23 17:44:52Z pi $

PORTNAME=	fig2dev
PORTVERSION=	3.2.6
CATEGORIES=	print
MASTER_SITES=	SF/mcj/

MAINTAINER=	pi@FreeBSD.org
COMMENT=	Tools to convert Xfig .fig files

RUN_DEPENDS=	ppmtogif:graphics/netpbm
LIB_DEPENDS=	libpng.so:graphics/png

CONFLICTS=	transfig-*

USES=		alias ghostscript:run iconv tar:xz
CFLAGS+=	-Wno-return-type
GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=	--enable-transfig
USE_XORG=	xpm

.include <bsd.port.mk>
