git: 567c81cf5de9 - main - math/sc-im: Sanitize MANPREFIX
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 22 Jan 2024 17:34:34 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=567c81cf5de98a89827f56915f75b50dc417f0b1
commit 567c81cf5de98a89827f56915f75b50dc417f0b1
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-22 16:56:25 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 17:34:23 +0000
math/sc-im: Sanitize MANPREFIX
Approved by: portmgr (blanket)
---
math/sc-im/Makefile | 3 ++-
math/sc-im/pkg-plist | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/math/sc-im/Makefile b/math/sc-im/Makefile
index 4136e42c0871..b066bdb2c137 100644
--- a/math/sc-im/Makefile
+++ b/math/sc-im/Makefile
@@ -1,6 +1,7 @@
PORTNAME= sc-im
DISTVERSIONPREFIX= v
DISTVERSION= 0.8.3
+PORTREVISION= 1
CATEGORIES= math
MAINTAINER= bapt@FreeBSD.org
@@ -22,7 +23,7 @@ WRKSRC_SUBDIR= src
CFLAGS+= -DXLSX_EXPORT -DXLS
LIBS+= -lxlsreader -lxlsxwriter
MAKE_ENV+= LDLIBS="${LIBS}"
-MAKE_ARGS+= CC="${CC}" prefix="${PREFIX}" MANDIR="${MANPREFIX}/man/man1"
+MAKE_ARGS+= CC="${CC}" prefix="${PREFIX}" MANDIR="${PREFIX}/share/man/man1"
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sc-im
diff --git a/math/sc-im/pkg-plist b/math/sc-im/pkg-plist
index b4b174b8874e..cfb1ec421e3f 100644
--- a/math/sc-im/pkg-plist
+++ b/math/sc-im/pkg-plist
@@ -1,5 +1,5 @@
bin/sc-im
-man/man1/sc-im.1.gz
+share/man/man1/sc-im.1.gz
share/sc-im/plot_bar
share/sc-im/plot_line
share/sc-im/plot_pie