summaryrefslogtreecommitdiff
path: root/cad/pcb-current/Makefile
blob: e425ed2c904b56afd9c9fa592c3559de34aa40f1 (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
39
40
41
42
43
44
45
46
47
48
49
50
# $NetBSD: Makefile,v 1.11 2004/10/03 00:13:13 tv Exp $
#

DISTNAME=	pcb-${SNAPDATE}
PKGNAME=	pcb-current-${SNAPDATE}
PKGREVISION=	1
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)

BUILD_DEPENDS+=	bison-[0-9]*:../../devel/bison
DEPENDS+=	m4>=1.4:../../devel/m4
DEPENDS+=	tk>=8.3:../../x11/tk

PKG_INSTALLATION_TYPES=	overwrite pkgviews

CONFLICTS+=	pcb-[0-9]*

SNAPDATE=	20040903
GNU_CONFIGURE=	yes
USE_GNU_TOOLS+=	lex make
USE_X11=	yes
USE_BUILDLINK3=	yes

INFO_FILES=	pcb.info

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

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

.if ${XAW_TYPE} == "xpm"
CONFIGURE_ARGS+=	--with-xaw=Xaw-Xpm
.elif ${XAW_TYPE} == "3d"
CONFIGURE_ARGS+=	--with-xaw=Xaw3d
.elif ${XAW_TYPE} == "neXtaw"
CONFIGURE_ARGS+=	--with-xaw=neXtaw
.else
CONFIGURE_ARGS+=	--with-xaw=Xaw
.endif

.include "../../mk/xaw.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"