summaryrefslogtreecommitdiff
path: root/cad/sis/Makefile
blob: 5bcbacb31f2f929fc4ddd482f1051e487b51aa89 (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
55
56
57
58
59
60
61
62
63
# New ports collection makefile for:    sis
# Version required:     1.2 (pl1)
# Date created:         10 October 1997
# Whom:                 volf@oasis.IAEhv.nl
#
# $Id: Makefile,v 1.5 1998/10/20 01:27:48 steve Exp $
#

DISTNAME=		sis-1.2
PKGNAME=		sis-1.2.1
CATEGORIES=		cad
MASTER_SITES=		ftp://ic.eecs.berkeley.edu/pub/Sis/
EXTRACT_SUFX=   	.tar.Z

PATCH_SITES=		ftp://ic.eecs.berkeley.edu/pub/Sis/
PATCHFILES=		sis-1.2.patch1.Z
PATCH_DIST_STRIP=	-p1

MAINTAINER=		volf@oasis.IAEhv.nl

USE_XLIB=		yes
MAKEFILE=		Makefile.FreeBSD
MAN1=			espresso.1 jedi.1 nova.1 sis.1 sred.1 stamina.1 \
			vst2blif.1 xsis.1
MAN5=			espresso.5 pla.5

pre-build: ${WRKSRC}/Makefile.FreeBSD

${WRKSRC}/Makefile.FreeBSD:
	${CP} ${FILESDIR}/Makefile.FreeBSD ${WRKSRC}

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/sis/sis ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/jedi/jedi ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/sred/sred ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/stamina/bin/stamina ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/nova/nova ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/espresso/espresso ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/vst2blif/vst2blif ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/blif2vst/blif2vst ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/xsis/xsis ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/espresso/espresso.1 ${PREFIX}/man/man1
	${INSTALL_MAN} ${WRKSRC}/jedi/jedi.1 ${PREFIX}/man/man1
	${INSTALL_MAN} ${WRKSRC}/nova/nova.1 ${PREFIX}/man/man1
	${INSTALL_MAN} ${WRKSRC}/sis/sis_lib/help/sis.1 ${PREFIX}/man/man1
	${INSTALL_MAN} ${WRKSRC}/sred/sred.1 ${PREFIX}/man/man1
	${INSTALL_MAN} ${WRKSRC}/stamina/stamina.1 ${PREFIX}/man/man1
	${INSTALL_MAN} ${WRKSRC}/vst2blif/vst2blif.1 ${PREFIX}/man/man1
	${INSTALL_MAN} ${WRKSRC}/xsis/xsis.1 ${PREFIX}/man/man1
	${INSTALL_MAN} ${WRKSRC}/espresso/espresso.5 ${PREFIX}/man/man5
	${INSTALL_MAN} ${WRKSRC}/espresso/pla.5 ${PREFIX}/man/man5
	${MKDIR} ${PREFIX}/lib/sis
	${CP} -R ${WRKSRC}/sis/sis_lib ${PREFIX}/lib/sis

.if !defined(NOPORTDOCS)
post-install:
	${INSTALL_DATA} ${WRKSRC}/SIS_paper.ps ${PREFIX}/lib/sis
	${INSTALL_DATA} ${WRKSRC}/RELEASE-NOTES-1.2 ${PREFIX}/lib/sis
	${GZIP_CMD} ${PREFIX}/lib/sis/SIS_paper.ps
	chown -R bin:bin ${PREFIX}/lib/sis
.endif

.include <bsd.port.mk>