Index: head/textproc/datamash/Makefile =================================================================== --- head/textproc/datamash/Makefile (revision 496721) +++ head/textproc/datamash/Makefile (revision 496722) @@ -1,29 +1,34 @@ # Created by: Alexey Dokuchaev # $FreeBSD$ PORTNAME= datamash PORTVERSION= 1.4 CATEGORIES= textproc MASTER_SITES= GNU MAINTAINER= danfe@FreeBSD.org COMMENT= Numeric, textual, and statistical operations on text files LICENSE= GPLv3+ 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 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