a0a1f2e57c
COMMENT should not be longer than 70 characters. COMMENT should not begin with 'A'. COMMENT should not begin with 'An'. COMMENT should not begin with 'a'. COMMENT should not end with a period. COMMENT should start with a capital letter. pkglint warnings. Some files also got minor formatting, spelling, and style corrections.
33 lines
899 B
Makefile
33 lines
899 B
Makefile
# $NetBSD: Makefile,v 1.10 2013/04/06 03:45:24 rodent Exp $
|
|
|
|
DISTNAME= install-sh-20100824
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= # empty
|
|
DISTFILES= # empty
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
COMMENT= Install script compatible with the BSD install program
|
|
|
|
BOOTSTRAP_PKG= yes
|
|
USE_TOOLS+= sed
|
|
NO_BUILD= yes
|
|
|
|
# Use the install script to perform installation to avoid bootstrapping
|
|
# issues.
|
|
#
|
|
INSTALL_SCRIPT= \
|
|
${SH} ${WRKSRC}/install-sh -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}
|
|
INSTALL_SCRIPT_DIR= \
|
|
${SH} ${WRKSRC}/install-sh -d -o ${BINOWN} -g ${BINGRP} -m ${PKGDIRMODE}
|
|
|
|
do-extract:
|
|
@${CP} -R ${FILESDIR} ${WRKSRC}
|
|
|
|
do-configure:
|
|
${SED} -e "s|@DEFAULT_INSTALL_MODE@|"${PKGDIRMODE}"|g" \
|
|
${WRKSRC}/install-sh.in > ${WRKSRC}/install-sh
|
|
do-install:
|
|
${INSTALL_SCRIPT_DIR} ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_SCRIPT} ${WRKSRC}/install-sh ${DESTDIR}${PREFIX}/bin
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|