2004-04-20 18:26:07 +02:00
|
|
|
# $NetBSD: Makefile,v 1.19 2004/04/20 16:26:07 wiz Exp $
|
2000-02-14 03:07:08 +01:00
|
|
|
|
2004-04-20 18:26:07 +02:00
|
|
|
DISTNAME= pkg_tarup-1.5.2
|
2000-02-14 03:07:08 +01:00
|
|
|
CATEGORIES= pkgtools
|
|
|
|
MASTER_SITES= # empty
|
|
|
|
DISTFILES= # empty
|
|
|
|
|
2003-07-18 00:50:55 +02:00
|
|
|
MAINTAINER= hubertf@NetBSD.org
|
2003-05-28 16:53:42 +02:00
|
|
|
COMMENT= Generates binary package(s) from installed pkg(s)
|
2000-02-14 03:07:08 +01:00
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}
|
2002-10-07 16:43:08 +02:00
|
|
|
EXTRACT_ONLY= # empty
|
2000-02-14 03:07:08 +01:00
|
|
|
NO_CHECKSUM= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
NO_MTREE= yes
|
|
|
|
|
2002-11-23 23:47:02 +01:00
|
|
|
# Set SCRIPT_SUBST to substitute "@VARIABLE@" with "value"
|
|
|
|
SCRIPT_SUBST+= AWK=${AWK:Q} \
|
|
|
|
ECHO=${ECHO:Q} \
|
2003-03-29 05:25:10 +01:00
|
|
|
HEAD=${HEAD:Q} \
|
2002-11-23 23:47:02 +01:00
|
|
|
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!@/}
|
2002-10-07 16:43:08 +02:00
|
|
|
|
2004-02-21 19:12:38 +01:00
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
|
2002-10-07 16:43:08 +02:00
|
|
|
do-configure:
|
|
|
|
${SED} ${SCRIPT_SUBST_SED} \
|
|
|
|
< ${FILESDIR}/pkg_tarup \
|
2003-05-31 19:51:01 +02:00
|
|
|
> ${WRKSRC}/pkg_tarup
|
2003-05-28 16:53:42 +02:00
|
|
|
${SED} ${SCRIPT_SUBST_SED} \
|
|
|
|
< ${FILESDIR}/pkg_tarup_all \
|
2003-05-31 19:51:01 +02:00
|
|
|
> ${WRKSRC}/pkg_tarup_all
|
2002-10-07 16:43:08 +02:00
|
|
|
|
2000-02-14 03:07:08 +01:00
|
|
|
do-install:
|
2002-10-07 16:43:08 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/pkg_tarup ${PREFIX}/bin
|
2003-05-28 16:53:42 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/pkg_tarup_all ${PREFIX}/bin
|
2000-02-14 03:07:08 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|