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

PORTNAME=   pcb
PORTVERSION=    20060822
PORTREVISION=   0
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 ${PTHREAD_CFLAGS}" \
        LDFLAGS="${PTHREAD_LIBS} -L${LOCALBASE}/lib -L${X11BASE}/lib"

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

.include <bsd.port.mk>