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

PORTNAME=   pcb
PORTVERSION=    1.7.3
CATEGORIES= cad
MASTER_SITES=   http://bach.ece.jhu.edu/~haceaton/pcb/
DISTNAME=   ${PORTNAME}-wip
EXTRACT_SUFX=   .tgz

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

BUILD_DEPENDS=  gm4:${PORTSDIR}/devel/m4 \
        latex:${PORTSDIR}/print/teTeX

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}

USE_IMAKE=  yes

MAN1=       pcb.1

pre-install:
    -${MKDIR} ${DOCSDIR}
    cd ${WRKSRC}/doc && ${SETENV} PREFIX=${PREFIX} make install.info &&\
    ${INSTALL_DATA} index.html pcb.html pcb.ps refcard.ps ${DOCSDIR}

post-install:
    install-info --section="Utilities" \
    --entry="* PCB: (pcb).  Interactive printed circuit board layout system for X11" \
    ${PREFIX}/info/pcb.info ${PREFIX}/info/dir

.include <bsd.port.mk>