Import ports/textproc/luasoldout. ok landry@
luasoldout is a simple Lua binding to libsoldout, a lightweight C library that can parse Markdown. It supports converting to html or xhtml. luasoldout also supports the discount and natext extensions.
This commit is contained in:
parent
ae27b5d7e3
commit
87d53e5d5a
30
textproc/luasoldout/Makefile
Normal file
30
textproc/luasoldout/Makefile
Normal file
@ -0,0 +1,30 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2013/06/25 22:57:01 jturner Exp $
|
||||
|
||||
SHARED_ONLY = Yes
|
||||
|
||||
COMMENT = Lua binding to libsoldout
|
||||
|
||||
DISTNAME = luasoldout-0.2
|
||||
CATEGORIES = textproc
|
||||
|
||||
MAINTAINER = James Turner <james@calminferno.net>
|
||||
|
||||
HOMEPAGE = https://github.com/jturner/luasoldout/
|
||||
MASTER_SITES = http://calminferno.net/lua/
|
||||
|
||||
# ISC
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
MODULES = lang/lua
|
||||
|
||||
MAKE_FLAGS = LUAINC="-I${MODLUA_INCL_DIR}"
|
||||
FAKE_FLAGS = DESTDIR=""
|
||||
|
||||
pre-configure:
|
||||
perl -pi -e 's,/usr/bin/env lua,${MODLUA_BIN},' ${WRKSRC}/test.lua
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${MODLUA_LIBDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/soldout.so ${MODLUA_LIBDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
2
textproc/luasoldout/distinfo
Normal file
2
textproc/luasoldout/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (luasoldout-0.2.tar.gz) = 6tY5YGm9i65eAyHcc2eZPzlYorX02YYCOShRO9B5F50=
|
||||
SIZE (luasoldout-0.2.tar.gz) = 23021
|
3
textproc/luasoldout/pkg/DESCR
Normal file
3
textproc/luasoldout/pkg/DESCR
Normal file
@ -0,0 +1,3 @@
|
||||
luasoldout is a simple Lua binding to libsoldout, a lightweight C
|
||||
library that can parse Markdown. It supports converting to html or
|
||||
xhtml. luasoldout also supports the discount and natext extensions.
|
2
textproc/luasoldout/pkg/PLIST
Normal file
2
textproc/luasoldout/pkg/PLIST
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2013/06/25 22:57:01 jturner Exp $
|
||||
lib/lua/${MODLUA_VERSION}/soldout.so
|
Loading…
x
Reference in New Issue
Block a user