notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Some details on the 2023-01-16 website outage.
We just rebooted with several updates: * new HMTLify code * no port maintainer is now highly visible (e.g. * fixed search logic error when using plain/ text details at
Port details
psh New shell made entirely out of a Perl script
1.8.1_4 shells on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Version of this port present on the latest quarterly branch.
Maintainer: search for ports maintained by this maintainer
Port Added: 2007-08-13 13:28:37
Last Update: 2022-09-07 21:58:51
Commit Hash: fb16dfe
Also Listed In: perl5
License: not specified in port
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb
pkg-plist: as obtained via: make generate-plist
Expand this list (183 items)
Collapse this list.
  1. @shell bin/psh
  2. share/psh/complete/debian
  3. share/psh/complete/perl
  4. share/psh/complete/standard
  5. share/psh/themes/aix
  6. share/psh/themes/blank
  7. share/psh/themes/blight
  8. share/psh/themes/bold
  9. share/psh/themes/clock
  10. share/psh/themes/combo
  11. share/psh/themes/cyngus
  12. share/psh/themes/elite2
  13. share/psh/themes/fade
  14. share/psh/themes/gilbert
  15. share/psh/themes/hermann
  16. share/psh/themes/kax
  17. share/psh/themes/largo
  18. share/psh/themes/lxtips2
  19. share/psh/themes/nate
  20. share/psh/themes/nextstep
  21. share/psh/themes/openbsd
  22. share/psh/themes/plan-9
  23. share/psh/themes/rasterman
  24. share/psh/themes/simple
  25. share/psh/themes/stereophonic
  26. share/psh/themes/sunos
  27. share/psh/themes/vms
  28. lib/perl5/site_perl/
  29. lib/perl5/site_perl/Psh/Builtins/
  30. lib/perl5/site_perl/Psh/Builtins/
  31. lib/perl5/site_perl/Psh/Builtins/
  32. lib/perl5/site_perl/Psh/Builtins/
  33. lib/perl5/site_perl/Psh/Builtins/
  34. lib/perl5/site_perl/Psh/Builtins/
  35. lib/perl5/site_perl/Psh/Builtins/
  36. lib/perl5/site_perl/Psh/Builtins/
  37. lib/perl5/site_perl/Psh/Builtins/
  38. lib/perl5/site_perl/Psh/Builtins/
  39. lib/perl5/site_perl/Psh/Builtins/
  40. lib/perl5/site_perl/Psh/Builtins/
  41. lib/perl5/site_perl/Psh/Builtins/
  42. lib/perl5/site_perl/Psh/Builtins/Fallback/
  43. lib/perl5/site_perl/Psh/Builtins/Fallback/
  44. lib/perl5/site_perl/Psh/Builtins/
  45. lib/perl5/site_perl/Psh/Builtins/
  46. lib/perl5/site_perl/Psh/Builtins/
  47. lib/perl5/site_perl/Psh/Builtins/
  48. lib/perl5/site_perl/Psh/Builtins/
  49. lib/perl5/site_perl/Psh/Builtins/
  50. lib/perl5/site_perl/Psh/Builtins/
  51. lib/perl5/site_perl/Psh/Builtins/
  52. lib/perl5/site_perl/Psh/Builtins/
  53. lib/perl5/site_perl/Psh/Builtins/
  54. lib/perl5/site_perl/Psh/Builtins/
  55. lib/perl5/site_perl/Psh/Builtins/
  56. lib/perl5/site_perl/Psh/Builtins/
  57. lib/perl5/site_perl/Psh/Builtins/
  58. lib/perl5/site_perl/Psh/Builtins/
  59. lib/perl5/site_perl/Psh/Builtins/
  60. lib/perl5/site_perl/Psh/Builtins/
  61. lib/perl5/site_perl/Psh/Builtins/
  62. lib/perl5/site_perl/Psh/Builtins/
  63. lib/perl5/site_perl/Psh/Builtins/
  64. lib/perl5/site_perl/Psh/Builtins/
  65. lib/perl5/site_perl/Psh/Builtins/
  66. lib/perl5/site_perl/Psh/Builtins/
  67. lib/perl5/site_perl/Psh/Builtins/
  68. lib/perl5/site_perl/Psh/Builtins/
  69. lib/perl5/site_perl/Psh/Builtins/
  70. lib/perl5/site_perl/Psh/Builtins/
  71. lib/perl5/site_perl/Psh/Builtins/
  72. lib/perl5/site_perl/Psh/Builtins/
  73. lib/perl5/site_perl/Psh/
  74. lib/perl5/site_perl/Psh/
  75. lib/perl5/site_perl/Psh/
  76. lib/perl5/site_perl/Psh/Locale/
  77. lib/perl5/site_perl/Psh/Locale/
  78. lib/perl5/site_perl/Psh/Locale/
  79. lib/perl5/site_perl/Psh/Locale/
  80. lib/perl5/site_perl/Psh/Locale/
  81. lib/perl5/site_perl/Psh/Locale/
  82. lib/perl5/site_perl/Psh/
  83. lib/perl5/site_perl/Psh/OS/
  84. lib/perl5/site_perl/Psh/OS/
  85. lib/perl5/site_perl/Psh/
  86. lib/perl5/site_perl/Psh/
  87. lib/perl5/site_perl/Psh/
  88. lib/perl5/site_perl/Psh/
  89. lib/perl5/site_perl/Psh/
  90. lib/perl5/site_perl/Psh/
  91. lib/perl5/site_perl/Psh/Strategy/
  92. lib/perl5/site_perl/Psh/Strategy/
  93. lib/perl5/site_perl/Psh/Strategy/
  94. lib/perl5/site_perl/Psh/Strategy/
  95. lib/perl5/site_perl/Psh/Strategy/
  96. lib/perl5/site_perl/Psh/Strategy/
  97. lib/perl5/site_perl/Psh/Strategy/
  98. lib/perl5/site_perl/Psh/Strategy/
  99. lib/perl5/site_perl/Psh/Strategy/
  100. lib/perl5/site_perl/Psh/Strategy/
  101. lib/perl5/site_perl/Psh/Strategy/
  102. lib/perl5/site_perl/Psh/Strategy/
  103. lib/perl5/site_perl/Psh/Strategy/
  104. lib/perl5/site_perl/Psh/Strategy/
  105. lib/perl5/site_perl/Psh/
  106. lib/perl5/site_perl/Psh/Support/
  107. lib/perl5/site_perl/Psh/Support/
  108. lib/perl5/site_perl/Psh/Support/
  109. lib/perl5/site_perl/Psh/Support/
  110. lib/perl5/site_perl/Psh/Support/
  111. lib/perl5/site_perl/Psh/Support/
  112. lib/perl5/site_perl/Psh/Support/
  113. lib/perl5/site_perl/Psh/
  114. lib/perl5/site_perl/man/man1/psh.1.gz
  115. lib/perl5/site_perl/man/man1/pshcomplete.1.gz
  116. lib/perl5/site_perl/man/man1/pshconfig.1.gz
  117. lib/perl5/site_perl/man/man1/pshdevel.1.gz
  118. lib/perl5/site_perl/man/man3/Psh::Builtins::Alias.3.gz
  119. lib/perl5/site_perl/man/man3/Psh::Builtins::Bg.3.gz
  120. lib/perl5/site_perl/man/man3/Psh::Builtins::Bind.3.gz
  121. lib/perl5/site_perl/man/man3/Psh::Builtins::Builtin.3.gz
  122. lib/perl5/site_perl/man/man3/Psh::Builtins::Cd.3.gz
  123. lib/perl5/site_perl/man/man3/Psh::Builtins::Complete.3.gz
  124. lib/perl5/site_perl/man/man3/Psh::Builtins::Delenv.3.gz
  125. lib/perl5/site_perl/man/man3/Psh::Builtins::Dirs.3.gz
  126. lib/perl5/site_perl/man/man3/Psh::Builtins::Drives.3.gz
  127. lib/perl5/site_perl/man/man3/Psh::Builtins::Exit.3.gz
  128. lib/perl5/site_perl/man/man3/Psh::Builtins::Export.3.gz
  129. lib/perl5/site_perl/man/man3/Psh::Builtins::Fallback::Env.3.gz
  130. lib/perl5/site_perl/man/man3/Psh::Builtins::Fallback::Ls.3.gz
  131. lib/perl5/site_perl/man/man3/Psh::Builtins::Fc.3.gz
  132. lib/perl5/site_perl/man/man3/Psh::Builtins::Fg.3.gz
  133. lib/perl5/site_perl/man/man3/Psh::Builtins::Firsttime.3.gz
  134. lib/perl5/site_perl/man/man3/Psh::Builtins::Forfile.3.gz
  135. lib/perl5/site_perl/man/man3/Psh::Builtins::Function.3.gz
  136. lib/perl5/site_perl/man/man3/Psh::Builtins::Hash.3.gz
  137. lib/perl5/site_perl/man/man3/Psh::Builtins::Help.3.gz
  138. lib/perl5/site_perl/man/man3/Psh::Builtins::History.3.gz
  139. lib/perl5/site_perl/man/man3/Psh::Builtins::Jobs.3.gz
  140. lib/perl5/site_perl/man/man3/Psh::Builtins::Kill.3.gz
  141. lib/perl5/site_perl/man/man3/Psh::Builtins::Modules.3.gz
  142. lib/perl5/site_perl/man/man3/Psh::Builtins::Option.3.gz
  143. lib/perl5/site_perl/man/man3/Psh::Builtins::Package.3.gz
  144. lib/perl5/site_perl/man/man3/Psh::Builtins::Printenv.3.gz
  145. lib/perl5/site_perl/man/man3/Psh::Builtins::Readline.3.gz
  146. lib/perl5/site_perl/man/man3/Psh::Builtins::Rehash.3.gz
  147. lib/perl5/site_perl/man/man3/Psh::Builtins::Rename.3.gz
  148. lib/perl5/site_perl/man/man3/Psh::Builtins::Set.3.gz
  149. lib/perl5/site_perl/man/man3/Psh::Builtins::Setenv.3.gz
  150. lib/perl5/site_perl/man/man3/Psh::Builtins::Source.3.gz
  151. lib/perl5/site_perl/man/man3/Psh::Builtins::Strategy.3.gz
  152. lib/perl5/site_perl/man/man3/Psh::Builtins::Sudo.3.gz
  153. lib/perl5/site_perl/man/man3/Psh::Builtins::Symbols.3.gz
  154. lib/perl5/site_perl/man/man3/Psh::Builtins::Theme.3.gz
  155. lib/perl5/site_perl/man/man3/Psh::Builtins::Tieopt.3.gz
  156. lib/perl5/site_perl/man/man3/Psh::Builtins::Unalias.3.gz
  157. lib/perl5/site_perl/man/man3/Psh::Builtins::Which.3.gz
  158. lib/perl5/site_perl/man/man3/Psh::Completion.3.gz
  159. lib/perl5/site_perl/man/man3/Psh::Joblist.3.gz
  160. lib/perl5/site_perl/man/man3/Psh::Locale.3.gz
  161. lib/perl5/site_perl/man/man3/Psh::Locale::Default.3.gz
  162. lib/perl5/site_perl/man/man3/Psh::OS.3.gz
  163. lib/perl5/site_perl/man/man3/Psh::OS::Win.3.gz
  164. lib/perl5/site_perl/man/man3/Psh::Parser.3.gz
  165. lib/perl5/site_perl/man/man3/Psh::PerlEval.3.gz
  166. lib/perl5/site_perl/man/man3/Psh::Strategy.3.gz
  167. lib/perl5/site_perl/man/man3/Psh::StrategyBunch.3.gz
  168. lib/perl5/site_perl/man/man3/Psh::Strategy::Auto_cd.3.gz
  169. lib/perl5/site_perl/man/man3/Psh::Strategy::Auto_resume.3.gz
  170. lib/perl5/site_perl/man/man3/Psh::Strategy::Bang.3.gz
  171. lib/perl5/site_perl/man/man3/Psh::Strategy::Brace.3.gz
  172. lib/perl5/site_perl/man/man3/Psh::Strategy::Darwin_apps.3.gz
  173. lib/perl5/site_perl/man/man3/Psh::Strategy::Debug.3.gz
  174. lib/perl5/site_perl/man/man3/Psh::Strategy::Eval.3.gz
  175. lib/perl5/site_perl/man/man3/Psh::Strategy::Executable.3.gz
  176. lib/perl5/site_perl/man/man3/Psh::Strategy::Fallback_builtin.3.gz
  177. lib/perl5/site_perl/man/man3/Psh::Strategy::Perl.3.gz
  178. lib/perl5/site_perl/man/man3/Psh::Strategy::Perlfunc.3.gz
  179. lib/perl5/site_perl/man/man3/Psh::Strategy::Perlfunc_heavy.3.gz
  180. lib/perl5/site_perl/man/man3/Psh::Strategy::Perlscript.3.gz
  181. @owner
  182. @group
  183. @mode
Collapse this list.
Dependency lines:
  • psh>0:shells/psh
To install the port:
cd /usr/ports/shells/psh/ && make install clean
To add the package, run one of these commands:
  • pkg install shells/psh
  • pkg install psh
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
Flavors: there is no flavor information for this port.

Packages (timestamps in pop-ups are UTC):
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. perl5>=5.32.r0<5.33 : lang/perl5.32
Runtime dependencies:
  1. : devel/p5-Term-ReadLine-Perl
  2. perl5>=5.32.r0<5.33 : lang/perl5.32
There are no ports dependent upon this port

Configuration Options:
Options name:
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (13 items)
Collapse this list.
Collapse this list.

Number of commits found: 23

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
07 Sep 2022 21:58:51
commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
07 Sep 2022 21:10:59
commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
20 Jul 2022 14:22:59
commit hash:c3cc2da090370ea7d1a9ee06fd5a8fdc5ffc4dd8commit hash:c3cc2da090370ea7d1a9ee06fd5a8fdc5ffc4dd8commit hash:c3cc2da090370ea7d1a9ee06fd5a8fdc5ffc4dd8commit hash:c3cc2da090370ea7d1a9ee06fd5a8fdc5ffc4dd8 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
shells: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  Adam Weinberger <>
  *  Andreas Kohn <>
  *  Carlos Jacobo Puga Medina <>
  *  Danijel Tasov <>
  *  David O'Brien <>
  *  Emanuel Haupt <>
  *  Hajimu UMEMOTO <>
  *  Igor Pokrovsky <>
  *  Jean-Yves Lefort <>
  *  Kai Wang <>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
06 Apr 2021 14:31:07
commit hash:305f148f482daf30dcf728039d03d019f88344ebcommit hash:305f148f482daf30dcf728039d03d019f88344ebcommit hash:305f148f482daf30dcf728039d03d019f88344ebcommit hash:305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
20 Dec 2019 05:51:02
Revision:520471Original commit files touched by this commit
tobik search for other commits by this committer
shells/psh: Use @shell instead of custom reimplementation
27 May 2018 20:15:20
Revision:470993Original commit files touched by this commit
sunpoet search for other commits by this committer
Update WWW is shutting down.
It will redirect to after June 25, 2018.

With hat:	perl
01 Apr 2016 14:25:18
Revision:412349Original commit files touched by this commit
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.

With hat:	portmgr
Sponsored by:	Absolight
14 Sep 2015 12:19:50
Revision:396892Original commit files touched by this commit
mat search for other commits by this committer
Make it so that the default Perl is always called perl5.

- Move Perl's man1 files along with its man3 files.
- Move where Perl installs its modules man1 pages.
- Convert the ports installing man1 pages.
- Make different Perl versions installable at the same time.
  Though you should note that only the default version can be used to
  install Perl modules, and the non default Perl versions cannot use the
  modules installed via ports if they contain .so as they are installed
  in a version specific directory.

Reviewed by:	bapt (the Mk bits)
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:
05 Feb 2015 15:55:54
Revision:378465Original commit files touched by this commit
bapt search for other commits by this committer
Cleanup plist
26 Nov 2014 13:08:38
Revision:373448Original commit files touched by this commit
mat search for other commits by this committer
Change the way Perl modules are installed, update the default Perl to 5.18.

Before, we had:

  site_perl :           lib/perl5/site_perl/5.18
  site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
  perl_man3 :           lib/perl5/5.18/man/man3

Now we have:

  site_perl : lib/perl5/site_perl
  site_arch : lib/perl5/site_perl/mach/5.18
  perl_man3 : lib/perl5/site_perl/man/man3

Modules without any .so will be installed at the same place regardless of the
(Only the first 15 lines of the commit message are shown above View all of this commit message)
21 Jan 2014 23:40:23
Revision:340674Original commit files touched by this commit
bapt search for other commits by this committer
Fix properties on pkg-plist
23 Oct 2013 23:38:12
Revision:331448Original commit files touched by this commit
garga search for other commits by this committer
. Support staging
. Add devel/p5-Term-ReadLine-Perl as dependency, as suggested by install scripts
20 Sep 2013 22:57:24
Revision:327770Original commit files touched by this commit
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
12 Sep 2013 06:27:42
Revision:327035Original commit files touched by this commit
az search for other commits by this committer
- convert to the new perl5 framework
- trim Makefile header

Approved by:	portmgr (bapt@, blanket)
14 Aug 2013 22:35:54
Revision:324744Original commit files touched by this commit Sanity Test Failure
ak search for other commits by this committer
- Remove MAKE_JOBS_SAFE variable

Approved by:	portmgr (bdrewery)
05 Oct 2012 12:41:46
Revision:305298Original commit files touched by this commit
garga search for other commits by this committer
Change headers of all ports maintained by me to new format
20 Jun 2011 09:03:27
Original commit files touched by this commit
az search for other commits by this committer
- Replace ../../authors in MASTER_SITE_SUBDIR with CPAN:CPANID macro.
  See for details.
- Change maintainership from ports@ to perl@ for ports in this changeset.
- Remove MD5 checksum
18 Mar 2011 17:59:51
Original commit files touched by this commit
miwi search for other commits by this committer
- Get Rid MD5 support

With hat:       portmgr (myself)
28 Mar 2009 17:53:24
Original commit files touched by this commit
garga search for other commits by this committer
Mark all my ports as MAKE_JOBS_SAFE and MAKE_JOBS_UNSAFE
15 Jan 2009 09:03:05
Original commit files touched by this commit
pav search for other commits by this committer
- Fix plist with perl 5.8.9
17 Apr 2008 14:30:31
Original commit files touched by this commit
araujo search for other commits by this committer
- Take advantage of CPAN macro from, change

PR:             ports/122674
Submitted by:   Philip M. Gollucci <>
Reworked by:    araujo (myself)
Approved by:    portmgr (pav)
13 Aug 2007 13:41:02
Original commit files touched by this commit
garga search for other commits by this committer
Repocopy shells/perlsh to shells/psh to reflect the correct project's name

PR:             ports/115305
Submitted by:   garga
13 Aug 2007 13:28:10
Original commit files touched by this commit
garga search for other commits by this committer
Forced commit to note it was repocopied from ports/shells/perlsh

PR:             ports/115305
Submitted by:   garga
Repocopied by:  marcus

Number of commits found: 23