- Add LICENSE_FILE

- Switch to options helpers
- Pet portlint
- Improve formatting in pkg-descr
- Update WWW

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2020-06-04 09:32:53 +00:00
parent b0b59f3278
commit aa64050818
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=537877
2 changed files with 27 additions and 36 deletions

View file

@ -9,40 +9,31 @@ MAINTAINER= meyser@xenet.de
COMMENT= WebDav, CalDav and Carddav Server/Framework written in PHP
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cpe php
USE_PHP= dom simplexml mbstring pcre spl ctype iconv xmlwriter
USE_GITHUB= yes
USES= cpe php
USE_PHP= dom simplexml mbstring pcre spl ctype iconv xmlwriter
USE_GITHUB= yes
CPE_VENDOR= fruux
GH_ACCOUNT= fruux
GH_PROJECT= sabre-dav
NO_BUILD= yes
NO_ARCH= yes
OPTIONS_MULTI= DATABASE
OPTIONS_MULTI_DATABASE= MYSQL PGSQL SQLITE
OPTIONS_DEFAULT= MYSQL
CPE_VENDOR= fruux
GH_ACCOUNT= fruux
GH_PROJECT= sabre-dav
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MMYSQL}
USE_PHP+= pdo_mysql
.endif
.if ${PORT_OPTIONS:MPGSQL}
USE_PHP+= pdo_pgsql
.endif
.if ${PORT_OPTIONS:MSQLITE}
USE_PHP+= pdo_sqlite
.endif
NO_BUILD= yes
MYSQL_USE= PHP=pdo_mysql
PGSQL_USE= PHP=pdo_pgsql
SQLITE_USE= PHP=pdo_sqlite
post-extract:
@${FIND} ${WRKSRC}/ -type f -name '.*' -delete
do-install:
${MKDIR} ${STAGEDIR}/${WWWDIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}/${WWWDIR} )
@${MKDIR} ${STAGEDIR}/${WWWDIR}
@(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}/${WWWDIR})
.include <bsd.port.mk>

View file

@ -2,16 +2,16 @@ Popular WebDAV framework for PHP. Use it to create WebDAV, CalDAV and
CardDAV servers. It supports a wide range of internet standards related to
these protocols. The most relevant are:
WebDAV
CalDAV
CardDAV
vCard 2.1, 3.0, 4.0 and jCard
iCalendar 2.0 and jCal
current-user-principal
Extended MKCOL
WebDAV-sync
CardDAV directories
CalDAV delegation
CalDAV sharing
* WebDAV
* CalDAV
* CardDAV
* vCard 2.1, 3.0, 4.0 and jCard
* iCalendar 2.0 and jCal
* current-user-principal
* Extended MKCOL
* WebDAV-sync
* CardDAV directories
* CalDAV delegation
* CalDAV sharing
WWW: http://sabre.io/
WWW: https://sabre.io/