aboutsummaryrefslogtreecommitdiff
path: root/cad/irsim/Makefile
blob: 28f29f0191a0f57fffda835ee77f825c50adc721 (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
# New ports collection makefile for:    irsim
# Date created:         18 Dec 1994
# Whom:                 swallace
#
# $FreeBSD$
#

PORTNAME=	irsim
PORTVERSION=	9.5
PORTREVISION=	1
CATEGORIES=	cad
MASTER_SITES=	http://mos.stanford.edu/group/magic/
EXTRACT_SUFX=	.tar.Z

MAINTAINER=	ports@FreeBSD.org
COMMENT=	An event-driven logic-level simulator for MOS circuis

USE_XLIB=	yes
USE_REINPLACE=	yes
MAN1=		irsim.1
MAN3=		irsim-analyzer.3
MAN5=		netchange.5

.include <bsd.port.pre.mk>

# othewise patch will complain
post-extract:
	@${FIND} ${WRKSRC} -name RCS | ${XARGS} ${RM} -rf

post-patch:
	@${EGREP} -lr '^#endif[^$$]' ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
		's|\(^#.*endif\).*|\1|g'

.include <bsd.port.post.mk>