summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNuno Teixeira <eduardo@FreeBSD.org>2024-03-02 23:31:19 +0000
committerNuno Teixeira <eduardo@FreeBSD.org>2024-03-02 23:32:29 +0000
commit7223e2f99a168af48e35f37ce4f844dcd7ea9b5d (patch)
tree3331fbebdd74b96344f04282b2f899b757af0c86
parentdcd1b9de281ec5d566a9ce527b717f756cbe9ea0 (diff)
downloadfreebsd-ports-7223e2f99a168af48e35f37ce4f844dcd7ea9b5d.zip
cad/ngspice_rework: Move man pages to share/man
Approved by: portmgr (blanket)
-rw-r--r--cad/ngspice_rework/Makefile6
1 files changed, 4 insertions, 2 deletions
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