svn commit: r356040 - head/sysutils/ufs_copy
Martin Wilke
miwi at FreeBSD.org
Sun Jun 1 05:26:10 UTC 2014
Author: miwi
Date: Sun Jun 1 05:26:09 2014
New Revision: 356040
URL: http://svnweb.freebsd.org/changeset/ports/356040
QAT: https://qat.redports.org/buildarchive/r356040/
Log:
- Stage support
Modified:
head/sysutils/ufs_copy/Makefile
head/sysutils/ufs_copy/pkg-plist
Modified: head/sysutils/ufs_copy/Makefile
==============================================================================
--- head/sysutils/ufs_copy/Makefile Sun Jun 1 05:25:54 2014 (r356039)
+++ head/sysutils/ufs_copy/Makefile Sun Jun 1 05:26:09 2014 (r356040)
@@ -14,11 +14,14 @@ COMMENT= Fast copy utility for UFS files
WRKSRC= ${WRKDIR}/ufs
MAKE_ARGS= BINDIR=${PREFIX}/sbin
-NO_STAGE= yes
+PORTDOCS= README
+
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
+
post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
Modified: head/sysutils/ufs_copy/pkg-plist
==============================================================================
--- head/sysutils/ufs_copy/pkg-plist Sun Jun 1 05:25:54 2014 (r356039)
+++ head/sysutils/ufs_copy/pkg-plist Sun Jun 1 05:26:09 2014 (r356040)
@@ -1,3 +1 @@
sbin/ufs_copy
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
More information about the svn-ports-all
mailing list