c77d3c5335
Mainly done by pkglint, manually reviewed and improved in some few cases.
28 lines
617 B
Makefile
28 lines
617 B
Makefile
# $NetBSD: Makefile,v 1.8 2018/01/27 19:07:47 rillig Exp $
|
|
|
|
PKGNAME= pkg_leaves-1.2
|
|
CATEGORIES= pkgtools
|
|
|
|
MAINTAINER= joerg@NetBSD.org
|
|
COMMENT= Print leaf packages
|
|
LICENSE= 2-clause-bsd
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
NO_BUILD= yes
|
|
USE_LANGUAGES= # none
|
|
|
|
# Set SCRIPT_SUBST to substitute "@VARIABLE@" with "value"
|
|
SUBST_CLASSES+= vars
|
|
SUBST_STAGE.vars= do-configure
|
|
SUBST_FILES.vars= pkg_leaves
|
|
SUBST_VARS.vars= PKG_INFO_CMD PKG_DBDIR SH
|
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
do-extract:
|
|
cd ${FILESDIR} && cp pkg_leaves ${WRKSRC}/
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/pkg_leaves ${DESTDIR}${PREFIX}/bin
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|