aboutsummaryrefslogtreecommitdiff
path: root/shells/vshnu
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2004-03-22 15:30:06 +0000
committerClement Laforet <clement@FreeBSD.org>2004-03-22 15:30:06 +0000
commitf8e5f5ce76ebc80f58db8e79efe933c96d209659 (patch)
tree6cb8e89de6b117c11c9cbe6c93426b25b8a43d27 /shells/vshnu
parentf1e16e48bbd51bbc385bab6db34e2c00ccfd5d12 (diff)
downloadports-f8e5f5ce76ebc80f58db8e79efe933c96d209659.tar.gz
ports-f8e5f5ce76ebc80f58db8e79efe933c96d209659.zip
Notes
Diffstat (limited to 'shells/vshnu')
-rw-r--r--shells/vshnu/Makefile16
-rw-r--r--shells/vshnu/distinfo4
-rw-r--r--shells/vshnu/pkg-plist2
3 files changed, 11 insertions, 11 deletions
diff --git a/shells/vshnu/Makefile b/shells/vshnu/Makefile
index d3ac27d9e9ae..bcb8e0355ff9 100644
--- a/shells/vshnu/Makefile
+++ b/shells/vshnu/Makefile
@@ -7,24 +7,22 @@
#
PORTNAME= vshnu
-PORTVERSION= 1.0107
+PORTVERSION= 1.0115
CATEGORIES= shells perl5
MASTER_SITES= http://www.cs.indiana.edu/~kinzler/vshnu/
MAINTAINER= ports@FreeBSD.org
COMMENT= New Visual Shell
-.include <bsd.port.pre.mk>
-
BUILD_DEPENDS= ${SITE_PERL}/Term/Screen.pm:${PORTSDIR}/devel/p5-Term-Screen
-
-# perl 5.6.0
-.if ${OSVERSION} < 500007
-BUILD_DEPENDS+= ${SITE_PERL}/Term/ANSIColor.pm:${PORTSDIR}/devel/p5-Term-ANSIColor
-.endif
-
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 50060
+BUILD_DEPENDS+= ${SITE_PERL}/Term/ANSIColor.pm:${PORTSDIR}/devel/p5-Term-ANSIColor
+.endif
+
.include <bsd.port.post.mk>
diff --git a/shells/vshnu/distinfo b/shells/vshnu/distinfo
index f5a021a53bdc..c20179dcfb0b 100644
--- a/shells/vshnu/distinfo
+++ b/shells/vshnu/distinfo
@@ -1,2 +1,2 @@
-MD5 (vshnu-1.0107.tar.gz) = f4c4da9d6051bfdc317dabebc699b361
-SIZE (vshnu-1.0107.tar.gz) = 55890
+MD5 (vshnu-1.0115.tar.gz) = bd8c7666cdb9bb053c0e38bdf7eff4cb
+SIZE (vshnu-1.0115.tar.gz) = 58093
diff --git a/shells/vshnu/pkg-plist b/shells/vshnu/pkg-plist
index 08ef320d88f7..59e360ff8209 100644
--- a/shells/vshnu/pkg-plist
+++ b/shells/vshnu/pkg-plist
@@ -1,4 +1,6 @@
bin/vshnu
+@exec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak; echo %D/%F) >/etc/shells
+@unexec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak) >/etc/shells
%%SITE_PERL%%/vshnucfg.pl
%%SITE_PERL%%/%%PERL_ARCH%%/auto/vshnu/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/vshnu