- no need for groff

- use MODLUA_RUN_DEPENDS so we pull in the right lua flavors
- add dependency on luadbi
- mention luadbi in the README

ok MAINTAINER
This commit is contained in:
jasper 2012-09-14 21:51:19 +00:00
parent e5d4cd0dbc
commit c48cbbd555
2 changed files with 15 additions and 6 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.22 2012/08/06 09:50:50 sthen Exp $
# $OpenBSD: Makefile,v 1.23 2012/09/14 21:51:19 jasper Exp $
SHARED_ONLY= Yes
@ -6,7 +6,7 @@ COMMENT= communications server for Jabber/XMPP written in Lua
DISTNAME= prosody-0.8.2
CATEGORIES= net
MASTER_SITES= http://prosody.im/downloads/source/
REVISION= 6
REVISION= 7
HOMEPAGE= http://prosody.im/
@ -19,17 +19,21 @@ PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
USE_GMAKE= Yes
USE_GROFF = Yes
MODULES= lang/lua
SUBST_VARS= MODLUA_BIN
LIB_DEPENDS= devel/libidn
RUN_DEPENDS+= archivers/luazlib \
MODLUA_RUN_DEPENDS+= archivers/luazlib \
databases/luadbi \
devel/luaevent \
devel/luafs \
security/luasec \
textproc/luaexpat
WANTLIB+= crypto idn
SUBST_VARS+= FLAVOR
NO_REGRESS= Yes
CONFIGURE_STYLE=simple
CONFIGURE_ARGS+=--prefix="${PREFIX}" \
--sysconfdir="${SYSCONFDIR}/prosody" \

View File

@ -1,4 +1,4 @@
$OpenBSD: README,v 1.5 2012/04/22 11:41:55 ajacoutot Exp $
$OpenBSD: README,v 1.6 2012/09/14 21:51:19 jasper Exp $
+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
@ -21,7 +21,7 @@ Using Prosody in an OpenBSD environment
# ${RCDIR}/prosody start
You can have it start automatically on boot by adding prosody to your
You can have it start automatically on boot by adding 'prosody' to your
pkg_scripts line in /etc/rc.conf.local
3) Prosody comes with prosodyctl script for controlling the daemon. Run
@ -32,3 +32,8 @@ Using Prosody in an OpenBSD environment
For example, to add users you would use something like:
# ${TRUEPREFIX}/sbin/prosodyctl adduser username@domain.tld
4) In case you decide to enable 'mod_storage_sql', the default SQLite3
driver has already been installed. If you like to use MySQL or
PostgreSQL for the database, please install luadbi-mysql,${FLAVOR}
or luadbi-postgresql,${FLAVOR} respectively.