| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/www/habari/ |
Upload File : |
PORTNAME= habari
PORTVERSION= 0.8
CATEGORIES= www
MASTER_SITES= http://habariproject.org/dist/ \
http://launchpadlibrarian.net/60087200/
MAINTAINER= ayu@commun.jp
COMMENT= Next-generation free software blogging platform
WWW= http://habariproject.org/
USES= zip php:web
USE_PHP= ctype filter hash json mbstring pcre pdo session simplexml tokenizer zlib
NO_BUILD= yes
OPTIONS_MULTI= DB
OPTIONS_MULTI_DB= MYSQL PGSQL SQLITE
OPTIONS_DEFAULT= MYSQL
OPTIONS_DEFINE= DOCS
.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
post-patch:
.for f in doc/index.html system/classes/theme.php.orig user/cache/.gitignore
${RM} ${WRKSRC}/${f}
.endfor
do-install:
@${MKDIR} ${STAGEDIR}${WWWDIR}
@${INSTALL_DATA} ${WRKSRC}/index.php ${STAGEDIR}${WWWDIR}
.for f in system user
@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${f} ${STAGEDIR}${WWWDIR})
.endfor
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in LICENSE NOTICE README.md doc/MIT.txt
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} manual ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>