Lunamark is a Lua module for converting Markdown to other textual formats. Currently HTML, dzslides, Docbook, ConTeXt, LaTeX, and Groff man are the supported output formats. The markdown parser is written using a PEG grammar and can also be modified by the user. OK jca@
40 lines
690 B
Makefile
40 lines
690 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2016/11/13 15:49:29 fcambus Exp $
|
|
|
|
COMMENT = Lua module for conversion between markup formats
|
|
|
|
V = 0.5.0
|
|
PKGNAME = lua-lunamark-${V}
|
|
|
|
GH_ACCOUNT = jgm
|
|
GH_PROJECT = lunamark
|
|
GH_TAGNAME = ${V}
|
|
|
|
CATEGORIES = textproc
|
|
|
|
MAINTAINER = Frederic Cambus <fcambus@openbsd.org>
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
MODULES = lang/lua
|
|
|
|
FLAVORS = lua52 lua53
|
|
FLAVOR ?=
|
|
|
|
MODLUA_RUN_DEPENDS = converters/lua-utf8 \
|
|
devel/lpeg \
|
|
textproc/lua-cosmo
|
|
|
|
NO_BUILD = Yes
|
|
|
|
NO_TEST = Yes
|
|
|
|
PKG_ARCH = *
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${MODLUA_DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/lunamark.lua ${MODLUA_DATADIR}
|
|
cp -r ${WRKSRC}/lunamark ${MODLUA_DATADIR}
|
|
|
|
.include <bsd.port.mk>
|