summaryrefslogtreecommitdiff
path: root/cad/spiceprm/Makefile
blob: 4ca8080472ad5bf0d26a5e100ec42a22228286e9 (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.17 2009/05/28 20:53:12 zafer Exp $
#

DISTNAME=	spiceprm-0.11
CATEGORIES=	cad
MASTER_SITES=	http://www.ibiblio.org/pub/Linux/apps/circuits/

MAINTAINER=	pkgsrc-users@NetBSD.org
COMMENT=	Spice preprocessor for parameterized subcircuits

PKG_DESTDIR_SUPPORT=	user-destdir

WRKSRC=			${WRKDIR}/spiceprm
NO_BUILD=		YES
USE_TOOLS+=		perl:run
REPLACE_PERL=		spiceprm
INSTALLATION_DIRS=	bin

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

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