diff --git a/cad/ngspice_rework/Makefile b/cad/ngspice_rework/Makefile index a774d6a129b1..3698f6d97b7b 100644 --- a/cad/ngspice_rework/Makefile +++ b/cad/ngspice_rework/Makefile @@ -1,5 +1,6 @@ PORTNAME= ngspice_rework PORTVERSION= 41 +PORTREVISION= 1 CATEGORIES= cad MASTER_SITES= SF/ngspice/ng-spice-rework/${PORTVERSION} DISTNAME= ngspice-${PORTVERSION} @@ -22,6 +23,7 @@ USES= compiler:c11 gmake libtool ncurses readline autoreconf pkgconfig GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-cider --enable-xspice --with-readline=yes +GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share OPTIONS_DEFINE= DEBUG @@ -32,10 +34,10 @@ CONFIGURE_ARGS+= --with-ngshared --enable-shared USES+= xorg USE_XORG= ice sm x11 xaw xext xmu xt xft CONFIGURE_ARGS+= --with-x -PLIST_FILES= bin/ngspice man/man1/ngspice.1.gz +PLIST_FILES= bin/ngspice share/man/man1/ngspice.1.gz post-install: @cd ${STAGEDIR}${PREFIX} && \ - ${RM} -r include lib share && \ + ${RM} -r include lib share/ngspice && \ ${RM} bin/cmpp man/man1/cmpp.1 .endif