blob: 5206429ebd7f30ef410291f0c72df4ec26588b2c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# $NetBSD: Makefile,v 1.40 2008/03/03 17:45:34 jlam Exp $
#
DISTNAME= bmake-20051105
PKGREVISION= 4
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= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.crufty.net/help/sjg/bmake.html
COMMENT= Portable (autoconf) version of NetBSD 'make' utility
DEPENDS+= bootstrap-mk-files-[0-9]*:../../pkgtools/bootstrap-mk-files
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/bmake
NO_CHECKSUM= yes
NO_MTREE= yes
USE_FEATURES= nbcompat
makesyspath= ${PREFIX}/share/mk
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
BOOTSTRAP_ARGS= -q -o ${OPSYS} --prefix=${PREFIX} \
--with-default-sys-path=${makesyspath} \
--mksrc none --sysconfdir=${PKG_SYSCONFDIR:Q}
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS" && exists(/usr/xpg4/bin/sh)
BOOTSTRAP_ARGS+= --with-defshell=/usr/xpg4/bin/sh
.endif
do-extract:
${CP} -R ${FILESDIR} ${WRKSRC}
do-configure:
do-build:
cd ${WRKDIR} && \
${SETENV} ${MAKE_ENV} ${SH} ./bmake/boot-strap ${BOOTSTRAP_ARGS}
do-install:
${INSTALL_PROGRAM} ${WRKDIR}/${OPSYS}/bmake ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/bmake.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"
|