git: 555dd8d1ed78 - main - shells/pdksh: moved manpages to share/man
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 04 Mar 2024 09:52:20 UTC
The branch main has been updated by rodrigo:
URL: https://cgit.FreeBSD.org/ports/commit/?id=555dd8d1ed7855c94bd9412173798681e3b57c9e
commit 555dd8d1ed7855c94bd9412173798681e3b57c9e
Author: Rodrigo Osorio <rodrigo@FreeBSD.org>
AuthorDate: 2024-02-28 21:00:25 +0000
Commit: Rodrigo Osorio <rodrigo@FreeBSD.org>
CommitDate: 2024-03-04 09:50:44 +0000
shells/pdksh: moved manpages to share/man
Fix mandir in patch and update plist
Fix formatting to make linters happy
Update MASTER_SITES
Update additional patches file names
---
shells/pdksh/Makefile | 12 +++++-------
shells/pdksh/distinfo | 9 +++++----
shells/pdksh/files/patch-Makefile.in | 2 +-
shells/pdksh/pkg-plist | 2 +-
4 files changed, 12 insertions(+), 13 deletions(-)
diff --git a/shells/pdksh/Makefile b/shells/pdksh/Makefile
index d4831879d521..5bbeb53d0ef5 100644
--- a/shells/pdksh/Makefile
+++ b/shells/pdksh/Makefile
@@ -1,14 +1,12 @@
PORTNAME= pdksh
PORTVERSION= 5.2.14p2
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= shells
-MASTER_SITES= http://gd.tuwien.ac.at/utils/shells/pdksh/ \
- ftp://ftp.lip6.fr/pub/unix/shells/pdksh/ \
- ftp://ftp.demon.net/pub/mirrors/pdksh/
+MASTER_SITES= https://ftp.lip6.fr/pub/unix/shells/pdksh/
DISTNAME= ${PORTNAME}-${PORTVERSION:C/p.*//}
PATCH_SITES= ${MASTER_SITES}
-PATCHFILES= ${DISTNAME}-patches.1 ${DISTNAME}-patches.2
+PATCHFILES= ${DISTNAME}-patches.1.gz ${DISTNAME}-patches.2.gz
PATCH_DIST_STRIP= -p2
MAINTAINER= rodrigo@FreeBSD.org
@@ -17,11 +15,11 @@ WWW= http://www.cs.mun.ca/~michael/pdksh/
LICENSE= BSD3CLAUSE
-OPTIONS_DEFINE= STATIC
-
GNU_CONFIGURE= yes
CPP+= -P
+OPTIONS_DEFINE= STATIC
+
STATIC_CONFIGURE_ENV+= LDSTATIC=-static
post-patch:
diff --git a/shells/pdksh/distinfo b/shells/pdksh/distinfo
index b33ee79c697b..944a9386cfd9 100644
--- a/shells/pdksh/distinfo
+++ b/shells/pdksh/distinfo
@@ -1,6 +1,7 @@
+TIMESTAMP = 1709153455
SHA256 (pdksh-5.2.14.tar.gz) = ab15bcdd50f291edc632bca351b2edce5405d4f2ce3854d3d548d721ab9bbfa6
SIZE (pdksh-5.2.14.tar.gz) = 480107
-SHA256 (pdksh-5.2.14-patches.1) = b4adfc47e4d78eb8718ee10f7ffafc218b0e9d453413456fab263985ae02d356
-SIZE (pdksh-5.2.14-patches.1) = 4435
-SHA256 (pdksh-5.2.14-patches.2) = 82041113e0b3aeca57bb9b161257b43d9f8eba95fd450d2287666e77e6209afd
-SIZE (pdksh-5.2.14-patches.2) = 1917
+SHA256 (pdksh-5.2.14-patches.1.gz) = 883a5cec5e50c954361b35c2f307b0909c8a1f38caf4918ddefc00878542f26d
+SIZE (pdksh-5.2.14-patches.1.gz) = 1998
+SHA256 (pdksh-5.2.14-patches.2.gz) = 4235b00b49ac3e7d979b502f5c8d599c6e73c325145b4ef593f84d2b630238f6
+SIZE (pdksh-5.2.14-patches.2.gz) = 796
diff --git a/shells/pdksh/files/patch-Makefile.in b/shells/pdksh/files/patch-Makefile.in
index be9aa7a405de..280f78515823 100644
--- a/shells/pdksh/files/patch-Makefile.in
+++ b/shells/pdksh/files/patch-Makefile.in
@@ -7,7 +7,7 @@
-bindir = $(exec_prefix)/bin
-mandir = $(prefix)/man/man$(manext)
+bindir = $(DESTDIR)$(exec_prefix)/bin
-+mandir = $(DESTDIR)$(prefix)/man/man$(manext)
++mandir = $(DESTDIR)$(prefix)/share/man/man$(manext)
manext = 1
# Suffix for executables: nothing for unix, .exe for os/2.
diff --git a/shells/pdksh/pkg-plist b/shells/pdksh/pkg-plist
index 71a8054ab011..ea0f61a9f226 100644
--- a/shells/pdksh/pkg-plist
+++ b/shells/pdksh/pkg-plist
@@ -1,2 +1,2 @@
@shell bin/ksh
-man/man1/ksh.1.gz
+share/man/man1/ksh.1.gz