blob: 12bfc7f4576bbb703f60bfe402f45effb27bcd8e (
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
29
30
31
|
# $NetBSD: Makefile,v 1.4 2009/04/09 00:48:12 joerg Exp $
DISTNAME= pkg_leaves-1.2
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= joerg@NetBSD.org
COMMENT= Print leaf packages
PKG_DESTDIR_SUPPORT= user-destdir
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"
|