From 5c67daa389e7ee14eeb9e86c6afe87ec806aee66 Mon Sep 17 00:00:00 2001 From: hauke Date: Tue, 20 Jan 2015 11:00:32 +0000 Subject: Install complete.tcsh and csh-mode.el files as example files. Fixes PR pkg/32283 --- shells/tcsh/Makefile | 13 ++++++++++--- shells/tcsh/PLIST | 4 +++- 2 files changed, 13 insertions(+), 4 deletions(-) (limited to 'shells') 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 -- cgit v1.2.3