blob: f60b2a0858a60f0628ba501d0630c8674ebc4d4c (
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
27
28
29
30
31
32
33
34
|
# $NetBSD: Makefile,v 1.7 2003/11/08 00:54:22 dmcmahill Exp $
#
DISTNAME= gnucap-0.33
CATEGORIES= cad
MASTER_SITES= ${MASTER_SITE_GNU:=gnucap/}
MAINTAINER= dmcmahill@NetBSD.org
HOMEPAGE= http://www.geda.seul.org/tools/acs/index.html
COMMENT= General purpose circuit simulator
USE_BUILDLINK2= YES
USE_GMAKE= YES
USE_GNU_READLINE= YES
do-build:
@cd ${WRKSRC}/modelgen && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} pkgsrc
@cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} pkgsrc
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/*/gnucap ${PREFIX}/bin/
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gnucap
${INSTALL_DATA} ${WRKSRC}/doc/acs-tutorial ${PREFIX}/share/doc/gnucap
${INSTALL_DATA} ${WRKSRC}/man/man.pdf ${PREFIX}/share/doc/gnucap
${INSTALL_DATA} ${WRKSRC}/doc/whatisit ${PREFIX}/share/doc/gnucap
${INSTALL_DATA} ${WRKSRC}/man/man/* ${PREFIX}/share/doc/gnucap
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gnucap
${INSTALL_DATA} ${WRKSRC}/examples/* ${PREFIX}/share/examples/gnucap
do-test:
cd ${WRKSRC}/test && ./test ../src/*/gnucap "" 0001 ==
.include "../../devel/readline/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
|