freebsd-ports/www/tokyopromenade/Makefile

43 lines
891 B
Makefile
Raw Normal View History

# New ports collection makefile for: tokyopromenade
# Date created: 2009-08-13
# Whom: Qing Feng <qingfeng@douban.com>
#
# $FreeBSD$
#
PORTNAME= tokyopromenade
PORTVERSION= 0.9.19
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://1978th.net/tokyopromenade/ \
LOCAL/glarkin
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
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>