2008-02-12 16:03:28 +01:00
|
|
|
# $NetBSD: Makefile,v 1.34 2008/02/12 15:03:28 rillig Exp $
|
2000-02-14 03:07:08 +01:00
|
|
|
|
2008-02-12 16:03:28 +01:00
|
|
|
DISTNAME= pkg_tarup-1.7.1
|
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
|
|
|
|
2007-08-09 15:29:02 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}
|
2007-02-22 20:26:05 +01:00
|
|
|
NO_CHECKSUM= yes
|
2000-02-14 03:07:08 +01:00
|
|
|
NO_BUILD= yes
|
|
|
|
NO_MTREE= yes
|
2006-05-06 05:37:10 +02:00
|
|
|
USE_LANGUAGES= # none
|
2008-02-12 16:03:28 +01:00
|
|
|
AUTO_MKDIRS= yes
|
2000-02-14 03:07:08 +01:00
|
|
|
|
2002-11-23 23:47:02 +01:00
|
|
|
# Set SCRIPT_SUBST to substitute "@VARIABLE@" with "value"
|
2008-02-12 16:03:28 +01:00
|
|
|
SUBST_CLASSES+= tarup
|
|
|
|
SUBST_STAGE.tarup= do-configure
|
|
|
|
SUBST_FILES.tarup= pkg_tarup pkg_tarup_all pkg_tarup.1
|
|
|
|
SUBST_VARS.tarup= ECHO ECHO_N GREP HEAD ID PKG_DBDIR PKG_SUFX PKG_TOOLS_BIN PREFIX SED SH SU_CMD XARGS
|
|
|
|
SUBST_SED.tarup= -e 's,@ROOT_USER@,${REAL_ROOT_USER},g'
|
|
|
|
|
|
|
|
do-extract:
|
|
|
|
cd ${FILESDIR} && cp pkg_tarup pkg_tarup.1 pkg_tarup_all ${WRKSRC}/
|
2002-10-07 16:43:08 +02:00
|
|
|
|
2000-02-14 03:07:08 +01:00
|
|
|
do-install:
|
2007-08-09 15:29:02 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/pkg_tarup ${DESTDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/pkg_tarup_all ${DESTDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/pkg_tarup.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
2000-02-14 03:07:08 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|