aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-04-21 22:37:05 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-04-21 22:37:05 +0000
commitd18db997f56aa8a4d2fa381e7818b7af8baabbb7 (patch)
tree912e84ce2d4fb9f69a520ba7298f614dda011981
parenta52c48826ee640599b066d0daf3366d5094227f3 (diff)
downloadports-d18db997f56aa8a4d2fa381e7818b7af8baabbb7.tar.gz
ports-d18db997f56aa8a4d2fa381e7818b7af8baabbb7.zip
Notes
-rw-r--r--www/tokyopromenade/Makefile26
-rw-r--r--www/tokyopromenade/pkg-plist1
2 files changed, 11 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>
diff --git a/www/tokyopromenade/pkg-plist b/www/tokyopromenade/pkg-plist
index ad041f8e9ddb..f2eed58a948d 100644
--- a/www/tokyopromenade/pkg-plist
+++ b/www/tokyopromenade/pkg-plist
@@ -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