3dce8fe104
include creating buildlink3.mk files that include other buildlink3.mk files outside of the region that is protected against multiple inclusion. This is required to fix a bug in properly ordering the packages listed in BUILDLINK_PACKAGES.
38 lines
850 B
Makefile
38 lines
850 B
Makefile
# $NetBSD: Makefile,v 1.29 2004/03/18 10:47:04 jlam Exp $
|
|
|
|
DISTNAME= createbuildlink-3.4
|
|
CATEGORIES= pkgtools sysutils
|
|
MASTER_SITES= # Nothing
|
|
DISTFILES= # Nothing
|
|
|
|
MAINTAINER= rh@NetBSD.org
|
|
COMMENT= shell script to help creating buildlink[23].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/-.*$//}
|
|
|
|
INSTALLATION_DIRS= bin man/man8
|
|
|
|
do-configure:
|
|
.for scr in ${SCRIPT}
|
|
${SED} -e 's|@PKGVERSION@|${PKGVERSION}|' \
|
|
-e 's|@MAKE@|${MAKE}|' \
|
|
< ${FILESDIR}/${scr} > ${WRKSRC}/${scr}
|
|
.endfor
|
|
|
|
do-install:
|
|
.for scr in ${SCRIPT}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${scr} ${PREFIX}/bin/${scr}
|
|
.endfor
|
|
${INSTALL_MAN} ${FILESDIR}/${SCRIPT}.8 ${PREFIX}/man/man8
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|