[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / pkgtools / pkg_leaves

File: [cvs.NetBSD.org] / pkgsrc / pkgtools / pkg_leaves / Makefile (download)

Revision 1.6, Mon Mar 3 03:30:54 2014 UTC (10 years ago) by obache
Branch: MAIN
Changes since 1.5: +2 -4 lines

Just define PKGNAME and use it.

# $NetBSD: Makefile,v 1.6 2014/03/03 03:30:54 obache Exp $

PKGNAME=	pkg_leaves-1.2
CATEGORIES=	pkgtools

MAINTAINER=	joerg@NetBSD.org
COMMENT=	Print leaf packages

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"