Skip to content

Commit

Permalink
mail/roundcube-classic: Add classic skin as separate port
Browse files Browse the repository at this point in the history
PR:		265653
  • Loading branch information
Sp1l committed Sep 18, 2022
1 parent 72ed1c4 commit 2eefd79
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 0 deletions.
1 change: 1 addition & 0 deletions mail/Makefile
Expand Up @@ -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
Expand Down
34 changes: 34 additions & 0 deletions 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>
3 changes: 3 additions & 0 deletions 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
3 changes: 3 additions & 0 deletions mail/roundcube-classic/pkg-descr
@@ -0,0 +1,3 @@
"Classic" skin for Roundcube Webmail.

WWW: https://github.com/roundcube/classic

0 comments on commit 2eefd79

Please sign in to comment.