svn commit: r496722 - head/textproc/datamash

Alexey Dokuchaev danfe at FreeBSD.org
Sun Mar 24 13:13:45 UTC 2019


Author: danfe
Date: Sun Mar 24 13:13:44 2019
New Revision: 496722
URL: https://svnweb.freebsd.org/changeset/ports/496722

Log:
  Install the usual set of documentation files.

Modified:
  head/textproc/datamash/Makefile

Modified: head/textproc/datamash/Makefile
==============================================================================
--- head/textproc/datamash/Makefile	Sun Mar 24 12:57:29 2019	(r496721)
+++ head/textproc/datamash/Makefile	Sun Mar 24 13:13:44 2019	(r496722)
@@ -15,8 +15,9 @@ USES=		gmake
 GNU_CONFIGURE=	yes
 
 INFO=		${PORTNAME}
+PORTDOCS=	AUTHORS ChangeLog NEWS README THANKS TODO
 
-OPTIONS_DEFINE=	EXAMPLES NLS
+OPTIONS_DEFINE=	DOCS EXAMPLES NLS
 OPTIONS_SUB=	yes
 
 NLS_USES=	gettext-runtime
@@ -25,5 +26,9 @@ NLS_CONFIGURE_OFF=	--disable-nls
 post-patch:
 	@${REINPLACE_CMD} -e '/^examplesdir/s,$$(.*,${EXAMPLESDIR},' \
 		${WRKSRC}/Makefile.in
+
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list