blob: 6f6ad8826e0deacb3558913d4cae1b9ee07a2a0b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# $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"
|