diff options
-rw-r--r-- | cad/spice/Makefile | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/cad/spice/Makefile b/cad/spice/Makefile index 6bd6896e3a8..ba0d796368e 100644 --- a/cad/spice/Makefile +++ b/cad/spice/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2002/02/27 17:14:28 jlam Exp $ +# $NetBSD: Makefile,v 1.21 2002/09/21 06:44:35 jlam Exp $ # FreeBSD Id: Makefile,v 1.10 1998/06/08 09:21:37 tg Exp # @@ -12,9 +12,12 @@ MAINTAINER= dmcmahill@netbsd.org HOMEPAGE= http://bwrc.eecs.berkeley.edu/Classes/IcBook/SPICE/ COMMENT= General-purpose circuit simulation program +CONFLICTS= ng-spice-[0-9]* + BUILDLINK_DEPENDS.readline= readline>=4.0 -USE_BUILDLINK_ONLY= yes +USE_BUILDLINK2= # defined +USE_X11= # defined USE_GNU_READLINE= uses rl_* interface # documentation in ftp://ic.eecs.berkeley.edu/pub/Spice3/um.3f3.ps @@ -25,8 +28,6 @@ USE_GNU_READLINE= uses rl_* interface WRKSRC= ${WRKDIR} -CONFLICTS= ng-spice-[0-9]* - post-extract: ${CP} ${FILESDIR}/NetBSD ${WRKSRC}/conf @@ -36,7 +37,6 @@ do-configure: ${SED} -e "s|@MAKE_PROGRAM@|${MAKE_PROGRAM}|g" \ -e "s|@CFLAGS@|${CFLAGS}|g" \ -e "s|@LDFLAGS@|${LDFLAGS}|g" \ - -e 's|@BUILDLINK_X11_DIR@|${BUILDLINK_X11_DIR}|g' \ -e 's|@X11BASE@|${X11BASE}|g' \ -e "s|@WRKSRC@|${WRKSRC}|g" \ -e 's|@PREFIX@|${PREFIX}|g' \ @@ -45,16 +45,16 @@ do-configure: done do-build: - cd ${WRKSRC} ; util/build NetBSD default + cd ${WRKSRC}; util/build NetBSD default do-install: - cd ${WRKSRC} ; util/build NetBSD install - ${CHMOD} a+rx ${PREFIX}/bin/spice3 ${PREFIX}/bin/nutmeg \ - ${PREFIX}/bin/sconvert ${PREFIX}/bin/help \ - ${PREFIX}/bin/proc2mod ${PREFIX}/bin/multidec - strip ${PREFIX}/bin/spice3 ${PREFIX}/bin/nutmeg \ - ${PREFIX}/bin/sconvert ${PREFIX}/bin/help \ - ${PREFIX}/bin/proc2mod ${PREFIX}/bin/multidec + cd ${WRKSRC}; util/build NetBSD install + ${CHMOD} a+rx ${PREFIX}/bin/spice3 ${PREFIX}/bin/nutmeg \ + ${PREFIX}/bin/sconvert ${PREFIX}/bin/help \ + ${PREFIX}/bin/proc2mod ${PREFIX}/bin/multidec + strip ${PREFIX}/bin/spice3 ${PREFIX}/bin/nutmeg \ + ${PREFIX}/bin/sconvert ${PREFIX}/bin/help \ + ${PREFIX}/bin/proc2mod ${PREFIX}/bin/multidec ${CHMOD} -R a+rX ${PREFIX}/share/spice3 ${INSTALL_MAN} ${WRKSRC}/man/man5/mfbcap.5 ${PREFIX}/man/man5/mfbcap.5 ${INSTALL_MAN} ${WRKSRC}/man/man1/sconvert.1 ${PREFIX}/man/man1/sconvert.1 @@ -66,6 +66,5 @@ post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/spice3 ${INSTALL_DATA} ${WRKSRC}/examples/*.cir ${PREFIX}/share/examples/spice3 -.include "../../devel/readline/buildlink.mk" -.include "../../mk/x11.buildlink.mk" +.include "../../devel/readline/buildlink2.mk" .include "../../mk/bsd.pkg.mk" |