diff options
Diffstat (limited to 'shells/tcsh/Makefile.common')
-rw-r--r-- | shells/tcsh/Makefile.common | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/shells/tcsh/Makefile.common b/shells/tcsh/Makefile.common new file mode 100644 index 00000000000..c83ea005eee --- /dev/null +++ b/shells/tcsh/Makefile.common @@ -0,0 +1,47 @@ +# $NetBSD: Makefile.common,v 1.1 2021/11/11 22:47:55 kim Exp $ +# +# used by shells/standalone-tcsh/Makefile +# used by shells/static-tcsh/Makefile +# used by shells/tcsh/Makefile + +DISTNAME= tcsh-6.23.00 +CATEGORIES= shells +MASTER_SITES= ftp://ftp.astron.com/pub/tcsh/ +MASTER_SITES+= http://ftp.funet.fi/pub/mirrors/ftp.astron.com/pub/tcsh/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://www.tcsh.org/ +COMMENT= Extended C-shell with many useful features +LICENSE= original-bsd + +CONFLICTS= static-tcsh-[0-9]* + +GNU_CONFIGURE= yes +USE_TOOLS+= autoconf:test perl:test + +EGDIR= ${PREFIX}/share/examples/tcsh + +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "SunOS" +LOWER_OPSYS_VERSUFFIX= ${OS_VERSION:S/5./2./} +.endif + +.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS]) +# XXX Should use CONFIGURE_ENV, but the configure script disregards +# $CC_FOR_GETHOST in the environment and sets it to cc. +MAKE_FLAGS+= CC_FOR_GETHOST=${NATIVE_CC:Q} +.endif + +TEST_TARGET= check + +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" |