summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorkim <kim@pkgsrc.org>2021-11-14 22:36:12 +0000
committerkim <kim@pkgsrc.org>2021-11-14 22:36:12 +0000
commitb33c378ccf4f9ee8c3135e9eb61630e5931a2b54 (patch)
tree0fe2ba81012c5dd0a9f078668280de395a269f80 /shells
parentac1cb3023ce578c2937b4e38e7774ac93d2c6cf7 (diff)
downloadpkgsrc-b33c378ccf4f9ee8c3135e9eb61630e5931a2b54.tar.gz
standalone-tcsh: Use ../../shells/tcsh/Makefile.common
Additionally, since the binary package will not include the locale catalogues, disable building them (and unnecessarily stuffing them in DESTDIR/share/locale). Finally, fix installation of example files, so that the completion rules (and csh-mode.el) are included with the package.
Diffstat (limited to 'shells')
-rw-r--r--shells/standalone-tcsh/Makefile10
-rw-r--r--shells/standalone-tcsh/PLIST4
2 files changed, 9 insertions, 5 deletions
diff --git a/shells/standalone-tcsh/Makefile b/shells/standalone-tcsh/Makefile
index 913f401c2f7..6f08b3c7840 100644
--- a/shells/standalone-tcsh/Makefile
+++ b/shells/standalone-tcsh/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2021/11/14 22:15:13 kim Exp $
+# $NetBSD: Makefile,v 1.34 2021/11/14 22:36:12 kim Exp $
#
# FIXME: This is because of PREFIX=/ below.
@@ -6,7 +6,7 @@ CHECK_FILES_SUPPORTED= no
NOT_FOR_UNPRIVILEGED= yes
PKGNAME= standalone-${DISTNAME}
-PKGREVISION= 1 # ALWAYS needs to be set; 0 if none.
+PKGREVISION= 1
WRKSRC= ${WRKDIR}/${DISTNAME}
PATCHDIR= ${.CURDIR}/../../shells/tcsh/patches
@@ -22,8 +22,8 @@ ONLY_FOR_PLATFORM+= NetBSD-*-* OpenBSD-*-* SunOS-*-*
NOT_FOR_PLATFORM+= SunOS-*-*
.endif
-# XXX This should use Makefile.common, not Makefile
-.include "../../shells/tcsh/Makefile"
+.include "../../shells/tcsh/Makefile.common"
+.include "../../mk/bsd.pkg.mk"
INSTALLATION_DIRS+= usr/share/man/man1
@@ -32,12 +32,14 @@ MAINTAINER= agc@NetBSD.org
# FIXME: Packages shall only install into ${LOCALBASE} or a subdirectory.
PREFIX= /
+EGDIR= /usr/share/examples/tcsh
NOT_FOR_BULK_PLATFORM= *-*-*
NLSDIR= usr/share/nls
CONFIGURE_ARGS+= --prefix=${PREFIX:Q}
CONFIGURE_ARGS+= --bindir=/bin
CONFIGURE_ARGS+= --mandir=/usr/share/man
+CONFIGURE_ARGS+= --disable-nls-catalogs
DISTINFO_FILE= ${.CURDIR}/../../shells/tcsh/distinfo
diff --git a/shells/standalone-tcsh/PLIST b/shells/standalone-tcsh/PLIST
index 287e8ac8b91..0f941c98037 100644
--- a/shells/standalone-tcsh/PLIST
+++ b/shells/standalone-tcsh/PLIST
@@ -1,3 +1,5 @@
-@comment $NetBSD: PLIST,v 1.4 2004/01/11 23:06:54 grant Exp $
+@comment $NetBSD: PLIST,v 1.5 2021/11/14 22:36:12 kim Exp $
bin/tcsh
+usr/share/examples/tcsh/complete.tcsh
+usr/share/examples/tcsh/csh-mode.el
usr/share/man/man1/tcsh.1