# New ports collection makefile for:	gnetlist
# Date created:			4 April 2001
# Whom:				bruno schwander <bruno@tinkerbox.org>
#
# $FreeBSD: ports/cad/gnetlist/Makefile,v 1.8 2003/02/21 11:04:52 knu Exp $
#

PORTNAME=	gnetlist
PORTVERSION=	20020825
CATEGORIES=	cad
MASTER_SITES=	ftp://ftp.geda.seul.org/pub/geda/devel/${PORTVERSION}/ \
		http://geda.seul.org/devel/${PORTVERSION}/ \
		http://www.tinkerbox.org/projects/files/gEDA/
DISTNAME=	geda-${PORTNAME}-${PORTVERSION}

MAINTAINER=	bruno@tinkerbox.org
COMMENT=	gEDA electronic schematic capture tools, netlister

LIB_DEPENDS=	geda.16:${PORTSDIR}/cad/libgeda \
		guile.10:${PORTSDIR}/lang/guile
BUILD_DEPENDS=	gesym-config:${PORTSDIR}/cad/geda-symbols

USE_LIBTOOL=	yes
#USE_AUTOCONF=	yes

GNU_CONFIGURE=	yes
AUTOCONF=	autoconf

USE_GNOMENG=	yes
USE_GNOME=	gtk12
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LIBS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS=	--enable-gdgeda
INSTALLS_SHLIB=	yes

MAN1=		gnetlist.1

.include <bsd.port.mk>
