1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-07 02:06:57 +00:00
freebsd-ports/mail/roundcube-twofactor_gauthenticator/Makefile
2022-01-10 13:04:28 +00:00

38 lines
841 B
Makefile

# Created by: Bernard Spil <brnrd@FreeBSD.org>
PORTNAME= twofactor_gauthenticator
PORTVERSION= g20210816
CATEGORIES= mail security
PKGNAMEPREFIX= roundcube-
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
MAINTAINER= brnrd@FreeBSD.org
COMMENT= Roundcube TOTP auth plugin
LICENSE= GPLv2
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
IGNORE_WITH_PHP=81
USE_GITHUB= yes
GH_ACCOUNT= alexandregz
GH_TAGNAME= a3944c4
NO_BUILD= yes
NO_ARCH= yes
SUB_FILES= pkg-message
WWWDIR= ${PREFIX}/www/roundcube/plugins/${PORTNAME}
do-install:
${MKDIR} ${STAGEDIR}${WWWDIR}
cd ${WRKSRC} && ${PAX} -r -w . ${STAGEDIR}${WWWDIR}
cd ${STAGEDIR}${WWWDIR} && \
${MV} config.inc.php.dist config.inc.php.sample
.include <bsd.port.mk>