summaryrefslogtreecommitdiff
path: root/cad/pcb-current/Makefile
blob: ea171e6822ee20d34c2458f605a45820d608830b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# $NetBSD: Makefile,v 1.1.1.1 2003/08/17 03:59:08 dmcmahill Exp $
#

DISTNAME=	pcb-${SNAPDATE}
PKGNAME=	pcb-current-${SNAPDATE}
CATEGORIES=	cad
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=pcb/}

MAINTAINER=	dmcmahill@NetBSD.org
HOMEPAGE=	http://pcb.sourceforge.net/
COMMENT=	Printed circuit board layout system (development snapshot version)

DEPENDS+=	m4>=1.4:../../devel/m4
DEPENDS+=	tk>=8.3:../../x11/tk

CONFLICTS+=	pcb-[0-9]*

SNAPDATE=	20030815
GNU_CONFIGURE=	yes
USE_GMAKE=      yes

# install to X11BASE until cad/gnetlist is taught to handle pcb installing
# to X11BASE and pcb-current installing to LOCALBASE.  Alternatively, once
# there is a stable release of the "new" pcb which can install to LOCALBASE
# we can let pcb-current go there too.
USE_X11BASE=	yes
YACC=		${LOCALBASE}/bin/bison

INFO_FILES=	pcb.info

.include "../../mk/bsd.prefs.mk"

EVAL_PREFIX+=   TKDIR=tk
EVAL_PREFIX+=   M4DIR=m4
M4=${M4DIR}/bin/${GNU_PROGRAM_PREFIX}m4
CONFIGURE_ENV+=	WISH=${TKDIR}/bin/wish

.include "../../mk/bsd.pkg.mk"