aboutsummaryrefslogtreecommitdiffstats
path: root/cad/xcircuit/Makefile
blob: e612695324aae624eee3d4ab00fa6d52030d09b3 (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
# New ports collection makefile for:    xcircuit
# Date created:     3 Apr 1998
# Whom:         giffunip@asme.org
#
# $FreeBSD$
#

PORTNAME=   xcircuit
PORTVERSION=    2.3
CATEGORIES= cad
MASTER_SITES=   http://bach.ece.jhu.edu/~tim/programs/xcircuit/archive/

MAINTAINER= ports@FreeBSD.org

RUN_DEPENDS=    gs:${PORTSDIR}/print/ghostscript6

USE_BZIP2=  yes
USE_XPM=    yes
USE_IMAKE=  yes
XMKMF=      xmkmf

MAN1=       xcircuit.1

post-patch:
    @find ${WRKSRC} -type f | xargs ${PERL} -pi -e "s|__DARWIN__|__STDC__|g" 
post-install:
    @${MKDIR} ${PREFIX}/share/examples/xcircuit
    ${TAR} -C ${WRKSRC}/examples --exclude CVS -cf - . | \
        ${TAR} -C ${PREFIX}/share/examples/xcircuit --unlink -xf -

.include <bsd.port.mk>