[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.8, Sat Jan 27 19:07:47 2018 UTC (13 months, 3 weeks ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, HEAD
Changes since 1.7: +2 -2 lines

pkgtools/*: Realign variables in Makefiles

Mainly done by pkglint, manually reviewed and improved in some few cases.

# $NetBSD: Makefile,v 1.8 2018/01/27 19:07:47 rillig Exp $

PKGNAME=	pkg_leaves-1.2
CATEGORIES=	pkgtools

MAINTAINER=	joerg@NetBSD.org
COMMENT=	Print leaf packages
LICENSE=	2-clause-bsd

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"