2010-02-24 21:58:04 +01:00
|
|
|
# New ports collection makefile for: tokyopromenade
|
|
|
|
# Date created: 2009-08-13
|
2011-06-28 06:39:41 +02:00
|
|
|
# Whom: Qing Feng <qingfeng@douban.com>
|
2010-02-24 21:58:04 +01:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= tokyopromenade
|
|
|
|
PORTVERSION= 0.9.19
|
2010-04-26 23:58:58 +02:00
|
|
|
PORTREVISION= 1
|
2010-02-24 21:58:04 +01:00
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= http://1978th.net/tokyopromenade/ \
|
|
|
|
LOCAL/glarkin
|
|
|
|
|
2011-06-28 06:39:41 +02:00
|
|
|
MAINTAINER= qingfeng@douban.com
|
2010-02-24 21:58:04 +01:00
|
|
|
COMMENT= A content management system
|
|
|
|
|
|
|
|
BUILD_DEPENDS= tokyocabinet>=1.4.31:${PORTSDIR}/databases/tokyocabinet \
|
|
|
|
fcgi-devkit>=0:${PORTSDIR}/www/fcgi
|
|
|
|
LIB_DEPENDS= tokyocabinet:${PORTSDIR}/databases/tokyocabinet
|
|
|
|
RUN_DEPENDS= spawn-fcgi>=0:${PORTSDIR}/www/spawn-fcgi
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
|
|
|
|
SUB_FILES+= pkg-message
|
|
|
|
|
|
|
|
MAN1= prommgr.1
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --enable-fcgi
|
|
|
|
|
|
|
|
.if defined(WITH_LUA)
|
|
|
|
CONFIGURE_ARGS+= --enable-lua
|
|
|
|
CONFIGURE_ENV+= LDFLAGS="-L${LUA_LIBDIR}"
|
|
|
|
CFLAGS+= -I${LUA_INCDIR}
|
|
|
|
USE_LUA= yes
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|