Add explicit support for lua52 and lua53 FLAVORS
and move the documentation so that several flavors can be installed concurrently. ok awolk@ (maintainer)
This commit is contained in:
parent
72388c55c6
commit
5e3ccb4a60
@ -1,9 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.22 2016/10/17 21:37:15 jca Exp $
|
||||
# $OpenBSD: Makefile,v 1.23 2016/10/17 21:39:23 jca Exp $
|
||||
|
||||
COMMENT= posix library for the lua language
|
||||
V= 33.4.0
|
||||
DISTNAME= luaposix-${V}
|
||||
EPOCH= 0
|
||||
REVISION= 0
|
||||
CATEGORIES= devel
|
||||
|
||||
GH_ACCOUNT= luaposix
|
||||
@ -17,6 +18,9 @@ PERMIT_PACKAGE_CDROM= Yes
|
||||
|
||||
MODULES= lang/lua
|
||||
|
||||
FLAVORS= lua52 lua53
|
||||
FLAVOR?=
|
||||
|
||||
# lua51 needs the bit32 library
|
||||
.if empty(FLAVOR)
|
||||
RUN_DEPENDS= devel/lua-bit32
|
||||
@ -26,4 +30,7 @@ CONFIGURE_STYLE= gnu
|
||||
|
||||
CONFIGURE_ENV+= LUA=${MODLUA_BIN}
|
||||
|
||||
post-install:
|
||||
mv ${PREFIX}/share/doc/luaposix ${MODLUA_DOCDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,55 +1,55 @@
|
||||
@comment $OpenBSD: PLIST,v 1.4 2016/08/31 10:11:52 awolk Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.5 2016/10/17 21:39:23 jca Exp $
|
||||
lib/lua/${MODLUA_VERSION}/posix.a
|
||||
lib/lua/${MODLUA_VERSION}/posix.so
|
||||
share/doc/luaposix/
|
||||
share/doc/luaposix/examples/
|
||||
share/doc/luaposix/examples/dir.lua.html
|
||||
share/doc/luaposix/examples/fork.lua.html
|
||||
share/doc/luaposix/examples/fork2.lua.html
|
||||
share/doc/luaposix/examples/getopt.lua.html
|
||||
share/doc/luaposix/examples/glob.lua.html
|
||||
share/doc/luaposix/examples/limit.lua.html
|
||||
share/doc/luaposix/examples/lock.lua.html
|
||||
share/doc/luaposix/examples/netlink-uevent.lua.html
|
||||
share/doc/luaposix/examples/ping.lua.html
|
||||
share/doc/luaposix/examples/poll.lua.html
|
||||
share/doc/luaposix/examples/signal.lua.html
|
||||
share/doc/luaposix/examples/socket.lua.html
|
||||
share/doc/luaposix/examples/termios.lua.html
|
||||
share/doc/luaposix/examples/tree.lua.html
|
||||
share/doc/luaposix/index.html
|
||||
share/doc/luaposix/ldoc.css
|
||||
share/doc/luaposix/modules/
|
||||
share/doc/luaposix/modules/posix.ctype.html
|
||||
share/doc/luaposix/modules/posix.dirent.html
|
||||
share/doc/luaposix/modules/posix.errno.html
|
||||
share/doc/luaposix/modules/posix.fcntl.html
|
||||
share/doc/luaposix/modules/posix.fnmatch.html
|
||||
share/doc/luaposix/modules/posix.getopt.html
|
||||
share/doc/luaposix/modules/posix.glob.html
|
||||
share/doc/luaposix/modules/posix.grp.html
|
||||
share/doc/luaposix/modules/posix.html
|
||||
share/doc/luaposix/modules/posix.libgen.html
|
||||
share/doc/luaposix/modules/posix.poll.html
|
||||
share/doc/luaposix/modules/posix.pwd.html
|
||||
share/doc/luaposix/modules/posix.sched.html
|
||||
share/doc/luaposix/modules/posix.signal.html
|
||||
share/doc/luaposix/modules/posix.stdio.html
|
||||
share/doc/luaposix/modules/posix.stdlib.html
|
||||
share/doc/luaposix/modules/posix.sys.msg.html
|
||||
share/doc/luaposix/modules/posix.sys.resource.html
|
||||
share/doc/luaposix/modules/posix.sys.socket.html
|
||||
share/doc/luaposix/modules/posix.sys.stat.html
|
||||
share/doc/luaposix/modules/posix.sys.statvfs.html
|
||||
share/doc/luaposix/modules/posix.sys.time.html
|
||||
share/doc/luaposix/modules/posix.sys.times.html
|
||||
share/doc/luaposix/modules/posix.sys.utsname.html
|
||||
share/doc/luaposix/modules/posix.sys.wait.html
|
||||
share/doc/luaposix/modules/posix.syslog.html
|
||||
share/doc/luaposix/modules/posix.termio.html
|
||||
share/doc/luaposix/modules/posix.time.html
|
||||
share/doc/luaposix/modules/posix.unistd.html
|
||||
share/doc/luaposix/modules/posix.utime.html
|
||||
share/doc/${FULLPKGNAME}/
|
||||
share/doc/${FULLPKGNAME}/examples/
|
||||
share/doc/${FULLPKGNAME}/examples/dir.lua.html
|
||||
share/doc/${FULLPKGNAME}/examples/fork.lua.html
|
||||
share/doc/${FULLPKGNAME}/examples/fork2.lua.html
|
||||
share/doc/${FULLPKGNAME}/examples/getopt.lua.html
|
||||
share/doc/${FULLPKGNAME}/examples/glob.lua.html
|
||||
share/doc/${FULLPKGNAME}/examples/limit.lua.html
|
||||
share/doc/${FULLPKGNAME}/examples/lock.lua.html
|
||||
share/doc/${FULLPKGNAME}/examples/netlink-uevent.lua.html
|
||||
share/doc/${FULLPKGNAME}/examples/ping.lua.html
|
||||
share/doc/${FULLPKGNAME}/examples/poll.lua.html
|
||||
share/doc/${FULLPKGNAME}/examples/signal.lua.html
|
||||
share/doc/${FULLPKGNAME}/examples/socket.lua.html
|
||||
share/doc/${FULLPKGNAME}/examples/termios.lua.html
|
||||
share/doc/${FULLPKGNAME}/examples/tree.lua.html
|
||||
share/doc/${FULLPKGNAME}/index.html
|
||||
share/doc/${FULLPKGNAME}/ldoc.css
|
||||
share/doc/${FULLPKGNAME}/modules/
|
||||
share/doc/${FULLPKGNAME}/modules/posix.ctype.html
|
||||
share/doc/${FULLPKGNAME}/modules/posix.dirent.html
|
||||
share/doc/${FULLPKGNAME}/modules/posix.errno.html
|
||||
share/doc/${FULLPKGNAME}/modules/posix.fcntl.html
|
||||
share/doc/${FULLPKGNAME}/modules/posix.fnmatch.html
|
||||
share/doc/${FULLPKGNAME}/modules/posix.getopt.html
|
||||
share/doc/${FULLPKGNAME}/modules/posix.glob.html
|
||||
share/doc/${FULLPKGNAME}/modules/posix.grp.html
|
||||
share/doc/${FULLPKGNAME}/modules/posix.html
|
||||
share/doc/${FULLPKGNAME}/modules/posix.libgen.html
|
||||
share/doc/${FULLPKGNAME}/modules/posix.poll.html
|
||||
share/doc/${FULLPKGNAME}/modules/posix.pwd.html
|
||||
share/doc/${FULLPKGNAME}/modules/posix.sched.html
|
||||
share/doc/${FULLPKGNAME}/modules/posix.signal.html
|
||||
share/doc/${FULLPKGNAME}/modules/posix.stdio.html
|
||||
share/doc/${FULLPKGNAME}/modules/posix.stdlib.html
|
||||
share/doc/${FULLPKGNAME}/modules/posix.sys.msg.html
|
||||
share/doc/${FULLPKGNAME}/modules/posix.sys.resource.html
|
||||
share/doc/${FULLPKGNAME}/modules/posix.sys.socket.html
|
||||
share/doc/${FULLPKGNAME}/modules/posix.sys.stat.html
|
||||
share/doc/${FULLPKGNAME}/modules/posix.sys.statvfs.html
|
||||
share/doc/${FULLPKGNAME}/modules/posix.sys.time.html
|
||||
share/doc/${FULLPKGNAME}/modules/posix.sys.times.html
|
||||
share/doc/${FULLPKGNAME}/modules/posix.sys.utsname.html
|
||||
share/doc/${FULLPKGNAME}/modules/posix.sys.wait.html
|
||||
share/doc/${FULLPKGNAME}/modules/posix.syslog.html
|
||||
share/doc/${FULLPKGNAME}/modules/posix.termio.html
|
||||
share/doc/${FULLPKGNAME}/modules/posix.time.html
|
||||
share/doc/${FULLPKGNAME}/modules/posix.unistd.html
|
||||
share/doc/${FULLPKGNAME}/modules/posix.utime.html
|
||||
share/lua/${MODLUA_VERSION}/posix/
|
||||
share/lua/${MODLUA_VERSION}/posix/_argcheck.lua
|
||||
share/lua/${MODLUA_VERSION}/posix/compat.lua
|
||||
|
Loading…
x
Reference in New Issue
Block a user