File:
[cvs.NetBSD.org] /
pkgsrc /
devel /
mk-files /
Attic /
Makefile
Revision
1.21:
download - view:
text,
annotated -
select for diffs
Thu Feb 22 19:26:22 2007 UTC (17 years, 9 months ago) by
wiz
Branches:
MAIN
CVS tags:
pkgsrc-2007Q4-base,
pkgsrc-2007Q4,
pkgsrc-2007Q3-base,
pkgsrc-2007Q3,
pkgsrc-2007Q2-base,
pkgsrc-2007Q2,
pkgsrc-2007Q1-base,
pkgsrc-2007Q1,
HEAD
Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
# $NetBSD: Makefile,v 1.21 2007/02/22 19:26:22 wiz Exp $
#
DISTNAME= mk-20050405
PKGNAME= mk-files-20050405
PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/sjg/
CONFLICTS+= bootstrap-mk-files-[0-9]*
MAINTAINER= sjg@NetBSD.org
HOMEPAGE= http://www.crufty.net/help/sjg/bmake.html
COMMENT= Portable *.mk files for the NetBSD portable bmake utility
NO_CONFIGURE= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/mk
.include "../../mk/bsd.prefs.mk"
.if ${PKGSRC_LOCKTYPE} == sleep
PKG_FAIL_REASON= "Recurses against itself"
.endif
PLIST_SRC=${WRKDIR}/.PLIST_SRC
do-install:
${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-Za-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/,' > $@
CVSweb <webmaster@jp.NetBSD.org>