blob: ba76519920ddbff9b01199e78856613c35ebbd8c (
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
32
33
34
35
36
37
38
39
|
# $NetBSD: Makefile,v 1.11 2003/03/29 12:42:10 jmmv Exp $
DISTNAME= pkg_tarup-1.3
WRKSRC= ${WRKDIR}
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= hubertf@netbsd.org
COMMENT= Generates binary package from installed pkg
EXTRACT_ONLY= # empty
NO_CHECKSUM= yes
NO_BUILD= yes
NO_MTREE= yes
# Set SCRIPT_SUBST to substitute "@VARIABLE@" with "value"
SCRIPT_SUBST+= AWK=${AWK:Q} \
ECHO=${ECHO:Q} \
HEAD=${HEAD:Q} \
ID=${ID:Q} \
PKG_DBDIR=${PKG_DBDIR:Q} \
PKG_SUFX=${PKG_SUFX:Q} \
PREFIX=${PREFIX:Q} \
PKG_TOOLS_BIN=${PKG_TOOLS_BIN:Q} \
SH=${SH:Q} \
SU=${SU:Q}
SCRIPT_SUBST_SED= ${SCRIPT_SUBST:S/=/@!/:S/$/!g/:S/^/ -e s!@/}
do-configure:
${SED} ${SCRIPT_SUBST_SED} \
< ${FILESDIR}/pkg_tarup \
> ${WRKSRC}/pkg_tarup \
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/pkg_tarup ${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"
|