summaryrefslogtreecommitdiff
path: root/devel/mk-files
diff options
context:
space:
mode:
authorsjg <sjg@pkgsrc.org>2002-09-20 07:00:52 +0000
committersjg <sjg@pkgsrc.org>2002-09-20 07:00:52 +0000
commitc61225e16240817002acc680557a2a2d7cc5c4b6 (patch)
tree976ede8e4c0c889893f8d7689e58df6afedd4d78 /devel/mk-files
parent52f33bc0939dff5b30fdd2517da058e481389723 (diff)
downloadpkgsrc-c61225e16240817002acc680557a2a2d7cc5c4b6.tar.gz
Update bmake and mk-files to latest versions.
bmake is now sync'd with NetBSD-1.6 mk-files have been overhauled to handle ELF on BSD systems.
Diffstat (limited to 'devel/mk-files')
-rw-r--r--devel/mk-files/Makefile40
-rw-r--r--devel/mk-files/PLIST24
-rw-r--r--devel/mk-files/distinfo6
3 files changed, 20 insertions, 50 deletions
diff --git a/devel/mk-files/Makefile b/devel/mk-files/Makefile
index e2d6270f6e3..392033496d3 100644
--- a/devel/mk-files/Makefile
+++ b/devel/mk-files/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2002/02/06 16:58:13 jlam Exp $
+# $NetBSD: Makefile,v 1.5 2002/09/20 07:00:56 sjg Exp $
#
-DISTNAME= mk-1.2.5
-PKGNAME= mk-files-1.2.5
+DISTNAME= mk-1.3.2
+PKGNAME= mk-files-1.3.2
CATEGORIES= devel
MASTER_SITES= ftp://ftp.netbsd.org/pub/incoming/sjg/
@@ -15,33 +15,23 @@ 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"
- ${INSTALL_DATA} ${WRKSRC}/`uname -s`.sys.mk ${PREFIX}/share/mk/sys.mk
-.endif
- for f in ${MKFILES}; do \
- ${INSTALL_DATA} ${WRKSRC}/$$f ${PREFIX}/share/mk/; \
- done
+ ${WRKSRC}/install-mk ${PREFIX}/share/mk
.include "../../mk/bsd.pkg.mk"
+# The logic below mimics what install-mk does.
+# Ie. it won't install a sys.mk if a standard BSD one exists
+# same goes for the bsd.*.mk files (it makes the symlinks to *.mk)
+${WRKSRC}/FILES: extract
+${WRKDIR}/.PLIST_SRC: ${WRKSRC}/FILES
+ @( grep '^[a-z].*\.mk' $> ; \
+ [ -f /usr/share/mk/sys.mk ] || echo sys.mk; \
+ [ -f /usr/share/mk/bsd.prog.mk ] || \
+ for f in dep doc init lib man nls obj own prog subdir; do \
+ echo bsd.$$f.mk; \
+ done ) | sed 's,^,share/mk/,' > $@
diff --git a/devel/mk-files/PLIST b/devel/mk-files/PLIST
index dbc2cac8e7f..bc1204e6bfb 100644
--- a/devel/mk-files/PLIST
+++ b/devel/mk-files/PLIST
@@ -1,22 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2001/11/01 01:24:54 zuntum Exp $
-share/mk/autodep.mk
-@comment skip-on-BSD share/mk/bsd.dep.mk
-@comment skip-on-BSD share/mk/bsd.doc.mk
-@comment skip-on-BSD share/mk/bsd.lib.mk
-@comment skip-on-BSD share/mk/bsd.man.mk
-@comment skip-on-BSD share/mk/bsd.nls.mk
-@comment skip-on-BSD share/mk/bsd.obj.mk
-@comment skip-on-BSD share/mk/bsd.own.mk
-@comment skip-on-BSD share/mk/bsd.prog.mk
-@comment skip-on-BSD share/mk/bsd.subdir.mk
-share/mk/dep.mk
-share/mk/doc.mk
-share/mk/lib.mk
-share/mk/man.mk
-share/mk/nls.mk
-share/mk/obj.mk
-share/mk/own.mk
-share/mk/prog.mk
-share/mk/subdir.mk
-@comment skip-on-BSD share/mk/sys.mk
-share/mk/target-flags.mk
+@comment $NetBSD: PLIST,v 1.2 2002/09/20 07:00:56 sjg Exp $
+@comment rest is autogenerated
diff --git a/devel/mk-files/distinfo b/devel/mk-files/distinfo
index c7869823775..6162bbf0ec3 100644
--- a/devel/mk-files/distinfo
+++ b/devel/mk-files/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2001/10/18 21:38:32 sjg Exp $
+$NetBSD: distinfo,v 1.3 2002/09/20 07:00:56 sjg Exp $
-SHA1 (mk-1.2.5.tar.gz) = 9cdcd46e9443972fb56a7f373918bf127a96ec97
-Size (mk-1.2.5.tar.gz) = 20948 bytes
+SHA1 (mk-1.3.2.tar.gz) = d37a597b3caa8642f2db7ec9bcca98f234c98c71
+Size (mk-1.3.2.tar.gz) = 23248 bytes