git: 2eefd7958e10 - main - mail/roundcube-classic: Add classic skin as separate port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 18 Sep 2022 10:29:34 UTC
The branch main has been updated by brnrd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=2eefd7958e106a45607e982a5c25d677fdafb564
commit 2eefd7958e106a45607e982a5c25d677fdafb564
Author: Bernard Spil <brnrd@FreeBSD.org>
AuthorDate: 2022-09-18 10:18:33 +0000
Commit: Bernard Spil <brnrd@FreeBSD.org>
CommitDate: 2022-09-18 10:29:25 +0000
mail/roundcube-classic: Add classic skin as separate port
PR: 265653
---
mail/Makefile | 1 +
mail/roundcube-classic/Makefile | 34 ++++++++++++++++++++++++++++++++++
mail/roundcube-classic/distinfo | 3 +++
mail/roundcube-classic/pkg-descr | 3 +++
4 files changed, 41 insertions(+)
diff --git a/mail/Makefile b/mail/Makefile
index be969eb02bb0..5a792bffc1ab 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -559,6 +559,7 @@
SUBDIR += roundcube-automatic_addressbook
SUBDIR += roundcube-calendar-kolab
SUBDIR += roundcube-carddav
+ SUBDIR += roundcube-classic
SUBDIR += roundcube-contextmenu
SUBDIR += roundcube-html5_notifier
SUBDIR += roundcube-identity_smtp
diff --git a/mail/roundcube-classic/Makefile b/mail/roundcube-classic/Makefile
new file mode 100644
index 000000000000..6f18dae276a3
--- /dev/null
+++ b/mail/roundcube-classic/Makefile
@@ -0,0 +1,34 @@
+PORTNAME= classic
+DISTVERSION= 1.6.0
+CATEGORIES?= mail www
+PKGNAMEPREFIX= roundcube-
+PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
+
+MAINTAINER= brnrd@FreeBSD.org
+COMMENT= Larry skin/theme for Rouncube webmail
+
+LICENSE= GPLv3+
+
+USES= cpe php:flavors
+
+RUN_DEPENDS= roundcube${PHP_PKGNAMESUFFIX}>=1.6.0:mail/roundcube@${PHP_FLAVOR}
+NO_ARCH= yes
+NO_BUILD= yes
+
+CPE_PRODUCT= webmail
+CPE_VENDOR= roundcube
+
+IGNORE_WITH_PHP=82
+
+WWWDIR= ${PREFIX}/www/${PKGNAMEPREFIX:S/-//}/skins/${PORTNAME}
+
+USE_GITHUB= yes
+GH_ACCOUNT= ${PKGNAMEPREFIX:S/-//}
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${WWWDIR}
+ @(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
+ @(cd ${WRKSRC}; ${FIND} . -not -type d) | ${SORT} | \
+ ${SED} -e 's,^\.,${WWWDIR_REL},' >> ${TMPPLIST}
+
+.include <bsd.port.mk>
diff --git a/mail/roundcube-classic/distinfo b/mail/roundcube-classic/distinfo
new file mode 100644
index 000000000000..fbe52bbcfcf9
--- /dev/null
+++ b/mail/roundcube-classic/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1661169342
+SHA256 (roundcube-classic-1.6.0_GH0.tar.gz) = 8b9d27b4b6ca469c7246985f9bca9e9711a57c825f9c25c6b082273a3920e4c3
+SIZE (roundcube-classic-1.6.0_GH0.tar.gz) = 250983
diff --git a/mail/roundcube-classic/pkg-descr b/mail/roundcube-classic/pkg-descr
new file mode 100644
index 000000000000..d930b563f641
--- /dev/null
+++ b/mail/roundcube-classic/pkg-descr
@@ -0,0 +1,3 @@
+"Classic" skin for Roundcube Webmail.
+
+WWW: https://github.com/roundcube/classic