aboutsummaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-12-11 02:19:19 +0000
committerSteve Price <steve@FreeBSD.org>2000-12-11 02:19:19 +0000
commit85c67c3149f422262229302d7a16ebf4d0a582f3 (patch)
tree6fa791f8ce2071b552bfdfdf23f18e3ea8206127 /shells
parentbf10cfecae59535c4561a6487876a0deb1e83a2d (diff)
downloadports-85c67c3149f422262229302d7a16ebf4d0a582f3.tar.gz
ports-85c67c3149f422262229302d7a16ebf4d0a582f3.zip
Notes
Diffstat (limited to 'shells')
-rw-r--r--shells/tcsh/Makefile29
-rw-r--r--shells/tcsh/distinfo2
-rw-r--r--shells/tcsh/files/extra-patch-host.defs (renamed from shells/tcsh/files/patch-ad)0
3 files changed, 15 insertions, 16 deletions
diff --git a/shells/tcsh/Makefile b/shells/tcsh/Makefile
index bdf604de268f..65c19c283abc 100644
--- a/shells/tcsh/Makefile
+++ b/shells/tcsh/Makefile
@@ -6,11 +6,10 @@
#
PORTNAME= tcsh
-PORTVERSION= 6.09.03
-PORTREVISION= 1
+PORTVERSION= 6.10.00
CATEGORIES= shells
-MASTER_SITES= ${MASTER_SITE_TCSH}
-DISTNAME= ${DISTNAME_TCSH}
+MASTER_SITES= http://www2.wbs.ne.jp/~znc/tcsh/
+DISTNAME= ${PORTNAME}-${PORTVERSION:R}
MAINTAINER= ports@FreeBSD.org
@@ -18,32 +17,30 @@ Y2K= ftp://ftp.astron.com/pub/tcsh/Y2K
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 400021
+DISTFILES= # empty
NO_BUILD= yes
PLIST= ${PKGDIR}/pkg-plist.nobuild
-DISTFILES= # empty
-
-do-patch:
.else
-GNU_CONFIGURE= yes
+EXTRA_PATCHES= ${FILESDIR}/extra-patch-host.defs
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+GNU_CONFIGURE= yes
ALL_TARGET= all catalogs
-INSTALL_TARGET= install install.man
MAN1= tcsh.1
-MASTER_SITE_TCSH= http://www2.wbs.ne.jp/~znc/tcsh/
-DISTNAME_TCSH= ${PORTNAME}-${PORTVERSION}
+BINOWN= bin
+BINGRP= bin
.endif
.if ${OSVERSION} >= 400021
-pre-fetch:
+pre-everything:
@${ECHO_MSG} "This port is just for making symlink from /bin/tcsh"
@${ECHO_MSG} "to ${PREFIX}/bin/tcsh and updating /etc/shells."
do-install:
${LN} -sf /bin/tcsh ${PREFIX}/bin/tcsh
.else
-post-install:
- ${CHOWN} bin.bin ${PREFIX}/bin/tcsh
- ${CHOWN} bin.bin ${PREFIX}/man/man1/tcsh.1
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/tcsh ${PREFIX}/bin/tcsh
+ ${INSTALL_MAN} ${WRKSRC}/tcsh.man ${MANPREFIX}/man/man1/tcsh.1
${INSTALL_DATA} ${WRKSRC}/tcsh.C.cat ${PREFIX}/share/nls/C/tcsh.cat
${INSTALL_DATA} ${WRKSRC}/tcsh.german.cat ${PREFIX}/share/nls/de_DE.ISO_8859-1/tcsh.cat
${LN} -sf ${PREFIX}/share/nls/de_DE.ISO_8859-1/tcsh.cat ${PREFIX}/share/nls/de_AT.ISO_8859-1/tcsh.cat
@@ -58,6 +55,8 @@ post-install:
${LN} -sf ${PREFIX}/share/nls/fr_FR.ISO_8859-1/tcsh.cat ${PREFIX}/share/nls/fr_CH.ISO_8859-1/tcsh.cat
${INSTALL_DATA} ${WRKSRC}/tcsh.italian.cat ${PREFIX}/share/nls/it_IT.ISO_8859-1/tcsh.cat
.endif
+
+post-install:
@${ECHO} "Updating /etc/shells"
@${CP} /etc/shells /etc/shells.bak
@(${GREP} -v ${PREFIX}/bin/tcsh /etc/shells.bak; \
diff --git a/shells/tcsh/distinfo b/shells/tcsh/distinfo
index d8538a20dbba..9579f2d38803 100644
--- a/shells/tcsh/distinfo
+++ b/shells/tcsh/distinfo
@@ -1 +1 @@
-MD5 (tcsh-6.09.03.tar.gz) = 8fffe820e2cba4666f9a228ffffd65e5
+MD5 (tcsh-6.10.tar.gz) = f459c423074d85dfaa55439eb908a053
diff --git a/shells/tcsh/files/patch-ad b/shells/tcsh/files/extra-patch-host.defs
index c82572be82ff..c82572be82ff 100644
--- a/shells/tcsh/files/patch-ad
+++ b/shells/tcsh/files/extra-patch-host.defs