File:
[cvs.NetBSD.org] /
pkgsrc /
pkgtools /
bootstrap-extras /
Makefile
Revision
1.12:
download - view:
text,
annotated -
select for diffs
Mon Mar 3 03:30:52 2014 UTC (10 years, 9 months ago) by
obache
Branches:
MAIN
CVS tags:
pkgsrc-2024Q3-base,
pkgsrc-2024Q3,
pkgsrc-2024Q2-base,
pkgsrc-2024Q2,
pkgsrc-2024Q1-base,
pkgsrc-2024Q1,
pkgsrc-2023Q4-base,
pkgsrc-2023Q4,
pkgsrc-2023Q3-base,
pkgsrc-2023Q3,
pkgsrc-2023Q2-base,
pkgsrc-2023Q2,
pkgsrc-2023Q1-base,
pkgsrc-2023Q1,
pkgsrc-2022Q4-base,
pkgsrc-2022Q4,
pkgsrc-2022Q3-base,
pkgsrc-2022Q3,
pkgsrc-2022Q2-base,
pkgsrc-2022Q2,
pkgsrc-2022Q1-base,
pkgsrc-2022Q1,
pkgsrc-2021Q4-base,
pkgsrc-2021Q4,
pkgsrc-2021Q3-base,
pkgsrc-2021Q3,
pkgsrc-2021Q2-base,
pkgsrc-2021Q2,
pkgsrc-2021Q1-base,
pkgsrc-2021Q1,
pkgsrc-2020Q4-base,
pkgsrc-2020Q4,
pkgsrc-2020Q3-base,
pkgsrc-2020Q3,
pkgsrc-2020Q2-base,
pkgsrc-2020Q2,
pkgsrc-2020Q1-base,
pkgsrc-2020Q1,
pkgsrc-2019Q4-base,
pkgsrc-2019Q4,
pkgsrc-2019Q3-base,
pkgsrc-2019Q3,
pkgsrc-2019Q2-base,
pkgsrc-2019Q2,
pkgsrc-2019Q1-base,
pkgsrc-2019Q1,
pkgsrc-2018Q4-base,
pkgsrc-2018Q4,
pkgsrc-2018Q3-base,
pkgsrc-2018Q3,
pkgsrc-2018Q2-base,
pkgsrc-2018Q2,
pkgsrc-2018Q1-base,
pkgsrc-2018Q1,
pkgsrc-2017Q4-base,
pkgsrc-2017Q4,
pkgsrc-2017Q3-base,
pkgsrc-2017Q3,
pkgsrc-2017Q2-base,
pkgsrc-2017Q2,
pkgsrc-2017Q1-base,
pkgsrc-2017Q1,
pkgsrc-2016Q4-base,
pkgsrc-2016Q4,
pkgsrc-2016Q3-base,
pkgsrc-2016Q3,
pkgsrc-2016Q2-base,
pkgsrc-2016Q2,
pkgsrc-2016Q1-base,
pkgsrc-2016Q1,
pkgsrc-2015Q4-base,
pkgsrc-2015Q4,
pkgsrc-2015Q3-base,
pkgsrc-2015Q3,
pkgsrc-2015Q2-base,
pkgsrc-2015Q2,
pkgsrc-2015Q1-base,
pkgsrc-2015Q1,
pkgsrc-2014Q4-base,
pkgsrc-2014Q4,
pkgsrc-2014Q3-base,
pkgsrc-2014Q3,
pkgsrc-2014Q2-base,
pkgsrc-2014Q2,
pkgsrc-2014Q1-base,
pkgsrc-2014Q1,
HEAD
Just define PKGNAME and use it.
# $NetBSD: Makefile,v 1.12 2014/03/03 03:30:52 obache Exp $
PKGNAME= bootstrap-extra-files-20070702
CATEGORIES= pkgtools
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Extra bootstrap files and scripts for ${OPSYS}
BOOTSTRAP_PKG= yes
NO_CONFIGURE= yes
NO_BUILD= yes
.include "../../mk/bsd.prefs.mk"
EXTRA_FILES= fakeldd mkdir strip xargs
PLIST_VARS+= ${EXTRA_FILES}
.PHONY: ${EXTRA_FILES:S/^/do-install-/}
NEED_FAKELDD= Haiku IRIX
.if !empty(NEED_FAKELDD:M${OPSYS})
PLIST.fakeldd= yes
do-install: do-install-fakeldd
.endif
NEED_MKDIR= UnixWare
.if !empty(NEED_MKDIR:M${OPSYS})
PLIST.mkdir= yes
do-install: do-install-mkdir
.endif
NEED_STRIP= AIX
.if !empty(NEED_STRIP:M${OPSYS})
PLIST.strip= yes
do-install: do-install-strip
.endif
NEED_XARGS= Interix
.if !empty(NEED_XARGS:M${OPSYS})
PLIST.xargs= yes
do-install: do-install-xargs
.endif
do-extract:
${CP} -R ${FILESDIR} ${WRKSRC}
do-install:
@${ECHO} ${.ALLSRC}
do-install-fakeldd:
${INSTALL_SCRIPT_DIR} ${DESTDIR}${PREFIX}/sbin
.if ${OPSYS} == "Haiku"
${INSTALL_SCRIPT} ${WRKSRC}/fakeldd-${OPSYS} ${DESTDIR}${PREFIX}/sbin/fakeldd
.else
${INSTALL_SCRIPT} ${WRKSRC}/fakeldd ${DESTDIR}${PREFIX}/sbin/fakeldd
.endif
do-install-mkdir:
${INSTALL_SCRIPT_DIR} ${DESTDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/mkdir-sh ${DESTDIR}${PREFIX}/bin/mkdir-sh
do-install-strip:
${INSTALL_SCRIPT_DIR} ${DESTDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/strip-sh ${DESTDIR}${PREFIX}/bin/strip
do-install-xargs:
${INSTALL_SCRIPT_DIR} ${DESTDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/xargs-sh ${DESTDIR}${PREFIX}/bin/xargs
.include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>