Support stage

Switch to lua 5.2
This commit is contained in:
Baptiste Daroussin 2014-04-21 22:37:05 +00:00
parent a52c48826e
commit d18db997f5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=351729
2 changed files with 11 additions and 16 deletions

View file

@ -3,38 +3,32 @@
PORTNAME= tokyopromenade
PORTVERSION= 0.9.22
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://fallabs.com/${PORTNAME}/
MAINTAINER= qingfeng@douban.com
COMMENT= A content management system
COMMENT= Content management system
BUILD_DEPENDS= tokyocabinet>=1.4.31:${PORTSDIR}/databases/tokyocabinet \
fcgi-devkit>=0:${PORTSDIR}/www/fcgi
LIB_DEPENDS= tokyocabinet:${PORTSDIR}/databases/tokyocabinet
LIB_DEPENDS= libtokyocabinet.so:${PORTSDIR}/databases/tokyocabinet
RUN_DEPENDS= spawn-fcgi>=0:${PORTSDIR}/www/spawn-fcgi
OPTIONS_DEFINE= LUA
CONFIGURE_ARGS= --enable-fcgi
GNU_CONFIGURE= yes
USES= gmake
USES= gmake lua
CFLAGS= -Wno-incompatible-pointer-types-discards-qualifiers
SUB_FILES= pkg-message
MAN1= prommgr.1
LUA_CONFIGURE_ENABLE+= lua
LUA_LDFLAGS+= -L${LUA_LIBDIR}
LUA_CFLAGS+= -I${LUA_INCDIR}
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MLUA}
CONFIGURE_ARGS+= --enable-lua
LDFLAGS+= -L${LUA_LIBDIR}
CFLAGS+= -I${LUA_INCDIR}
USE_LUA= yes
.endif
post-install:
@${CAT} ${PKGMESSAGE}
post-patch:
${REINPLACE_CMD} -e "s/llua/llua-${LUA_VER}/g" ${WRKSRC}/configure
.include <bsd.port.mk>

View file

@ -5,6 +5,7 @@ libexec/promscrcount.lua
libexec/promscrsample.lua
libexec/promupdiff.sh
libexec/promupping.sh
man/man1/prommgr.1.gz
%%DATADIR%%/COPYING
%%DATADIR%%/ChangeLog
%%DATADIR%%/THANKS