aboutsummaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
Diffstat (limited to 'shells')
-rw-r--r--shells/perlsh/Makefile37
-rw-r--r--shells/perlsh/distinfo1
-rw-r--r--shells/perlsh/pkg-comment1
-rw-r--r--shells/perlsh/pkg-descr4
-rw-r--r--shells/perlsh/pkg-plist10
-rw-r--r--shells/psh/Makefile37
-rw-r--r--shells/psh/distinfo1
-rw-r--r--shells/psh/pkg-comment1
-rw-r--r--shells/psh/pkg-descr4
-rw-r--r--shells/psh/pkg-plist10
10 files changed, 106 insertions, 0 deletions
diff --git a/shells/perlsh/Makefile b/shells/perlsh/Makefile
new file mode 100644
index 000000000000..fd310560a7e0
--- /dev/null
+++ b/shells/perlsh/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: perlsh
+# Version required: 0.004pre2
+# Date created: 11 Dec 1999
+# Whom: Will Andrews <andrews@technologist.com>
+#
+# $FreeBSD$
+#
+
+DISTNAME= psh-0.004pre2
+CATEGORIES= shells
+MASTER_SITES= http://www.focusresearch.com/gregor/psh/
+
+MAINTAINER= andrews@technologist.com
+
+do-build:
+ @(cd ${WRKSRC} && ${PERL} Makefile.PL && ${MAKE})
+
+post-build:
+ @${PERL} -pi -e "s/\/usr\/local\/bin\/perl/\/usr\/bin\/perl/g" ${WRKSRC}/psh
+
+do-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/perlsh
+.for DOC in CHANGES MANIFEST README TODO psh.NEWS pshrc test.pl psh.pod
+ @${INSTALL_DATA} ${WRKSRC}/${DOC} ${PREFIX}/share/perlsh
+.endfor
+.endif
+ @${INSTALL_SCRIPT} ${WRKSRC}/psh ${PREFIX}/bin
+
+post-install:
+ @${ECHO} "Updating /etc/shells"
+ @${CP} /etc/shells /etc/shells.bak
+ @(${GREP} -v ${PREFIX}/bin/psh /etc/shells.bak; \
+ ${ECHO} ${PREFIX}/bin/psh) > /etc/shells
+ @${RM} /etc/shells.bak
+
+.include <bsd.port.mk>
diff --git a/shells/perlsh/distinfo b/shells/perlsh/distinfo
new file mode 100644
index 000000000000..75c2db0f9e8a
--- /dev/null
+++ b/shells/perlsh/distinfo
@@ -0,0 +1 @@
+MD5 (psh-0.004pre2.tar.gz) = 9b8f0ef1bd3708cb8fa4101ab4d6c1b4
diff --git a/shells/perlsh/pkg-comment b/shells/perlsh/pkg-comment
new file mode 100644
index 000000000000..eecef2c36cd5
--- /dev/null
+++ b/shells/perlsh/pkg-comment
@@ -0,0 +1 @@
+New shell made entirely out of a Perl script.
diff --git a/shells/perlsh/pkg-descr b/shells/perlsh/pkg-descr
new file mode 100644
index 000000000000..f0e2a2dfd58c
--- /dev/null
+++ b/shells/perlsh/pkg-descr
@@ -0,0 +1,4 @@
+Perl Shell is a new shell that combines the power of bash
+and several other shells with the power of perl programming.
+
+WWW: http://www.focusresearch.com/gregor/psh/index.html
diff --git a/shells/perlsh/pkg-plist b/shells/perlsh/pkg-plist
new file mode 100644
index 000000000000..ac3a1eb131e4
--- /dev/null
+++ b/shells/perlsh/pkg-plist
@@ -0,0 +1,10 @@
+bin/psh
+share/perlsh/CHANGES
+share/perlsh/MANIFEST
+share/perlsh/README
+share/perlsh/TODO
+share/perlsh/psh.NEWS
+share/perlsh/pshrc
+share/perlsh/test.pl
+share/perlsh/psh.pod
+@dirrm share/perlsh
diff --git a/shells/psh/Makefile b/shells/psh/Makefile
new file mode 100644
index 000000000000..fd310560a7e0
--- /dev/null
+++ b/shells/psh/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: perlsh
+# Version required: 0.004pre2
+# Date created: 11 Dec 1999
+# Whom: Will Andrews <andrews@technologist.com>
+#
+# $FreeBSD$
+#
+
+DISTNAME= psh-0.004pre2
+CATEGORIES= shells
+MASTER_SITES= http://www.focusresearch.com/gregor/psh/
+
+MAINTAINER= andrews@technologist.com
+
+do-build:
+ @(cd ${WRKSRC} && ${PERL} Makefile.PL && ${MAKE})
+
+post-build:
+ @${PERL} -pi -e "s/\/usr\/local\/bin\/perl/\/usr\/bin\/perl/g" ${WRKSRC}/psh
+
+do-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/perlsh
+.for DOC in CHANGES MANIFEST README TODO psh.NEWS pshrc test.pl psh.pod
+ @${INSTALL_DATA} ${WRKSRC}/${DOC} ${PREFIX}/share/perlsh
+.endfor
+.endif
+ @${INSTALL_SCRIPT} ${WRKSRC}/psh ${PREFIX}/bin
+
+post-install:
+ @${ECHO} "Updating /etc/shells"
+ @${CP} /etc/shells /etc/shells.bak
+ @(${GREP} -v ${PREFIX}/bin/psh /etc/shells.bak; \
+ ${ECHO} ${PREFIX}/bin/psh) > /etc/shells
+ @${RM} /etc/shells.bak
+
+.include <bsd.port.mk>
diff --git a/shells/psh/distinfo b/shells/psh/distinfo
new file mode 100644
index 000000000000..75c2db0f9e8a
--- /dev/null
+++ b/shells/psh/distinfo
@@ -0,0 +1 @@
+MD5 (psh-0.004pre2.tar.gz) = 9b8f0ef1bd3708cb8fa4101ab4d6c1b4
diff --git a/shells/psh/pkg-comment b/shells/psh/pkg-comment
new file mode 100644
index 000000000000..eecef2c36cd5
--- /dev/null
+++ b/shells/psh/pkg-comment
@@ -0,0 +1 @@
+New shell made entirely out of a Perl script.
diff --git a/shells/psh/pkg-descr b/shells/psh/pkg-descr
new file mode 100644
index 000000000000..f0e2a2dfd58c
--- /dev/null
+++ b/shells/psh/pkg-descr
@@ -0,0 +1,4 @@
+Perl Shell is a new shell that combines the power of bash
+and several other shells with the power of perl programming.
+
+WWW: http://www.focusresearch.com/gregor/psh/index.html
diff --git a/shells/psh/pkg-plist b/shells/psh/pkg-plist
new file mode 100644
index 000000000000..ac3a1eb131e4
--- /dev/null
+++ b/shells/psh/pkg-plist
@@ -0,0 +1,10 @@
+bin/psh
+share/perlsh/CHANGES
+share/perlsh/MANIFEST
+share/perlsh/README
+share/perlsh/TODO
+share/perlsh/psh.NEWS
+share/perlsh/pshrc
+share/perlsh/test.pl
+share/perlsh/psh.pod
+@dirrm share/perlsh