blob: 8e375d4856b8f83edf0a8b67538daa0a3670903c (
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
|
# $NetBSD: Makefile,v 1.20 2009/04/08 22:43:24 joerg Exp $
DISTNAME= bootstrap-mk-files-20090226
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
CONFLICTS+= mk-files-[0-9]*
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.pkgsrc.org/
COMMENT= *.mk files for the bootstrap bmake utility
PKG_DESTDIR_SUPPORT= user-destdir
NO_PKGTOOLS_REQD_CHECK= # defined
BOOTSTRAP_PKG= yes
NO_CHECKSUM= yes
NO_BUILD= yes
USE_TOOLS+= sed
INSTALLATION_DIRS= share/mk
do-extract:
@${CP} -R ${FILESDIR} ${WRKSRC}
do-configure:
cd ${WRKSRC}; for file in bsd.* sys.mk; do \
${TEST} ! -f mods/${OPSYS}.$$file || \
${CP} -f mods/${OPSYS}.$$file ${WRKSRC}/$$file; \
done
cd ${WRKSRC}; \
if ${TEST} -f mods/${OPSYS}.bsd.own.mk.in; then \
own_mk=mods/${OPSYS}.bsd.own.mk.in; \
else \
own_mk=mods/bsd.own.mk.in; \
fi; \
${SED} -e 's|@ROOT_GROUP@|'${REAL_ROOT_GROUP}'|g' \
-e 's|@ROOT_USER@|'${REAL_ROOT_USER}'|g' \
-e 's|@SYSCONFDIR@|'${PKG_SYSCONFDIR}'|g' \
$$own_mk > bsd.own.mk
do-install:
cd ${WRKSRC} && for file in bsd.* sys.mk; do \
${INSTALL_DATA} $$file ${DESTDIR}${PREFIX}/share/mk/$$file; \
done
.include "../../mk/bsd.pkg.mk"
|