git: e43685c357b5 - main - devel/lua-resty-string: add README.markdown as documentation
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 19 Mar 2022 23:53:17 UTC
The branch main has been updated by mm: URL: https://cgit.FreeBSD.org/ports/commit/?id=e43685c357b526502decafe5a9671c09d05e98bf commit e43685c357b526502decafe5a9671c09d05e98bf Author: Martin Matuska <mm@FreeBSD.org> AuthorDate: 2022-03-19 23:52:24 +0000 Commit: Martin Matuska <mm@FreeBSD.org> CommitDate: 2022-03-19 23:52:24 +0000 devel/lua-resty-string: add README.markdown as documentation --- devel/lua-resty-string/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/devel/lua-resty-string/Makefile b/devel/lua-resty-string/Makefile index 91da86cefb97..6997c4724197 100644 --- a/devel/lua-resty-string/Makefile +++ b/devel/lua-resty-string/Makefile @@ -1,6 +1,7 @@ PORTNAME= lua-resty-string DISTVERSIONPREFIX=v DISTVERSION= 0.15 +PORTREVISION= 1 CATEGORIES= devel www MAINTAINER= mm@FreeBSD.org @@ -20,8 +21,18 @@ LUA_MODSHAREDIR=${LOCALBASE}/share/lua/5.1 PLIST_SUB= LUA_MODSHAREDIR=${LUA_MODSHAREDIR} +PORTDOCS= README.markdown + +DOCSDIR= ${PREFIX}/share/doc/lua${LUA_VER_STR}/${PORTNAME} + +OPTIONS_DEFINE= DOCS + do-install: @${MKDIR} ${STAGEDIR}${LUA_MODSHAREDIR} @(cd ${WRKSRC}/lib && ${COPYTREE_SHARE} . ${STAGEDIR}${LUA_MODSHAREDIR} "-name *\.lua") +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.markdown ${STAGEDIR}${DOCSDIR} + .include <bsd.port.mk>