summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorhauke <hauke@pkgsrc.org>2015-01-20 11:00:32 +0000
committerhauke <hauke@pkgsrc.org>2015-01-20 11:00:32 +0000
commite835f0d5e214897e7823173c29a1271fe86129a6 (patch)
tree208cbcbd5fc4c7de49a01046ecb5dec44afffe9f /shells
parent813ade00d2f5fd0730a7d005c52fc88fa9440873 (diff)
downloadpkgsrc-e835f0d5e214897e7823173c29a1271fe86129a6.tar.gz
Install complete.tcsh and csh-mode.el files as example files.
Fixes PR pkg/32283
Diffstat (limited to 'shells')
-rw-r--r--shells/tcsh/Makefile13
-rw-r--r--shells/tcsh/PLIST4
2 files changed, 13 insertions, 4 deletions
diff --git a/shells/tcsh/Makefile b/shells/tcsh/Makefile
index dbdc20c68a3..418ed6d77ce 100644
--- a/shells/tcsh/Makefile
+++ b/shells/tcsh/Makefile
@@ -1,12 +1,12 @@
-# $NetBSD: Makefile,v 1.77 2014/04/04 12:00:37 kim Exp $
+# $NetBSD: Makefile,v 1.78 2015/01/20 11:00:32 hauke Exp $
DISTNAME= tcsh-6.18.01
-PKGREVISION= 5
+PKGREVISION= 6
CATEGORIES= shells
MASTER_SITES= ftp://ftp.astron.com/pub/tcsh/ \
ftp://ftp.funet.fi/pub/unix/shells/tcsh/
-MAINTAINER= kim@netbsd.org
+MAINTAINER= kim@NetBSD.org
HOMEPAGE= http://www.tcsh.org/
COMMENT= Extended C-shell with many useful features
LICENSE= original-bsd
@@ -15,6 +15,8 @@ CONFLICTS?= static-tcsh-[0-9]*
GNU_CONFIGURE= yes
+EGDIR= ${PREFIX}/share/examples/tcsh
+
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
@@ -31,5 +33,10 @@ PKG_SHELL?= bin/tcsh
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+post-install:
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/complete.tcsh ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/csh-mode.el ${DESTDIR}${EGDIR}
+
.include "../../mk/termcap.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/shells/tcsh/PLIST b/shells/tcsh/PLIST
index 0f1ea97e1ee..b0d3bdcf09e 100644
--- a/shells/tcsh/PLIST
+++ b/shells/tcsh/PLIST
@@ -1,6 +1,8 @@
-@comment $NetBSD: PLIST,v 1.3 2014/04/04 12:00:37 kim Exp $
+@comment $NetBSD: PLIST,v 1.4 2015/01/20 11:00:32 hauke Exp $
bin/tcsh
man/man1/tcsh.1
+share/examples/tcsh/complete.tcsh
+share/examples/tcsh/csh-mode.el
share/locale/C/LC_MESSAGES/tcsh.cat
share/locale/de/LC_MESSAGES/tcsh.cat
share/locale/es/LC_MESSAGES/tcsh.cat