pkgsrc/pkgtools/createbuildlink/Makefile
tv f4d628a604 3.8: When pulling existing .includes of buildlink3 files from the Makefile,
comment them out by default, and add a comment above them indicating that
only *directly* needed dependencies should be in the (edited, final) bl3
file.

This will hopefully encourage folks to reduce the amount of unnecessary bl3
recursion that is rampant in pkgsrc, making many packages "depend" directly
on APIs they never see nor use.
2004-10-15 14:41:11 +00:00

39 lines
885 B
Makefile

# $NetBSD: Makefile,v 1.34 2004/10/15 14:41:11 tv Exp $
DISTNAME= createbuildlink-3.8
CATEGORIES= pkgtools sysutils
MASTER_SITES= # Nothing
DISTFILES= # Nothing
MAINTAINER= rh@NetBSD.org
COMMENT= Shell script to help creating buildlink3.mk files
PKG_INSTALLATION_TYPES= overwrite pkgviews
WRKSRC= ${WRKDIR}
EXTRACT_ONLY= # empty
USE_LANGUAGES= # empty
NO_CHECKSUM= yes
NO_BUILDLINK= yes
NO_BUILD= yes
EXTRACT_CMD= ${ECHO}
SCRIPT= ${DISTNAME:C/-.*$//}
SCRIPTS= ${SCRIPT} substplistbasedirs
INSTALLATION_DIRS= bin man/man8
do-configure:
.for scr in ${SCRIPTS}
${SED} -e 's|@PKGVERSION@|${PKGVERSION}|' \
-e 's|@MAKE@|${MAKE}|' \
< ${FILESDIR}/${scr} > ${WRKSRC}/${scr}
.endfor
do-install:
.for scr in ${SCRIPTS}
${INSTALL_SCRIPT} ${WRKSRC}/${scr} ${PREFIX}/bin/${scr}
.endfor
${INSTALL_MAN} ${FILESDIR}/${SCRIPT}.8 ${PREFIX}/man/man8
.include "../../mk/bsd.pkg.mk"