git: e3d1aa6da13c - main - math/gexpr: Moved man to share/man
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 24 Feb 2024 19:25:40 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e3d1aa6da13c4291a6727eecc2e7d31795294dae
commit e3d1aa6da13c4291a6727eecc2e7d31795294dae
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-24 18:22:35 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-24 19:25:21 +0000
math/gexpr: Moved man to share/man
Approved by: portmgr (blanket)
---
math/gexpr/Makefile | 4 ++--
math/gexpr/files/patch-Makefile | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/math/gexpr/Makefile b/math/gexpr/Makefile
index c85306970443..27479626325c 100644
--- a/math/gexpr/Makefile
+++ b/math/gexpr/Makefile
@@ -1,6 +1,6 @@
PORTNAME= gexpr
PORTVERSION= 2.0.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= math
MASTER_SITES= SUNSITE/apps/math/calc
@@ -11,7 +11,7 @@ LICENSE= GPLv2
CONFLICTS_INSTALL= coreutils # bin/gexpr
-PLIST_FILES= bin/gexpr man/man1/gexpr.1.gz
+PLIST_FILES= bin/gexpr share/man/man1/gexpr.1.gz
post-patch:
@${REINPLACE_CMD} -e "s,/usr/local,${PREFIX}," ${WRKSRC}/Makefile
diff --git a/math/gexpr/files/patch-Makefile b/math/gexpr/files/patch-Makefile
index f194ed91f039..7b034c88d8d0 100644
--- a/math/gexpr/files/patch-Makefile
+++ b/math/gexpr/files/patch-Makefile
@@ -21,7 +21,7 @@
- cp -f gexpr /usr/local/bin;
- cp -f gexpr.1 /usr/local/man/man1
+ install -s gexpr ${DESTDIR}/usr/local/bin;
-+ install gexpr.1 ${DESTDIR}/usr/local/man/man1
++ install gexpr.1 ${DESTDIR}/usr/local/share/man/man1
clean:
rm -f *.o core