svn commit: r331359 - head/ports-mgmt/pkg_cutleaves
Mathieu Arnold
mat at FreeBSD.org
Wed Oct 23 09:33:11 UTC 2013
Author: mat
Date: Wed Oct 23 09:33:10 2013
New Revision: 331359
URL: http://svnweb.freebsd.org/changeset/ports/331359
Log:
Support staging.
PR: ports/183185
Submitted by: mat
Approved by: maintainer
Modified:
head/ports-mgmt/pkg_cutleaves/Makefile
Modified: head/ports-mgmt/pkg_cutleaves/Makefile
==============================================================================
--- head/ports-mgmt/pkg_cutleaves/Makefile Wed Oct 23 08:03:24 2013 (r331358)
+++ head/ports-mgmt/pkg_cutleaves/Makefile Wed Oct 23 09:33:10 2013 (r331359)
@@ -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>
More information about the svn-ports-all
mailing list