summaryrefslogtreecommitdiff
path: root/www/tokyopromenade/Makefile
blob: 0d5f74739e9d2e2f5ffdcab13b8fb3240a17d55f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# New ports collection makefile for:	tokyopromenade
# Date created:		2009-08-13
# Whom:			Qing Feng <qingfeng@douban.com>
#
# $FreeBSD$
#

PORTNAME=	tokyopromenade
PORTVERSION=	0.9.22
CATEGORIES=	www
MASTER_SITES=	http://fallabs.com/${PORTNAME}/

MAINTAINER=	qingfeng@douban.com
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

OPTIONS=	LUA	"Build lua extension" off

CONFIGURE_ARGS=	--enable-fcgi
GNU_CONFIGURE=	yes
USE_GMAKE=	yes

SUB_FILES=	pkg-message

MAN1=		prommgr.1

.include <bsd.port.options.mk>

.if defined(WITH_LUA)
CONFIGURE_ARGS+=	--enable-lua
LDFLAGS+=	-L${LUA_LIBDIR}
CFLAGS+=	-I${LUA_INCDIR}
USE_LUA=	yes
.endif

post-install:
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>