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
|
2011-08-26 13:22:02 +02:00
|
|
|
PORTVERSION= 0.9.22
|
2010-02-24 21:58:04 +01:00
|
|
|
CATEGORIES= www
|
2011-08-26 13:22:02 +02:00
|
|
|
MASTER_SITES= http://fallabs.com/${PORTNAME}/
|
2010-02-24 21:58:04 +01:00
|
|
|
|
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
|
|
|
|
|
2011-08-26 13:22:02 +02:00
|
|
|
OPTIONS= LUA "Build lua extension" off
|
|
|
|
|
|
|
|
CONFIGURE_ARGS= --enable-fcgi
|
2010-02-24 21:58:04 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
|
2011-08-26 13:22:02 +02:00
|
|
|
SUB_FILES= pkg-message
|
2010-02-24 21:58:04 +01:00
|
|
|
|
|
|
|
MAN1= prommgr.1
|
|
|
|
|
2011-08-26 13:22:02 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2010-02-24 21:58:04 +01:00
|
|
|
|
|
|
|
.if defined(WITH_LUA)
|
|
|
|
CONFIGURE_ARGS+= --enable-lua
|
2011-09-24 00:26:39 +02:00
|
|
|
LDFLAGS+= -L${LUA_LIBDIR}
|
2010-02-24 21:58:04 +01:00
|
|
|
CFLAGS+= -I${LUA_INCDIR}
|
|
|
|
USE_LUA= yes
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|