29 lines
634 B
Makefile
29 lines
634 B
Makefile
# $NetBSD: Makefile,v 1.5 2012/09/11 23:19:37 asau Exp $
|
|
|
|
DISTNAME= pkg_leaves-1.2
|
|
CATEGORIES= pkgtools
|
|
MASTER_SITES= # empty
|
|
DISTFILES= # empty
|
|
|
|
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"
|