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

PORTNAME=	gschem
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

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

USE_LIBTOOL=	yes
#USE_AUTOCONF=	yes

GNU_CONFIGURE=	yes
AUTOCONF=	autoconf

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

MAN1=		gschem.1

.include <bsd.port.mk>
