1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00
freebsd-ports/mail/roundcube-carddav/Makefile

41 lines
876 B
Makefile

# 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-
MAINTAINER= gahr@FreeBSD.org
COMMENT= Roundcube CardDAV plugin
LICENSE= GPLv2
BUILD_DEPENDS= roundcube>=1.0:mail/roundcube
RUN_DEPENDS= roundcube>=1.0:mail/roundcube
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
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 <bsd.port.mk>