Lines 2-7
Link Here
|
2 |
|
2 |
|
3 |
PORTNAME= prosody |
3 |
PORTNAME= prosody |
4 |
PORTVERSION= 0.11.10 |
4 |
PORTVERSION= 0.11.10 |
|
|
5 |
PORTREVISION= 1 |
5 |
CATEGORIES= net-im |
6 |
CATEGORIES= net-im |
6 |
MASTER_SITES= https://prosody.im/downloads/source/ |
7 |
MASTER_SITES= https://prosody.im/downloads/source/ |
7 |
|
8 |
|
Lines 18-24
RUN_DEPENDS= ${LUA_REFMODLIBDIR}/socket/core.so:net/luasocket@${LUA_FLAVOR} \
Link Here
|
18 |
${LUA_REFMODLIBDIR}/bit.so:devel/lua-bitop@${LUA_FLAVOR} |
19 |
${LUA_REFMODLIBDIR}/bit.so:devel/lua-bitop@${LUA_FLAVOR} |
19 |
LIB_DEPENDS= libidn.so:dns/libidn |
20 |
LIB_DEPENDS= libidn.so:dns/libidn |
20 |
|
21 |
|
21 |
USES= compiler:c11 cpe gmake lua:52 shebangfix ssl |
22 |
USES= cpe gmake lua:52 shebangfix ssl |
22 |
SHEBANG_FILES= prosody prosodyctl tools/migration/prosody-migrator.lua |
23 |
SHEBANG_FILES= prosody prosodyctl tools/migration/prosody-migrator.lua |
23 |
LUA_PREMK= yes |
24 |
LUA_PREMK= yes |
24 |
HAS_CONFIGURE= yes |
25 |
HAS_CONFIGURE= yes |
Lines 31-37
CONFIGURE_ARGS= --prefix="${PREFIX}" \
Link Here
|
31 |
--with-random=arc4random \ |
32 |
--with-random=arc4random \ |
32 |
--c-compiler="${CC}" \ |
33 |
--c-compiler="${CC}" \ |
33 |
--cflags="${CFLAGS}" \ |
34 |
--cflags="${CFLAGS}" \ |
34 |
--add-cflags="-fPIC -std=c99 -I${LOCALBASE}/include -I${OPENSSLINC}" \ |
35 |
--add-cflags="-fPIC -I${LOCALBASE}/include -I${OPENSSLINC}" \ |
35 |
--linker="${CC}" \ |
36 |
--linker="${CC}" \ |
36 |
--ldflags="${LDFLAGS}" \ |
37 |
--ldflags="${LDFLAGS}" \ |
37 |
--add-ldflags="-shared -L${LOCALBASE}/lib -L${OPENSSLLIB}" \ |
38 |
--add-ldflags="-shared -L${LOCALBASE}/lib -L${OPENSSLLIB}" \ |