blob: 56afed6d9233cb51c649e5b627287c6ccb1c987b (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# New ports collection makefile for: PCB
# Date created: 19 October 1994
# Whom: mr
#
# $FreeBSD$
#
PORTNAME= pcb
PORTVERSION= 20081128
PORTREVISION= 3
CATEGORIES= cad
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= hrs@FreeBSD.org
COMMENT= X11 interactive printed circuit board layout system
LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd
RUN_DEPENDS= m4>=1.4.11:${PORTSDIR}/devel/m4
BUILD_DEPENDS= ${RUN_DEPENDS}
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_TK_RUN= 83
INSTALLS_ICONS= yes
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="${PTHREAD_LIBS} -L${LOCALBASE}/lib" \
INSTALL_DATA="/usr/bin/install ${COPY} ${_SHROWNGRP} -m ${SHAREMODE}"
CONFIGURE_ARGS= --docdir=${DOCSDIR} --disable-nls
PORTDOCS= pcb.html pcb.ps refcard.ps pcb.pdf refcard.pdf pad.gif \
puller.gif thermal.gif pad.png puller.png thermal.png
.if defined(WITHOUT_X11)
CONFIGURE_ARGS+= --without-gui
CONFIGURE_ENV+= WISH=${TRUE}
.elif defined(WITH_MOTIF_GUI)
USE_MOTIF= yes
USE_TK_RUN= yes
CONFIGURE_ARGS+= --with-gui=lesstif
CONFIGURE_ENV+= WISH=${WISH}
.else
USE_GNOME= gtk20 desktopfileutils
USE_TK_RUN= yes
CONFIGURE_ARGS+= --with-gui=gtk
CONFIGURE_ENV+= WISH=${WISH}
.endif
.if !defined(NOPORTDOCS)
INFO= pcb
MAN1= pcb.1
.else
CONFIGURE_ARGS+= --disable-doc
.endif
.include <bsd.port.mk>
|