summaryrefslogtreecommitdiff
path: root/pkgtools/bootstrap-extras/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2006-07-17 14:21:31 +0000
committerjlam <jlam@pkgsrc.org>2006-07-17 14:21:31 +0000
commit19dea5ab5a7597af1992a61514c38cbb14b8da52 (patch)
treea5ff441afec522ab2f6a33128dc01b34948ccf7f /pkgtools/bootstrap-extras/Makefile
parentd60529991ea2c9a0578d188ac8c1ef6b20bac921 (diff)
downloadpkgsrc-19dea5ab5a7597af1992a61514c38cbb14b8da52.tar.gz
This package provides extra files and scripts needed to bootstrap pkgsrc
on this platform. These files come from pkgsrc/bootstrap.
Diffstat (limited to 'pkgtools/bootstrap-extras/Makefile')
-rw-r--r--pkgtools/bootstrap-extras/Makefile53
1 files changed, 53 insertions, 0 deletions
diff --git a/pkgtools/bootstrap-extras/Makefile b/pkgtools/bootstrap-extras/Makefile
new file mode 100644
index 00000000000..04efe6d36a9
--- /dev/null
+++ b/pkgtools/bootstrap-extras/Makefile
@@ -0,0 +1,53 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/07/17 14:21:31 jlam Exp $
+
+DISTNAME= bootstrap-extra-files-20060714
+CATEGORIES= pkgtools
+MASTER_SITES= # empty
+DISTFILES= # empty
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+COMMENT= extra bootstrap files and scripts for ${OPSYS}
+
+NO_CHECKSUM= yes
+NO_MTREE= yes
+NO_CONFIGURE= yes
+NO_BUILD= yes
+
+.include "../../mk/bsd.prefs.mk"
+
+OPSYSVARS+= NEED_FAKELDD
+NEED_FAKELDD.IRIX= # empty
+NEED_FAKELDD.*= "@comment "
+PLIST_SUBST+= NEED_FAKELDD=${NEED_FAKELDD}
+
+OPSYSVARS+= NEED_MKDIR
+NEED_STRIP.UnixWare= # empty
+NEED_STRIP.*= "@comment "
+PLIST_SUBST+= NEED_MKDIR=${NEED_MKDIR}
+
+OPSYSVARS+= NEED_STRIP
+NEED_STRIP.AIX= # empty
+NEED_STRIP.*= "@comment "
+PLIST_SUBST+= NEED_STRIP=${NEED_STRIP}
+
+do-extract:
+ @${CP} -R ${FILESDIR} ${WRKSRC}
+
+do-install:
+ if ${TEST} -n ${NEED_FAKELDD:M*:Q}""; then \
+ ${INSTALL_SCRIPT_DIR} ${PREFIX}/sbin; \
+ ${INSTALL_SCRIPT} ${WRKSRC}/fakeldd \
+ ${PREFIX}/sbin/fakeldd; \
+ fi
+ if ${TEST} -n ${NEED_MKDIR:M*:Q}""; then \
+ ${INSTALL_SCRIPT_DIR} ${PREFIX}/bin; \
+ ${INSTALL_SCRIPT} ${WRKSRC}/mkdir-sh \
+ ${PREFIX}/bin/mkdir-sh; \
+ fi
+ if ${TEST} -n ${NEED_STRIP:M*:Q}""; then \
+ ${INSTALL_SCRIPT_DIR} ${PREFIX}/bin; \
+ ${INSTALL_SCRIPT} ${WRKSRC}/strip-sh \
+ ${PREFIX}/bin/strip; \
+ fi
+
+.include "../../mk/bsd.pkg.mk"