Skip to content

Commit

Permalink
devel/lua-resty-string: add README.markdown as documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mmatuska committed Mar 19, 2022
1 parent 2389b91 commit e43685c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions devel/lua-resty-string/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
PORTNAME= lua-resty-string
DISTVERSIONPREFIX=v
DISTVERSION= 0.15
PORTREVISION= 1
CATEGORIES= devel www

MAINTAINER= mm@FreeBSD.org
Expand All @@ -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>

0 comments on commit e43685c

Please sign in to comment.