2006-02-24 22:21:02 +01:00
|
|
|
# $NetBSD: Makefile,v 1.27 2006/02/24 21:21:02 reed Exp $
|
2000-02-14 03:07:08 +01:00
|
|
|
|
2004-11-05 20:41:16 +01:00
|
|
|
DISTNAME= pkg_tarup-1.6.5
|
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"
|
2004-07-14 18:08:48 +02:00
|
|
|
SCRIPT_SUBST+= \
|
2002-11-23 23:47:02 +01:00
|
|
|
ECHO=${ECHO:Q} \
|
2004-10-29 16:51:41 +02:00
|
|
|
ECHO_N=${ECHO_N:Q} \
|
2004-07-14 18:08:48 +02:00
|
|
|
GREP=${GREP: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} \
|
2004-10-29 16:51:41 +02:00
|
|
|
ROOT_USER=${ROOT_USER:Q} \
|
|
|
|
SED=${SED:Q} \
|
2002-11-23 23:47:02 +01:00
|
|
|
SH=${SH:Q} \
|
2004-10-29 16:51:41 +02:00
|
|
|
SU_CMD=${SU_CMD:Q} \
|
2004-08-09 23:13:37 +02:00
|
|
|
XARGS=${XARGS:Q}
|
2002-11-23 23:47:02 +01:00
|
|
|
|
|
|
|
SCRIPT_SUBST_SED= ${SCRIPT_SUBST:S/=/@!/:S/$/!g/:S/^/ -e s!@/}
|
2002-10-07 16:43:08 +02:00
|
|
|
|
2006-02-24 22:21:02 +01:00
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
|
2004-02-21 19:12:38 +01:00
|
|
|
|
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
|
2004-07-14 18:08:48 +02:00
|
|
|
${SED} ${SCRIPT_SUBST_SED} \
|
|
|
|
< ${FILESDIR}/pkg_tarup.1 \
|
|
|
|
> ${WRKSRC}/pkg_tarup.1
|
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
|
2006-02-24 22:21:02 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/pkg_tarup.1 ${PREFIX}/${PKGMANDIR}/man1
|
2000-02-14 03:07:08 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|