[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / cad / spice

Annotation of pkgsrc/cad/spice/Makefile, Revision 1.45

1.45    ! hans        1: # $NetBSD: Makefile,v 1.44 2010/06/25 21:05:57 joerg Exp $
1.1       hubertf     2:
                      3: DISTNAME=      sp3f4.kit
1.10      dmcmahil    4: PKGNAME=       spice-3f5.1
1.42      wiz         5: PKGREVISION=   6
1.1       hubertf     6: CATEGORIES=    cad
                      7: MASTER_SITES=  ftp://ic.eecs.berkeley.edu/pub/Spice3/
1.37      wiz         8: EXTRACT_SUFX=  .tar.Z
1.1       hubertf     9:
1.23      grant      10: MAINTAINER=    dmcmahill@NetBSD.org
1.14      wiz        11: HOMEPAGE=      http://bwrc.eecs.berkeley.edu/Classes/IcBook/SPICE/
1.17      wiz        12: COMMENT=       General-purpose circuit simulation program
1.1       hubertf    13:
1.44      joerg      14: PKG_DESTDIR_SUPPORT=   user-destdir
1.20      jlam       15:
1.24      agc        16: WRKSRC=                        ${WRKDIR}
1.28      dmcmahil   17: # GPL license used by GNU readline is not compatible
                     18: # with 4 clause BSD license used by spice.
1.34      reed       19: #BUILDLINK_API_DEPENDS.readline=       readline>=4.0
1.28      dmcmahil   20: #USE_GNU_READLINE=     uses rl_* interface
1.10      dmcmahil   21:
1.1       hubertf    22: # documentation in ftp://ic.eecs.berkeley.edu/pub/Spice3/um.3f3.ps
                     23:
1.10      dmcmahil   24: #              These are included as patch-ae
1.1       hubertf    25: #PATCH_SITES=  ftp://ilpsoft.eecs.berkeley.edu/pub/SPICE3F5/
                     26: #PATCHFILES=   grid.patch newcoms.patch spsmp.patch
1.16      dmcmahil   27:
1.36      rillig     28: INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man3 ${PKGMANDIR}/man5
1.32      jlam       29:
1.38      joerg      30: MAKE_ENV+=     WRKSRC=${WRKSRC:Q}
                     31:
1.45    ! hans       32: .include "../../mk/bsd.prefs.mk"
        !            33: .if ${OPSYS} != "SunOS"
        !            34: CFLAGS+=       -Dbsd
        !            35: .endif
        !            36:
1.20      jlam       37: post-extract:
                     38:        ${CP} ${FILESDIR}/NetBSD ${WRKSRC}/conf
                     39:
1.39      rillig     40: SUBST_CLASSES+=                conf
                     41: SUBST_STAGE.conf=      pre-configure
                     42: SUBST_FILES.conf=      conf/NetBSD conf/defaults
1.40      joerg      43: SUBST_VARS.conf=       MAKE_PROGRAM CFLAGS LDFLAGS WRKSRC PREFIX X11BASE
1.39      rillig     44:
1.2       hubertf    45: do-configure:
1.39      rillig     46:        rm -f ${WRKSRC}/makefile
1.2       hubertf    47:
                     48: do-build:
1.39      rillig     49:        cd ${WRKSRC} && env ${MAKE_ENV} util/build NetBSD default
1.2       hubertf    50:
1.43      abs        51: INSTALLATION_DIRS+=share/examples/spice3
                     52:
1.2       hubertf    53: do-install:
1.44      joerg      54:        cd ${WRKSRC} && env ${MAKE_ENV} ${INSTALL_ENV} util/build NetBSD install
                     55:        ${CHMOD} a+rx ${DESTDIR}${PREFIX}/bin/spice3    \
1.43      abs        56:                ${DESTDIR}${PREFIX}/bin/nutmeg          \
                     57:                ${DESTDIR}${PREFIX}/bin/sconvert        \
                     58:                ${DESTDIR}${PREFIX}/bin/help            \
                     59:                ${DESTDIR}${PREFIX}/bin/proc2mod        \
                     60:                ${DESTDIR}${PREFIX}/bin/multidec
                     61:        strip ${DESTDIR}${PREFIX}/bin/spice3            \
                     62:                ${DESTDIR}${PREFIX}/bin/nutmeg          \
                     63:                ${DESTDIR}${PREFIX}/bin/sconvert        \
                     64:                ${DESTDIR}${PREFIX}/bin/help            \
                     65:                ${DESTDIR}${PREFIX}/bin/proc2mod        \
                     66:                ${DESTDIR}${PREFIX}/bin/multidec
                     67:        ${CHMOD} -R a+rX ${DESTDIR}${PREFIX}/share/spice3
                     68:        ${INSTALL_MAN} ${WRKSRC}/man/man5/mfbcap.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/mfbcap.5
                     69:        ${INSTALL_MAN} ${WRKSRC}/man/man1/sconvert.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/sconvert.1
                     70:        ${INSTALL_MAN} ${WRKSRC}/man/man1/nutmeg.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/nutmeg.1
                     71:        ${INSTALL_MAN} ${WRKSRC}/man/man1/spice.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/spice.1
                     72:        ${INSTALL_MAN} ${WRKSRC}/man/man3/mfb.3 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man3/mfb.3
1.2       hubertf    73:
1.1       hubertf    74: post-install:
1.43      abs        75:        ${INSTALL_DATA} ${WRKSRC}/examples/*.cir ${DESTDIR}${PREFIX}/share/examples/spice3
1.1       hubertf    76:
1.28      dmcmahil   77: #.include "../../devel/readline/buildlink3.mk"
1.38      joerg      78: .include "../../x11/libXaw/buildlink3.mk"
1.2       hubertf    79: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>