summaryrefslogtreecommitdiff
path: root/cad/spiceprm/Makefile
blob: 22608e319b8a3acdcc70988d6f28b15e9be59444 (plain)
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
# $NetBSD: Makefile,v 1.2 2000/08/26 03:26:44 jlam Exp $
#

DISTNAME=	spiceprm-0.11
WRKSRC=		${WRKDIR}/spiceprm
CATEGORIES=	cad
MASTER_SITES=	http://metalab.unc.edu/pub/Linux/apps/circuits/

MAINTAINER=	packages@netbsd.org

NO_CONFIGURE=	YES
USE_PERL5=	YES

do-build:
	${MV} ${WRKSRC}/spiceprm ${WRKSRC}/spiceprm.BAK
	${SED} 's!/usr/bin/perl!${LOCALBASE}/bin/perl!g' \
	  < ${WRKSRC}/spiceprm.BAK > ${WRKSRC}/spiceprm

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/spiceprm ${PREFIX}/bin/spiceprm
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/spiceprm
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/spiceprm
	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/spiceprm
	${INSTALL_DATA} ${WRKSRC}/EXAMPLES ${PREFIX}/share/examples/spiceprm

.include "../../mk/bsd.pkg.mk"