aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/sx/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/sx/Makefile')
-rw-r--r--net-mgmt/sx/Makefile20
1 files changed, 15 insertions, 5 deletions
diff --git a/net-mgmt/sx/Makefile b/net-mgmt/sx/Makefile
index 2eaf0ef6b6f0..f0a1bcb5c147 100644
--- a/net-mgmt/sx/Makefile
+++ b/net-mgmt/sx/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= sx
-PORTVERSION= 1.2
-PORTREVISION= 1
+PORTVERSION= 2.0
CATEGORIES= net-mgmt
MASTER_SITES= http://cdn.skylable.com/source/
@@ -15,15 +14,19 @@ LICENSE= GPLv2
BROKEN_powerpc64= Does not build
LIB_DEPENDS= libcurl.so:ftp/curl \
- libfcgi.so:www/fcgi
+ libfcgi.so:www/fcgi \
+ libyajl.so:devel/yajl \
+ libltdl.so:devel/libltdl \
+ libsqlite3.so:databases/sqlite3
HAS_CONFIGURE= yes
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
-USES= gmake libtool pkgconfig
+USES= fuse gmake libtool pkgconfig
CONFIGURE_ARGS= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" --prefix="${STAGE}${PREFIX}" \
- --sysconfdir="${ETCDIR}" --mandir="${MANPREFIX}/man"
+ --sysconfdir="${ETCDIR}" --mandir="${MANPREFIX}/man" \
+ --with-system-libs
OPTIONS_DEFINE= SXSERVER DOCS
SXSERVER_DESC= Enable sxhttpd server
@@ -41,4 +44,11 @@ CONFIGURE_ARGS+=--disable-sxhttpd --disable-server
PLIST_SUB+= SXSERVER="@comment "
.endif
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1002000
+PLIST_FILES+= lib/sxclient/libsxf_aes256-20.so \
+ lib/sxclient/libsxf_aes256.so \
+ lib/sxclient/libsxf_aes256_dummy-00.so \
+ lib/sxclient/libsxf_aes256_dummy.so
+.endif
+
.include <bsd.port.mk>