svn commit: r372230 - in head/net-mgmt: . seafile-gui seafile-gui/files
John Marino
marino at FreeBSD.org
Thu Nov 6 19:19:34 UTC 2014
Author: marino
Date: Thu Nov 6 19:19:31 2014
New Revision: 372230
URL: https://svnweb.freebsd.org/changeset/ports/372230
QAT: https://qat.redports.org/buildarchive/r372230/
Log:
Add new port net-mgmt/seafile-gui
PR: 193312
Submitted by: Jingfeng Yan
Seafile is a next-generation open source cloud storage system with
advanced support for file syncing, privacy protection and teamwork.
Collections of files are called libraries, and each library can be synced
separately. A library can be encrypted with a user chosen password. This
password is not stored on the server, so even the server admin cannot
view a file's contents.
Seafile allows users to create groups with file syncing, wiki, and
discussion to enable easy collaboration around documents within a team.
This is the desktop client for Seafile.
Added:
head/net-mgmt/seafile-gui/
head/net-mgmt/seafile-gui/Makefile (contents, props changed)
head/net-mgmt/seafile-gui/distinfo (contents, props changed)
head/net-mgmt/seafile-gui/files/
head/net-mgmt/seafile-gui/files/patch-CMakeLists.txt (contents, props changed)
head/net-mgmt/seafile-gui/pkg-descr (contents, props changed)
head/net-mgmt/seafile-gui/pkg-plist (contents, props changed)
Modified:
head/net-mgmt/Makefile
Modified: head/net-mgmt/Makefile
==============================================================================
--- head/net-mgmt/Makefile Thu Nov 6 18:33:54 2014 (r372229)
+++ head/net-mgmt/Makefile Thu Nov 6 19:19:31 2014 (r372230)
@@ -282,6 +282,7 @@
SUBDIR += scli
SUBDIR += sdig
SUBDIR += seafile
+ SUBDIR += seafile-gui
SUBDIR += send
SUBDIR += sendip
SUBDIR += sipcalc
Added: head/net-mgmt/seafile-gui/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/seafile-gui/Makefile Thu Nov 6 19:19:31 2014 (r372230)
@@ -0,0 +1,37 @@
+# $FreeBSD$
+
+PORTNAME= seafile-gui
+PORTVERSION= 3.1.5
+CATEGORIES= net-mgmt
+
+MAINTAINER= yan_jingfeng at yahoo.com
+COMMENT= Seafile desktop client
+
+LICENSE= APACHE20
+
+LIB_DEPENDS+= libglib-2.0.so:${PORTSDIR}/devel/glib20 \
+ libsearpc.so:${PORTSDIR}/devel/libsearpc \
+ libseafile.so:${PORTSDIR}/net-mgmt/seafile \
+ libsqlite3.so:${PORTSDIR}/databases/sqlite3 \
+ libccnet.so:${PORTSDIR}/net-mgmt/ccnet \
+ libjansson.so:${PORTSDIR}/devel/jansson
+
+USE_GITHUB= yes
+GH_ACCOUNT= haiwen
+GH_PROJECT= seafile-client
+GH_TAGNAME= v3.1.5
+GH_COMMIT= ce808db
+
+USES= cmake pkgconfig
+USE_QT4= corelib dbus gui network \
+ qmake_build moc_build rcc_build uic_build \
+ linguist_build
+USE_OPENSSL= yes
+INSTALLS_ICONS= yes
+LRELEASE= ${PREFIX}/bin/lrelease-qt4
+CMAKE_ARGS+= -DCMAKE_INCLUDE_PATH:PATH=include/glib-2.0
+
+WITH_OPENSSL_PORT= yes
+CMAKE_BUILD_TYPE= Release
+
+.include <bsd.port.mk>
Added: head/net-mgmt/seafile-gui/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/seafile-gui/distinfo Thu Nov 6 19:19:31 2014 (r372230)
@@ -0,0 +1,2 @@
+SHA256 (seafile-gui-3.1.5.tar.gz) = 81102eb267b8e3e507ddf78d5b019fd527f521e9cff1e2dd3dfcd41eec69e6ff
+SIZE (seafile-gui-3.1.5.tar.gz) = 763089
Added: head/net-mgmt/seafile-gui/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/seafile-gui/files/patch-CMakeLists.txt Thu Nov 6 19:19:31 2014 (r372230)
@@ -0,0 +1,29 @@
+--- CMakeLists.txt.orig 2014-09-03 23:17:55.314282575 -0400
++++ CMakeLists.txt 2014-09-03 23:19:48.914240566 -0400
+@@ -21,7 +21,7 @@
+ IF (${CMAKE_BUILD_TYPE} MATCHES Release)
+ SET(GUI_TYPE WIN32)
+ ENDIF()
+-ELSEIF (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
++ELSEIF (${CMAKE_SYSTEM_NAME} MATCHES "Linux|FreeBSD|DragonFly|NetBSD|OpenBSD")
+ INCLUDE_DIRECTORIES(${QT_QTDBUS_INCLUDE_DIR})
+ LINK_DIRECTORIES(${QT_QTDBUS_LIBRARIES})
+ SET(EXTRA_LIBS ${EXTRA_LIBS} ${QT_QTDBUS_LIBRARIES})
+@@ -42,7 +42,7 @@
+ ####################
+ ###### BEGIN: QT configuration
+ ####################
+-IF (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
++IF (${CMAKE_SYSTEM_NAME} MATCHES "Linux|FreeBSD|DragonFly|NetBSD|OpenBSD")
+ SET(QtDBus "QtDBus")
+ ENDIF()
+
+@@ -380,7 +380,7 @@
+ ${EXTRA_LIBS}
+ )
+
+-IF (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
++IF (${CMAKE_SYSTEM_NAME} MATCHES "Linux|FreeBSD|DragonFly|NetBSD|OpenBSD")
+ TARGET_LINK_LIBRARIES(seafile-applet
+ ${QT_QTDBUS_LIBRARIES}
+ )
Added: head/net-mgmt/seafile-gui/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/seafile-gui/pkg-descr Thu Nov 6 19:19:31 2014 (r372230)
@@ -0,0 +1,12 @@
+Seafile is a next-generation open source cloud storage system with
+advanced support for file syncing, privacy protection and teamwork.
+Collections of files are called libraries, and each library can be synced
+separately. A library can be encrypted with a user chosen password. This
+password is not stored on the server, so even the server admin cannot
+view a file's contents.
+
+Seafile allows users to create groups with file syncing, wiki, and
+discussion to enable easy collaboration around documents within a team.
+This is the desktop client for Seafile.
+
+WWW: https://github.com/haiwen/seafile
Added: head/net-mgmt/seafile-gui/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/seafile-gui/pkg-plist Thu Nov 6 19:19:31 2014 (r372230)
@@ -0,0 +1,10 @@
+%%QT_BINDIR%%/seafile-applet
+share/applications/seafile.desktop
+share/icons/hicolor/128x128/apps/seafile.png
+share/icons/hicolor/16x16/apps/seafile.png
+share/icons/hicolor/22x22/apps/seafile.png
+share/icons/hicolor/24x24/apps/seafile.png
+share/icons/hicolor/32x32/apps/seafile.png
+share/icons/hicolor/48x48/apps/seafile.png
+share/icons/hicolor/scalable/apps/seafile.svg
+share/pixmaps/seafile.png
More information about the svn-ports-all
mailing list