Support staging.

PR:		ports/183185
Submitted by:	mat
Approved by:	maintainer
This commit is contained in:
Mathieu Arnold 2013-10-23 09:33:10 +00:00
parent 491392b2e4
commit 921548c6e2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331359

View File

@ -15,16 +15,13 @@ USES= perl5
WRKSRC= ${WRKDIR}
MAN1= pkg_cutleaves.1
PLIST_FILES= sbin/pkg_cutleaves
PLIST_FILES= sbin/pkg_cutleaves man/man1/pkg_cutleaves.1.gz
.if defined(WITH_PKGNG)
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-pkg_cutleaves \
${FILESDIR}/extra-patch-pkg_cutleaves.1
.endif
NO_STAGE= yes
do-extract:
${MKDIR} ${WRKSRC}
${CP} ${FILESDIR}/pkg_cutleaves ${FILESDIR}/pkg_cutleaves.1 ${WRKSRC}
@ -51,7 +48,7 @@ post-patch:
.endif
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/pkg_cutleaves ${PREFIX}/sbin/pkg_cutleaves
${INSTALL_MAN} ${WRKSRC}/pkg_cutleaves.1 ${MAN1PREFIX}/man/man1
${INSTALL_SCRIPT} ${WRKSRC}/pkg_cutleaves ${STAGEDIR}${PREFIX}/sbin/pkg_cutleaves
${INSTALL_MAN} ${WRKSRC}/pkg_cutleaves.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
.include <bsd.port.mk>