diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-04-21 22:37:05 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-04-21 22:37:05 +0000 |
commit | d18db997f56aa8a4d2fa381e7818b7af8baabbb7 (patch) | |
tree | 912e84ce2d4fb9f69a520ba7298f614dda011981 /www/tokyopromenade/Makefile | |
parent | a52c48826ee640599b066d0daf3366d5094227f3 (diff) |
Notes
Diffstat (limited to 'www/tokyopromenade/Makefile')
-rw-r--r-- | www/tokyopromenade/Makefile | 26 |
1 files changed, 10 insertions, 16 deletions
diff --git a/www/tokyopromenade/Makefile b/www/tokyopromenade/Makefile index e6178935412f..4f8bede943d4 100644 --- a/www/tokyopromenade/Makefile +++ b/www/tokyopromenade/Makefile @@ -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> |