cad/ngspice_rework: Move man pages to share/man

Approved by:	portmgr (blanket)
This commit is contained in:
Nuno Teixeira 2024-03-02 23:31:19 +00:00
parent dcd1b9de28
commit 7223e2f99a

View file

@ -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