Index: head/mail/roundcube/Makefile =================================================================== --- head/mail/roundcube/Makefile (revision 468850) +++ head/mail/roundcube/Makefile (revision 468851) @@ -1,77 +1,78 @@ # $FreeBSD$ PORTNAME= roundcube DISTVERSION= 1.3.6 PORTEPOCH= 1 CATEGORIES?= mail www MASTER_SITES= https://github.com/roundcube/roundcubemail/releases/download/${DISTVERSION}/ DISTNAME= ${PORTNAME}mail-${DISTVERSION}-complete +PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} MAINTAINER?= ale@FreeBSD.org COMMENT= Fully skinnable XHTML/CSS webmail written in PHP LICENSE= GPLv3 NO_ARCH= yes NO_BUILD= yes WRKSRC= ${WRKDIR}/${PORTNAME}mail-${DISTVERSION} RCUBECOMP= SQL config .htaccess index.php installer logs \ plugins program skins temp vendor PORTDOCS= CHANGELOG INSTALL README.md UPGRADING -USES= cpe php:web +USES= cpe php:web,flavors CPE_PRODUCT= webmail CPE_VENDOR= roundcube USE_PHP= pcre mbstring session iconv dom xml json intl zip filter openssl fileinfo exif OPTIONS_DEFINE= LDAP GD PSPELL NSC DOCS OPTIONS_SINGLE= DB OPTIONS_SINGLE_DB= MYSQL PGSQL SQLITE OPTIONS_DEFAULT=MYSQL DB_DESC= Database backend MYSQL_DESC= Use MySQL backend PGSQL_DESC= Use PostgreSQL backend SQLITE_DESC= Use SQLite backend LDAP_DESC= Enable LDAP support (address book) GD_DESC= Enable GD support (image conversion) PSPELL_DESC= Enable PSpell support (internal spellcheck) NSC_DESC= Install network spellchecker GD_VARS= use_php+=gd LDAP_VARS= use_php+=ldap MYSQL_VARS= use_php+=pdo_mysql NSC_IMPLIES= PSPELL NSC_VARS= use_php+=simplexml rcubecomp+=spellchecker.php PGSQL_VARS= use_php+=pdo_pgsql PSPELL_VARS= use_php+=pspell SQLITE_VARS= use_php+=pdo_sqlite post-extract-NSC: @${CP} ${FILESDIR}/spellchecker.php ${WRKSRC} post-patch: @${FIND} ${WRKSRC} -name \*.orig -type f -delete do-install: -${MKDIR} ${STAGEDIR}${WWWDIR} @cd ${WRKSRC} && ${COPYTREE_BIN} bin ${STAGEDIR}${WWWDIR} .for i in ${RCUBECOMP} @cd ${WRKSRC} && ${COPYTREE_SHARE} ${i} ${STAGEDIR}${WWWDIR} .endfor @(cd ${WRKSRC}; ${FIND} bin ${RCUBECOMP} -not -type d) | ${SORT} | \ ${SED} -ne 's,^,${WWWDIR_REL}/,p' >> ${TMPPLIST} @${ECHO_CMD} '@postexec chown ${WWWOWN}:${WWWGRP} %D/${WWWDIR_REL}/logs' \ >> ${TMPPLIST} @${ECHO_CMD} '@postexec chown ${WWWOWN}:${WWWGRP} %D/${WWWDIR_REL}/temp' \ >> ${TMPPLIST} do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${PORTDOCS} @${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/ .endfor .include Index: head/mail/roundcube-automatic_addressbook/Makefile =================================================================== --- head/mail/roundcube-automatic_addressbook/Makefile (revision 468850) +++ head/mail/roundcube-automatic_addressbook/Makefile (revision 468851) @@ -1,31 +1,33 @@ # $FreeBSD$ PORTNAME= automatic_addressbook PORTVERSION= 0.4.3 CATEGORIES= mail PKGNAMEPREFIX= roundcube- +PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} MAINTAINER= andrej@ebert.su COMMENT= Roundcube webmail automatic addressbook plugin LICENSE= GPLv3 -RUN_DEPENDS= roundcube>=0.8:mail/roundcube +RUN_DEPENDS= roundcube${PHP_PKGNAMESUFFIX}>=0.8:mail/roundcube@${PHP_FLAVOR} +USES= php:flavors USE_GITHUB= yes GH_ACCOUNT= sblaisot NO_BUILD= yes NO_ARCH= yes RCDIR= ${PREFIX}/www/roundcube WWWDIR= ${RCDIR}/plugins/automatic_addressbook SUB_FILES= pkg-message SUB_LIST= RCDIR=${RCDIR} PLUGINDIR=${WWWDIR} do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} cd ${WRKSRC} && ${PAX} -r -w . ${STAGEDIR}${WWWDIR} .include Index: head/mail/roundcube-carddav/Makefile =================================================================== --- head/mail/roundcube-carddav/Makefile (revision 468850) +++ head/mail/roundcube-carddav/Makefile (revision 468851) @@ -1,40 +1,41 @@ # Created by: gahr # $FreeBSD$ PORTNAME= carddav PORTVERSION= 2.0.4 PORTREVISION= 2 CATEGORIES= mail MASTER_SITES= https://github.com/blind-coder/rcmcarddav/releases/download/v${PORTVERSION}/ PKGNAMEPREFIX= roundcube- +PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} MAINTAINER= gahr@FreeBSD.org COMMENT= Roundcube CardDAV plugin LICENSE= GPLv2 -BUILD_DEPENDS= roundcube>=1.0:mail/roundcube -RUN_DEPENDS= roundcube>=1.0:mail/roundcube +BUILD_DEPENDS= roundcube${PHP_PKGNAMESUFFIX}>=1.0:mail/roundcube@${PHP_FLAVOR} +RUN_DEPENDS= roundcube${PHP_PKGNAMESUFFIX}>=1.0:mail/roundcube@${PHP_FLAVOR} WRKSRC= ${WRKDIR}/${PORTNAME} NO_BUILD= yes NO_ARCH= yes # Cannot use USE_GITHUB, as the original tarball doesn't come with the bundled # sabre library. #USE_GITHUB= yes #GH_ACCOUNT= blind-coder #GH_PROJECT= rcmcarddav -USES= php tar:bz2 +USES= php:flavors tar:bz2 USE_PHP= simplexml sockets curl WWWDIR= ${PREFIX}/www/roundcube/plugins/carddav do-install: ${FIND} ${WRKSRC} -name "*.orig" -delete ${MKDIR} ${STAGEDIR}${WWWDIR} cd ${WRKSRC} && ${PAX} -r -w . ${STAGEDIR}${WWWDIR} .include Index: head/mail/roundcube-contextmenu/Makefile =================================================================== --- head/mail/roundcube-contextmenu/Makefile (revision 468850) +++ head/mail/roundcube-contextmenu/Makefile (revision 468851) @@ -1,31 +1,33 @@ # Created by: Alexander Moisseev # $FreeBSD$ PORTNAME= contextmenu PORTVERSION= 2.3 CATEGORIES= mail PKGNAMEPREFIX= roundcube- +PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} MAINTAINER= moiseev@mezonplus.ru COMMENT= RoundCube webmail contextmenu plugin LICENSE= GPLv3 -RUN_DEPENDS= roundcube>=1.3:mail/roundcube +RUN_DEPENDS= roundcube${PHP_PKGNAMESUFFIX}>=1.3:mail/roundcube@${PHP_FLAVOR} +USES= php:flavors NO_BUILD= yes NO_ARCH= yes USE_GITHUB= yes GH_ACCOUNT= JohnDoh GH_PROJECT= Roundcube-Plugin-Context-Menu PLUGINDIR= ${WWWDIR:S,/${PORTNAME}$$,,}/roundcube/plugins/${PORTNAME} RCDIR_REL= ${WWWDIR_REL:S,/${PORTNAME}$$,,}/roundcube PLIST_SUB= RCDIR_REL="${RCDIR_REL}" do-install: ${MKDIR} ${STAGEDIR}${PLUGINDIR} cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${PLUGINDIR} .include Index: head/mail/roundcube-groupvice/Makefile =================================================================== --- head/mail/roundcube-groupvice/Makefile (revision 468850) +++ head/mail/roundcube-groupvice/Makefile (revision 468851) @@ -1,26 +1,28 @@ # Created by: Alexey V. Degtyarev # $FreeBSD$ PORTNAME= groupvice PORTVERSION= 0.1.2 CATEGORIES= mail MASTER_SITES= ftp://renatasystems.org/pub/FreeBSD/ports/distfiles/ PKGNAMEPREFIX= roundcube- +PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} MAINTAINER= ports@FreeBSD.org COMMENT= Theme for RoundCube Web Mail -RUN_DEPENDS= roundcube>=0.2:mail/roundcube +RUN_DEPENDS= roundcube${PHP_PKGNAMESUFFIX}>=0.2:mail/roundcube@${PHP_FLAVOR} +USES= php:flavors NO_BUILD= yes NO_ARCH= yes WWWDIR?= ${PREFIX}/www/roundcube/skins/groupvice SUB_FILES= pkg-message do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} cd ${WRKSRC} && ${PAX} -r -w . ${STAGEDIR}${WWWDIR} .include Index: head/mail/roundcube-html5_notifier/Makefile =================================================================== --- head/mail/roundcube-html5_notifier/Makefile (revision 468850) +++ head/mail/roundcube-html5_notifier/Makefile (revision 468851) @@ -1,30 +1,32 @@ # Created by: Koichiro IWAO # $FreeBSD$ PORTNAME= html5_notifier PORTVERSION= 0.6.2 DISTVERSIONPREFIX= v CATEGORIES= mail PKGNAMEPREFIX= roundcube- +PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} MAINTAINER= meta@FreeBSD.org COMMENT= HTML5 desktop notifier plugin for roundcube LICENSE= GPLv3 -RUN_DEPENDS= roundcube>=1.0:mail/roundcube -BUILD_DEPENDS= roundcube>=1.0:mail/roundcube +RUN_DEPENDS= roundcube${PHP_PKGNAMESUFFIX}>=1.0:mail/roundcube@${PHP_FLAVOR} +BUILD_DEPENDS= roundcube${PHP_PKGNAMESUFFIX}>=1.0:mail/roundcube@${PHP_FLAVOR} +USES= php:flavors USE_GITHUB= yes GH_ACCOUNT= stremlau NO_BUILD= yes NO_ARCH= yes WWWDIR= ${PREFIX}/www/roundcube/plugins/${PORTNAME} do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} cd ${WRKSRC} && ${PAX} -r -w . ${STAGEDIR}${WWWDIR} .include Index: head/mail/roundcube-login_info/Makefile =================================================================== --- head/mail/roundcube-login_info/Makefile (revision 468850) +++ head/mail/roundcube-login_info/Makefile (revision 468851) @@ -1,32 +1,34 @@ # Created by: Mark Felder # $FreeBSD$ PORTNAME= login_info DISTVERSION= 1.2 PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= https://www.std-soft.de/webmail/plugins/ PKGNAMEPREFIX= roundcube- +PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} DISTNAME= ${PORTNAME}_rc0.5_v${DISTVERSION} MAINTAINER= feld@FreeBSD.org COMMENT= Roundcube login info plugin LICENSE= GPLv2 -RUN_DEPENDS= roundcube>=0.5:mail/roundcube +RUN_DEPENDS= roundcube${PHP_PKGNAMESUFFIX}>=0.5:mail/roundcube@${PHP_FLAVOR} +USES= php:flavors NO_BUILD= yes NO_ARCH= yes WWWDIR= ${LOCALBASE}/www/roundcube PLUGDIR= ${WWWDIR}/plugins/login_info PLIST_SUB+= PLUGDIR="www/roundcube/plugins/login_info" WRKSRC= ${WRKDIR}/login_info do-install: @${ECHO} "Installing in ${PLUGDIR}" ${MKDIR} ${STAGEDIR}/${PLUGDIR} cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}/${PLUGDIR} .include Index: head/mail/roundcube-markasjunk2/Makefile =================================================================== --- head/mail/roundcube-markasjunk2/Makefile (revision 468850) +++ head/mail/roundcube-markasjunk2/Makefile (revision 468851) @@ -1,30 +1,32 @@ # Created by: gahr # $FreeBSD$ PORTNAME= markasjunk2 PORTVERSION= 1.11.1 CATEGORIES= mail PKGNAMEPREFIX= roundcube- +PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} MAINTAINER= gahr@FreeBSD.org COMMENT= Roundcube mark-as-junk / mark-as-not-junk plugin LICENSE= GPLv3 -BUILD_DEPENDS= roundcube>=1.0:mail/roundcube -RUN_DEPENDS= roundcube>=1.0:mail/roundcube +BUILD_DEPENDS= roundcube${PHP_PKGNAMESUFFIX}>=1.0:mail/roundcube@${PHP_FLAVOR} +RUN_DEPENDS= roundcube${PHP_PKGNAMESUFFIX}>=1.0:mail/roundcube@${PHP_FLAVOR} +USES= php:flavors USE_GITHUB= yes GH_ACCOUNT= JohnDoh GH_PROJECT= Roundcube-Plugin-Mark-as-Junk-2 NO_BUILD= yes NO_ARCH= yes WWWDIR= ${PREFIX}/www/roundcube/plugins/markasjunk2 do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} cd ${WRKSRC} && ${PAX} -r -w . ${STAGEDIR}${WWWDIR} .include Index: head/mail/roundcube-mobilecube/Makefile =================================================================== --- head/mail/roundcube-mobilecube/Makefile (revision 468850) +++ head/mail/roundcube-mobilecube/Makefile (revision 468851) @@ -1,33 +1,34 @@ # Created by: Alexey V. Degtyarev # $FreeBSD$ PORTNAME= mobilecube PORTVERSION= ${THEME_VERSION}.${THEME_BUILD} CATEGORIES= mail MASTER_SITES= SF/${PORTNAME}/${THEME_VERSION}%20Beta/Build%20%23${THEME_BUILD}/ PKGNAMEPREFIX= roundcube- DISTNAME= MobileCubeBeta%23${THEME_BUILD} +PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} MAINTAINER= ports@FreeBSD.org COMMENT= Theme for RoundCube Web Mail -RUN_DEPENDS= roundcube>=0.3:mail/roundcube +RUN_DEPENDS= roundcube${PHP_PKGNAMESUFFIX}>=0.3:mail/roundcube@${PHP_FLAVOR} THEME_VERSION?= 3.1.0 THEME_BUILD?= 030110A -USES= zip +USES= php:flavors zip NO_BUILD= yes NO_ARCH= yes WRKSRC= ${WRKDIR}/MobileCubeBeta\#${THEME_BUILD} WWWDIR?= ${PREFIX}/www/roundcube/skins/MobileCube post-patch: ${FIND} ${WRKSRC} -type f -name '*.orig' -or -name '.DS_Store' -delete do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} cd ${WRKSRC}/MobileCube && ${PAX} -r -w . ${STAGEDIR}${WWWDIR} .include Index: head/mail/roundcube-mvision2/Makefile =================================================================== --- head/mail/roundcube-mvision2/Makefile (revision 468850) +++ head/mail/roundcube-mvision2/Makefile (revision 468851) @@ -1,33 +1,35 @@ # Created by: Alexey V. Degtyarev # $FreeBSD$ PORTNAME= mvision2 PORTVERSION= 2 PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= http://roundcubethemes.net/downloads/ \ ftp://renatasystems.org/pub/FreeBSD/ports/distfiles/ PKGNAMEPREFIX= roundcube- +PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} MAINTAINER= ports@FreeBSD.org COMMENT= Theme for RoundCube Web Mail -RUN_DEPENDS= roundcube>=0.2:mail/roundcube +RUN_DEPENDS= roundcube${PHP_PKGNAMESUFFIX}>=0.2:mail/roundcube@${PHP_FLAVOR} +USES= php:flavors NO_BUILD= yes NO_ARCH= yes WWWDIR?= ${PREFIX}/www/roundcube/skins/mvision2_en SUB_FILES= pkg-message post-extract: @${FIND} ${WRKDIR} -name "._*" -delete do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} cd ${WRKDIR}/mvision2_en && ${PAX} -r -w . \ ${STAGEDIR}${WWWDIR} ${FIND} ${STAGEDIR}${WWWDIR} -type f -exec ${CHMOD} 0644 {} \; .include Index: head/mail/roundcube-sauserprefs/Makefile =================================================================== --- head/mail/roundcube-sauserprefs/Makefile (revision 468850) +++ head/mail/roundcube-sauserprefs/Makefile (revision 468851) @@ -1,29 +1,31 @@ # Created by: Stefan Bethke # $FreeBSD$ PORTNAME= sauserprefs PORTVERSION= 1.10 # PLEASE MIRROR DISTFILE WITH VERSIONED DIR PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= http://www.tehinterweb.co.uk/roundcube/plugins/ \ LOCAL/bdrewery/${PORTNAME}/${PORTVERSION}/ PKGNAMEPREFIX= roundcube- +PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} DISTNAME= ${PORTNAME} MAINTAINER= stb@lassitu.de COMMENT= Roundcube plugin to manage SpamAssassin prefs LICENSE= GPLv3 -RUN_DEPENDS= roundcube>=0.8:mail/roundcube +RUN_DEPENDS= roundcube${PHP_PKGNAMESUFFIX}>=0.8:mail/roundcube@${PHP_FLAVOR} +USES= php:flavors NO_BUILD= yes NO_ARCH= yes WWWDIR= ${PREFIX}/www/roundcube/plugins/sauserprefs do-install: ${MKDIR} ${STAGEDIR}/${WWWDIR} cd ${WRKSRC} && ${PAX} -r -w . ${STAGEDIR}/${WWWDIR} .include Index: head/mail/roundcube-sieverules/Makefile =================================================================== --- head/mail/roundcube-sieverules/Makefile (revision 468850) +++ head/mail/roundcube-sieverules/Makefile (revision 468851) @@ -1,30 +1,32 @@ # Created by: Anes Muhametov # $FreeBSD$ PORTNAME= sieverules DISTVERSION= 2.3 PORTEPOCH= 1 CATEGORIES= mail PKGNAMEPREFIX= roundcube- +PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} MAINTAINER= ports@bsdserwis.com COMMENT= Roundcube webmail sieve plugin LICENSE= GPLv3 -BUILD_DEPENDS= roundcube>=1.0:mail/roundcube -RUN_DEPENDS= roundcube>=1.0:mail/roundcube +BUILD_DEPENDS= roundcube${PHP_PKGNAMESUFFIX}>=1.0:mail/roundcube@${PHP_FLAVOR} +RUN_DEPENDS= roundcube${PHP_PKGNAMESUFFIX}>=1.0:mail/roundcube@${PHP_FLAVOR} +USES= php:flavors USE_GITHUB= yes GH_ACCOUNT= johndoh GH_PROJECT= roundcube-sieverules NO_BUILD= yes NO_ARCH= yes WWWDIR= ${PREFIX}/www/roundcube/plugins/${PORTNAME} do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} cd ${WRKSRC} && ${PAX} -r -w . ${STAGEDIR}${WWWDIR} .include Index: head/mail/roundcube-thunderbird_labels/Makefile =================================================================== --- head/mail/roundcube-thunderbird_labels/Makefile (revision 468850) +++ head/mail/roundcube-thunderbird_labels/Makefile (revision 468851) @@ -1,45 +1,47 @@ # Created by: Alexander Moisseev # $FreeBSD$ PORTNAME= thunderbird_labels PORTVERSION= 1.1.4 DISTVERSIONPREFIX= v CATEGORIES= mail PKGNAMEPREFIX= roundcube- +PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} MAINTAINER= moiseev@mezonplus.ru COMMENT= Thunderbird Labels plugin for RoundCube webmail LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.md -RUN_DEPENDS= roundcube>=0.5:mail/roundcube +RUN_DEPENDS= roundcube${PHP_PKGNAMESUFFIX}>=0.5:mail/roundcube@${PHP_FLAVOR} +USES= php:flavors NO_BUILD= yes NO_ARCH= yes USE_GITHUB= yes GH_ACCOUNT= mike-kfed GH_PROJECT= rcmail-thunderbird-labels PLUGINDIR= ${WWWDIR:S,/${PORTNAME}$$,,}/roundcube/plugins/${PORTNAME} PLUGINDIR_REL= ${WWWDIR_REL:S,/${PORTNAME}$$,,}/roundcube/plugins/${PORTNAME} PLIST_SUB= PLUGINDIR_REL="${PLUGINDIR_REL}" OPTIONS_DEFINE= DOCS # This target is only meant to be used by the port maintainer. x-generate-plist: build make makeplist | \ ${SED} \ -e "s,^\(%%PLUGINDIR_REL%%/config\.inc\.php\.sample$$\),@sample \1," \ -e "s,^\(%%PLUGINDIR_REL%%/docs/\),%%PORTDOCS%%\1," \ >${.CURDIR}/pkg-plist.tmp do-install: @${MKDIR} ${STAGEDIR}${PLUGINDIR} cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PLUGINDIR} cd ${STAGEDIR}${PLUGINDIR} && \ ${MV} config.inc.php config.inc.php.sample .include Index: head/mail/roundcube-umich/Makefile =================================================================== --- head/mail/roundcube-umich/Makefile (revision 468850) +++ head/mail/roundcube-umich/Makefile (revision 468851) @@ -1,27 +1,29 @@ # Created by: Alexey V. Degtyarev # $FreeBSD$ PORTNAME= umich PORTVERSION= 20090813 CATEGORIES= mail MASTER_SITES= ftp://renatasystems.org/pub/FreeBSD/ports/distfiles/ PKGNAMEPREFIX= roundcube- +PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} MAINTAINER= ports@FreeBSD.org COMMENT= Theme for RoundCube Web Mail -RUN_DEPENDS= roundcube>=0.2:mail/roundcube +RUN_DEPENDS= roundcube${PHP_PKGNAMESUFFIX}>=0.2:mail/roundcube@${PHP_FLAVOR} +USES= php:flavors NO_BUILD= yes NO_ARCH= yes WWWDIR?= ${PREFIX}/www/roundcube/skins/umich post-patch: ${FIND} ${WRKSRC} -type f -name '*.orig' -delete do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} cd ${WRKSRC} && ${PAX} -r -w . ${STAGEDIR}${WWWDIR} .include Index: head/mail/roundcube-veximaccountadmin/Makefile =================================================================== --- head/mail/roundcube-veximaccountadmin/Makefile (revision 468850) +++ head/mail/roundcube-veximaccountadmin/Makefile (revision 468851) @@ -1,35 +1,37 @@ # Created by: Mark Felder # $FreeBSD$ PORTNAME= veximaccountadmin PORTVERSION= 0.1 PORTREVISION= 2 CATEGORIES= mail MASTER_SITES= http://axel.sjostedt.no/misc/files/ PKGNAMEPREFIX= roundcube- +PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} DISTNAME= rcube_plg_veximaccountadmin MAINTAINER= feld@FreeBSD.org COMMENT= Roundcube vexim account admin plugin LICENSE= GPLv3 -RUN_DEPENDS= roundcube>=0.9:mail/roundcube +RUN_DEPENDS= roundcube${PHP_PKGNAMESUFFIX}>=0.9:mail/roundcube@${PHP_FLAVOR} +USES= php:flavors NO_BUILD= yes PLIST_SUB+= PLUGINDIR="${PLUGINDIR}" WWWDIR= ${PREFIX}/www/roundcube PLUGINDIR= ${WWWDIR}/plugins/${PORTNAME} WRKSRC= ${WRKDIR}/veximaccountadmin REINPLACE_ARGS=-i '' post-patch: @${REINPLACE_CMD} -e 's/new rcube_mdb2/new rcube_db/g' ${WRKSRC}/veximaccountadmin.php do-install: @${ECHO} "Installing in ${PLUGINDIR}" ${MKDIR} ${STAGEDIR}/${PLUGINDIR} cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}/${PLUGINDIR} .include