aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2021-12-31 00:30:48 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2021-12-31 00:30:48 +0000
commit1fc4fa871058c868f07699d054bbf8a8e2d7673e (patch)
tree8ac6d00bdf856c1552072fe7bbe6166ba872624e /net
parent326f523fe04ccda804e0e4a3f3da7963ab5f8a95 (diff)
downloadports-1fc4fa871058c868f07699d054bbf8a8e2d7673e.tar.gz
ports-1fc4fa871058c868f07699d054bbf8a8e2d7673e.zip
Add net/landrop: Drop any files to any devices on your LAN
LANDrop is a cross-platform tool that you can use to conveniently transfer photos, videos, and other types of files to other devices on the same local network. WWW: https://landrop.app
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/landrop/Makefile30
-rw-r--r--net/landrop/distinfo3
-rw-r--r--net/landrop/files/patch-LANDrop_LANDrop.pro13
-rw-r--r--net/landrop/pkg-descr5
5 files changed, 52 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index d756d4642641..a8131a8d36f2 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -341,6 +341,7 @@
SUBDIR += l2tpd
SUBDIR += ladvd
SUBDIR += lambdamoo
+ SUBDIR += landrop
SUBDIR += latd
SUBDIR += ldap-stats
SUBDIR += ldapbrowser
diff --git a/net/landrop/Makefile b/net/landrop/Makefile
new file mode 100644
index 000000000000..1590f98df513
--- /dev/null
+++ b/net/landrop/Makefile
@@ -0,0 +1,30 @@
+PORTNAME= landrop
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.4.0
+CATEGORIES= net
+
+MAINTAINER= lwhsu@FreeBSD.org
+COMMENT= Drop any files to any devices on your LAN
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+LIB_DEPENDS= libsodium.so:security/libsodium
+
+USES= gl qmake:outsource qt:5
+
+USE_GITHUB= yes
+
+GH_ACCOUNT= LANDrop
+GH_PROJECT= LANDrop
+
+USE_GL= gl
+USE_QT= buildtools_build core gui network widgets
+
+QMAKE_SOURCE_PATH= ${WRKSRC}/LANDrop/LANDrop.pro
+
+PLIST_FILES= bin/landrop \
+ share/applications/landrop.desktop \
+ share/icons/hicolor/scalable/apps/landrop.svg
+
+.include <bsd.port.mk>
diff --git a/net/landrop/distinfo b/net/landrop/distinfo
new file mode 100644
index 000000000000..6e1ae9fd350f
--- /dev/null
+++ b/net/landrop/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1640882015
+SHA256 (LANDrop-LANDrop-v0.4.0_GH0.tar.gz) = b24270aba21167266398d0431c3463b933efe156f195320736fcbc0653eb2d62
+SIZE (LANDrop-LANDrop-v0.4.0_GH0.tar.gz) = 318785
diff --git a/net/landrop/files/patch-LANDrop_LANDrop.pro b/net/landrop/files/patch-LANDrop_LANDrop.pro
new file mode 100644
index 000000000000..80e026a95d9f
--- /dev/null
+++ b/net/landrop/files/patch-LANDrop_LANDrop.pro
@@ -0,0 +1,13 @@
+--- LANDrop/LANDrop.pro.orig 2021-12-30 18:09:20 UTC
++++ LANDrop/LANDrop.pro
+@@ -73,8 +73,8 @@ unix {
+ desktop.files = $$OUT_PWD/landrop.desktop
+ desktop.extra = \
+ cp "$$PWD/../misc/LANDrop.desktop" "$$OUT_PWD/landrop.desktop" && \
+- sed -i 's/Exec=LANDrop/Exec=landrop/g' "$$OUT_PWD/landrop.desktop" && \
+- sed -i 's/Icon=LANDrop/Icon=landrop/g' "$$OUT_PWD/landrop.desktop"
++ sed -i.bak 's/Exec=LANDrop/Exec=landrop/g' "$$OUT_PWD/landrop.desktop" && \
++ sed -i.bak 's/Icon=LANDrop/Icon=landrop/g' "$$OUT_PWD/landrop.desktop"
+ desktop.CONFIG = no_check_exist
+
+ INSTALLS += binary icon desktop
diff --git a/net/landrop/pkg-descr b/net/landrop/pkg-descr
new file mode 100644
index 000000000000..864444ea04ff
--- /dev/null
+++ b/net/landrop/pkg-descr
@@ -0,0 +1,5 @@
+LANDrop is a cross-platform tool that you can use to conveniently transfer
+photos, videos, and other types of files to other devices on the same local
+network.
+
+WWW: https://landrop.app