[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / shells / standalone-tcsh

File: [cvs.NetBSD.org] / pkgsrc / shells / standalone-tcsh / Makefile (download)

Revision 1.24, Sun Jan 11 02:15:51 2015 UTC (6 years, 8 months ago) by dholland
Branch: MAIN
Changes since 1.23: +5 -5 lines

Mark this ONLY_FOR_PLATFORM and list the platforms where tcsh is *not*
already in /bin. Otherwise, building and installing it naively clobbers
the native tcsh, which isn't what anyone wants.

I believe these platforms to be: NetBSD, OpenBSD, Solaris -- if anyone
can confirm that others (especially old ones I can't readily check)
don't have a native tcsh, please add.

# $NetBSD: Makefile,v 1.24 2015/01/11 02:15:51 dholland Exp $

# FIXME: This is because of PREFIX=/ below.

PKGNAME=		standalone-${DISTNAME}

PATCHDIR=		${.CURDIR}/../../shells/tcsh/patches

# This package only makes sense on platforms that don't themselves ship tcsh
# in /bin. Otherwise it clobbers the native copy, which really isn't what
# anyone wants.
ONLY_FOR_PLATFORM+=	NetBSD-*-* OpenBSD-*-* SunOS-*-*

.include "../../shells/tcsh/Makefile"

INSTALLATION_DIRS+=	usr/share/man/man1

COMMENT:=		Standalone version of the Extended C-shell

# FIXME: Packages shall only install into ${LOCALBASE} or a subdirectory.

NLSDIR=			usr/share/nls
CONFIGURE_ARGS+=	--bindir=/bin
CONFIGURE_ARGS+=	--mandir=/usr/share/man

DISTINFO_FILE=		${.CURDIR}/../../shells/tcsh/distinfo

.if ${OPSYS} != "SunOS"
LDFLAGS+=		-static