Edit

IABSD.fr/ports/cad/netgen/Makefile

Branch :

  • Show log

    Commit

  • Author : sthen
    Date : 2024-12-21 11:37:37
    Hash : e7388123
    Message : handle py3.12 switchover in cad

  • cad/netgen/Makefile
  • COMMENT =	tool for netlist comparison (LVS) and format manipulation
    DISTNAME =	netgen-1.5.171
    EXTRACT_SUFX =	.tgz
    REVISION =	4
    
    CATEGORIES =	cad
    
    HOMEPAGE =	http://opencircuitdesign.com/netgen/
    
    MAINTAINER =	Alessandro De Laurenzis <just22@atlantide.mooo.com>
    
    # GPLv1
    PERMIT_PACKAGE =	Yes
    
    WANTLIB =	${MODTK_WANTLIB} X11 c m
    
    SITES =		http://opencircuitdesign.com/netgen/archive/
    
    MODULES =	x11/tk \
    		lang/python
    
    LIB_DEPENDS =	${MODTK_LIB_DEPENDS}
    
    RUN_DEPENDS =	shells/bash
    
    WRKCONF =		${WRKSRC}/scripts
    CONFIGURE_STYLE =	gnu
    CONFIGURE_ENV =		CPPFLAGS="-I${X11BASE}/include" \
    			CFLAGS="-std=gnu89 ${CFLAGS}"
    CONFIGURE_ARGS =	--with-distdir=${PREFIX} \
    			--with-tcl=${MODTCL_LIBDIR} \
    			--with-tk=${MODTK_LIBDIR}
    
    USE_GMAKE =	Yes
    
    NO_TEST =	Yes
    
    post-install:
    	${MODPY_COMPILEALL} ${PREFIX}/lib/netgen/python
    	mv ${PREFIX}/lib/netgen/doc ${PREFIX}/share/doc/netgen
    
    .include <bsd.port.mk>