diff --git a/cad/ngspice_rework/Makefile b/cad/ngspice_rework/Makefile index c6578e56c7d5..9fc32a5f2ba8 100644 --- a/cad/ngspice_rework/Makefile +++ b/cad/ngspice_rework/Makefile @@ -1,27 +1,33 @@ # New ports collection makefile for: ngspice_rework # Date created: 2002-01-02 # Whom: AMAKAWA Shuhei # # $FreeBSD$ # PORTNAME= ngspice_rework PORTVERSION= 15 CATEGORIES= cad MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ngspice DISTNAME= ngspice-rework${PORTVERSION} EXTRACT_SUFX= .tgz MAINTAINER= amakawa@jp.FreeBSD.org COMMENT= A circuit simulator derived from spice3f5 WRKSRC= ${WRKDIR}/ng-spice-rework-${PORTVERSION} GNU_CONFIGURE= yes USE_LIBTOOL_VER?=15 USE_GMAKE= yes +.ifndef PACKAGE_BUILDING +CONFIGURE_ARGS+= --with-readline=yes +.else +CONFIGURE_ARGS+= --disable-debug +.endif + INFO= ngspice MAN1= ngspice.1 ngnutmeg.1 ngsconvert.1 .include