aboutsummaryrefslogtreecommitdiff
path: root/cad/pcb/Makefile
blob: 7e81cb31add266d6bb6e33dfca93325f76e1320b (plain) (blame)
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
# New ports collection makefile for:	PCB
# Date created:		19 October 1994
# Whom:			mr
#
# $FreeBSD$
#

PORTNAME=	pcb
PORTVERSION=	20060422
CATEGORIES=	cad
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	hrs@FreeBSD.org
COMMENT=	X11 interactive printed circuit board layout system

LIB_DEPENDS=	gd.4:${PORTSDIR}/graphics/gd
BUILD_DEPENDS=	${RUN_DEPENDS}
RUN_DEPENDS=	gm4:${PORTSDIR}/devel/m4

.if defined(WITH_MOTIF_GUI)
USE_MOTIF=	yes
CONFIGURE_ARGS+=	--with-gui=lesstif
.else
USE_GNOME=	gtk20
.endif
GNU_CONFIGURE=	yes
USE_GMAKE=	yes
USE_TK=		83
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"

.if !defined(NOPORTDOCS)
INFO=		pcb
MAN1=		pcb.1
.else
CONFIGURE_ARGS+=	--disable-doc
.endif

.include <bsd.port.mk>