Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

64 lines (47 sloc) 1.651 kb
# $NetBSD: Makefile,v 1.58 2012/07/24 13:18:00 jperkin Exp $
#
DISTNAME= bmake-20110606
CATEGORIES= devel
MASTER_SITES= # empty
DISTFILES= # empty
# distfile obtained from ftp://ftp.NetBSD.org/pub/NetBSD/misc/sjg/
# source is kept in files/ for bootstrap purposes
MAINTAINER= joerg@NetBSD.org
HOMEPAGE= http://www.crufty.net/help/sjg/bmake.html
COMMENT= Portable (autoconf) version of NetBSD 'make' utility
LICENSE= modified-bsd
DEPENDS+= bootstrap-mk-files-[0-9]*:../../pkgtools/bootstrap-mk-files
PKG_DESTDIR_SUPPORT= user-destdir
BOOTSTRAP_PKG= yes
WRKSRC= ${WRKDIR}/bmake
USE_FEATURES= nbcompat
makesyspath= ${PREFIX}/share/mk
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --prefix=${PREFIX}
CONFIGURE_ARGS+= --with-default-sys-path=${makesyspath}
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
.include "../../mk/bsd.prefs.mk"
.if ${OS_VARIANT} == "SmartOS"
CONFIGURE_ARGS+= --with-defshell=/usr/bin/bash
.elif ${OPSYS} == "SunOS" && ${OS_VERSION} == "5.11"
CONFIGURE_ARGS+= --with-defshell=/bin/ksh
.elif ${OPSYS} == "SunOS" || ${OPSYS} == "OSF1"
DEPENDS+= pdksh-[0-9]*:../../shells/pdksh
CONFIGURE_ARGS+= --with-defshell=${PREFIX}/bin/pdksh
.endif
.if ${OPSYS} == "Interix"
MAKE_ENV+= XDEFS=-DUSE_SELECT
.endif
.if ${OPSYS} == "IRIX"
CONFIGURE_ARGS+= --with-machine_arch=${MACHINE_ARCH}
.endif
do-extract:
${CP} -R ${FILESDIR} ${WRKSRC}
do-build:
cd ${WRKSRC} && \
${SETENV} ${MAKE_ENV} ${SH} make-bootstrap.sh
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bmake ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/bmake.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"
Jump to Line
Something went wrong with that request. Please try again.