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

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

Revision 1.3, Tue Sep 11 23:25:08 2012 UTC (8 years, 5 months ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4, pkgsrc-2012Q3-base, pkgsrc-2012Q3
Changes since 1.2: +1 -3 lines

"user-destdir" is default these days

# $NetBSD: Makefile,v 1.3 2012/09/11 23:25:08 asau Exp $
#

DISTNAME=		heirloom-sh-050706
PKGREVISION=		2
CATEGORIES=		sysutils
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=heirloom/}
EXTRACT_SUFX=		.tar.bz2

MAINTAINER=		cheusov@NetBSD.org
HOMEPAGE=		http://heirloom.sourceforge.net/
COMMENT=		Traditional Unix shell derived from OpenSolaris code
LICENSE=		cddl-1.0

.include "../../mk/bsd.prefs.mk"

CPPFLAGS.Linux+=	-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L

PKG_SHELL=		${PREFIX}/heirloom/bin/jsh

PKGDOCDIR=		${PREFIX}/share/doc/${PKGBASE}
INSTALLATION_DIRS+=	${PKGDOCDIR}

DOC_FILES=	CHANGES CALDERA.LICENSE OPENSOLARIS.LICENSE README

MAKE_FILE=	makefile
MAKE_FLAGS+=	ROOT=${DESTDIR}
MAKE_FLAGS+=	SV3BIN=${PREFIX}/heirloom/bin
MAKE_FLAGS+=	MANDIR=${PREFIX}/heirloom/man
MAKE_FLAGS+=	UCBINST=${INSTALL_DATA:Q}
MAKE_FLAGS+=	STRIP=true #${STRIP}
MAKE_FLAGS+=	WARN=
MAKE_FLAGS+=	WERROR=
MAKE_FLAGS+=	CFLAGS=${CFLAGS:Q}

post-install:
.for i in ${DOC_FILES}
	${INSTALL_DATA} ${WRKSRC}/${i} ${DESTDIR}${PKGDOCDIR}
.endfor

.include "../../mk/bsd.pkg.mk"