aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-02-24 18:22:35 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-02-24 19:25:21 +0000
commite3d1aa6da13c4291a6727eecc2e7d31795294dae (patch)
tree7164f1b2d0f50593e7f6d0b284ef4eb83fc0b162
parent1c5304f954d69d5258b042b193e3e0535c5d24b9 (diff)
downloadports-e3d1aa6da13c4291a6727eecc2e7d31795294dae.tar.gz
ports-e3d1aa6da13c4291a6727eecc2e7d31795294dae.zip
math/gexpr: Moved man to share/man
Approved by: portmgr (blanket)
-rw-r--r--math/gexpr/Makefile4
-rw-r--r--math/gexpr/files/patch-Makefile2
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