blob: b22ec7de6c76e32c335cdc0420c6efc26f8055c8 (
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
|
# $NetBSD: Makefile,v 1.3 2001/10/19 16:37:49 sjg Exp $
#
DISTNAME= mk-1.2.5
PKGNAME= mk-files-1.2.5
CATEGORIES= devel
MASTER_SITES= ftp://ftp.netbsd.org/pub/incoming/sjg/
MAINTAINER= sjg@netbsd.org
HOMEPAGE= http://www.crufty.net/help/sjg/bmake.html
COMMENT= portable *.mk files for the NetBSD portable bmake utility
WRKSRC= ${WRKDIR}/mk
NO_CONFIGURE= yes
NO_BUILD= yes
MKFILES= autodep.mk dep.mk doc.mk lib.mk man.mk nls.mk
MKFILES+= obj.mk own.mk prog.mk subdir.mk target-flags.mk
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} != "NetBSD"
# we don't want to use these on BSD systems, since prog.mk and
# lib.mk now rely on finding the correct bsd.prog.mk etc to
# get the right magic on ELF systems.
MKFILES+= bsd.dep.mk bsd.doc.mk bsd.lib.mk bsd.man.mk
MKFILES+= bsd.nls.mk bsd.obj.mk bsd.own.mk bsd.prog.mk bsd.subdir.mk
# need to include the commented out guys
PLIST_SRC=${WRKDIR}/.PLIST_SRC
${WRKDIR}/.PLIST_SRC: ${PKGDIR}/PLIST
@${SED} 's,^@comment.*skip-on-BSD ,,' $> > $@
.endif
do-install:
.if ${OPSYS} != "NetBSD"
${BSD_INSTALL_DATA} ${WRKSRC}/`uname -s`.sys.mk ${PREFIX}/share/mk/sys.mk
.endif
for f in ${MKFILES}; do \
${BSD_INSTALL_DATA} ${WRKSRC}/$$f ${PREFIX}/share/mk/; \
done
.include "../../mk/bsd.pkg.mk"
|