blob: 8601155a281ab925804b7d88eca8096ba5a9a1a2 (
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
|
# $NetBSD: Makefile,v 1.8 2004/05/31 12:42:43 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)
BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison
DEPENDS+= m4>=1.4:../../devel/m4
DEPENDS+= tk>=8.3:../../x11/tk83
PKG_INSTALLATION_TYPES= overwrite pkgviews
CONFLICTS+= pcb-[0-9]*
SNAPDATE= 20040530
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"
|