blob: e79ef1f59c7458aee9cd79e31848af17076fd03f (
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
|
# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
# $FreeBSD$
PORTNAME= sx
PORTVERSION= 0.4
PORTREVISION= 1
CATEGORIES= net-mgmt
MASTER_SITES= http://cdn.skylable.com/source/
MAINTAINER= vg@FreeBSD.org
COMMENT= Skylable Sx is a reliable, fully distributed cluster solution
LICENSE= GPLv2
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \
libfcgi.so:${PORTSDIR}/www/fcgi
HAS_CONFIGURE= yes
USE_LDCONFIG= yes
USES= gmake libtool pkgconfig
CONFIGURE_ARGS= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" --prefix="${STAGE}${PREFIX}" \
--sysconfdir="${ETCDIR}"
OPTIONS_DEFINE= SXSERVER DOCS
SXSERVER_DESC= Enable sxhttpd server
OPTIONS_DEFAULT=SXSERVER
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MSXSERVER}
CONFIGURE_ARGS+=--localstatedir="${STAGE}${PREFIX}/sxserver"
PLIST_SUB+= SXSERVER=""
PLIST_SUB+= SXCLIENT="@comment "
USE_RC_SUBR= sxserver
SUB_FILES= pkg-message
.else
CONFIGURE_ARGS+=--disable-sxhttpd
PLIST_SUB+= SXSERVER="@comment "
PLIST_SUB+= SXCLIENT=""
.endif
.include <bsd.port.mk>
|