| @@ -1,28 +1,31 @@ | | | @@ -1,28 +1,31 @@ |
1 | # $NetBSD: Makefile,v 1.58 2013/08/22 17:08:10 taca Exp $ | | 1 | # $NetBSD: Makefile,v 1.59 2013/09/13 11:13:49 taca Exp $ |
2 | | | 2 | |
3 | DISTNAME= roundcubemail-0.9.3-dep | | 3 | DISTNAME= roundcubemail-0.9.4-dep |
4 | PKGNAME= ${DISTNAME:S/mail-/-/:S/-dep//} | | 4 | PKGNAME= ${DISTNAME:S/mail-/-/:S/-dep//} |
5 | CATEGORIES= mail | | 5 | CATEGORIES= mail |
6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=roundcubemail/} | | 6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=roundcubemail/} |
7 | | | 7 | |
8 | MAINTAINER= taca@NetBSD.org | | 8 | MAINTAINER= taca@NetBSD.org |
9 | HOMEPAGE= http://roundcube.net/ | | 9 | HOMEPAGE= http://roundcube.net/ |
10 | COMMENT= Browser-based multilingual IMAP client | | 10 | COMMENT= Browser-based multilingual IMAP client |
11 | LICENSE= gnu-gpl-v3 | | 11 | LICENSE= gnu-gpl-v3 |
12 | | | 12 | |
13 | DEPENDS+= ${PHP_PKG_PREFIX}-dom-[0-9]*:../../textproc/php-dom | | 13 | DEPENDS+= ${PHP_PKG_PREFIX}-iconv>=${PHP_BASE_VERS}:../../converters/php-iconv |
14 | DEPENDS+= ${PHP_PKG_PREFIX}-json-[0-9]*:../../textproc/php-json | | 14 | DEPENDS+= ${PHP_PKG_PREFIX}-mbstring>=${PHP_BASE_VERS}:../../converters/php-mbstring |
15 | DEPENDS+= ${PHP_PKG_PREFIX}-mcrypt>=4.3.1:../../security/php-mcrypt | | 15 | DEPENDS+= ${PHP_PKG_PREFIX}-dom>=${PHP_BASE_VERS}:../../textproc/php-dom |
| | | 16 | DEPENDS+= ${PHP_PKG_PREFIX}-intl>=${PHP_BASE_VERS}:../../textproc/php-intl |
| | | 17 | DEPENDS+= ${PHP_PKG_PREFIX}-json>=${PHP_BASE_VERS}:../../textproc/php-json |
| | | 18 | DEPENDS+= ${PHP_PKG_PREFIX}-mcrypt>=${PHP_BASE_VERS}:../../security/php-mcrypt |
16 | | | 19 | |
17 | DEPENDS+= ${PHP_PKG_PREFIX}-pear-Net_SMTP>=1.4.2:../../net/pear-Net_SMTP | | 20 | DEPENDS+= ${PHP_PKG_PREFIX}-pear-Net_SMTP>=1.4.2:../../net/pear-Net_SMTP |
18 | DEPENDS+= ${PHP_PKG_PREFIX}-pear-Net_IDNA2>=0.1.1:../../net/pear-Net_IDNA2 | | 21 | DEPENDS+= ${PHP_PKG_PREFIX}-pear-Net_IDNA2>=0.1.1:../../net/pear-Net_IDNA2 |
19 | DEPENDS+= ${PHP_PKG_PREFIX}-pear-Mail_Mime>=1.8.1:../../mail/pear-Mail_Mime | | 22 | DEPENDS+= ${PHP_PKG_PREFIX}-pear-Mail_Mime>=1.8.1:../../mail/pear-Mail_Mime |
20 | DEPENDS+= ${PHP_PKG_PREFIX}-pear-Mail_mimeDecode>=1.5.5:../../mail/pear-Mail_mimeDecode | | 23 | DEPENDS+= ${PHP_PKG_PREFIX}-pear-Mail_mimeDecode>=1.5.5:../../mail/pear-Mail_mimeDecode |
21 | DEPENDS+= ${PHP_PKG_PREFIX}-pear-Auth_SASL>=1.0.3:../../mail/pear-Auth_SASL | | 24 | DEPENDS+= ${PHP_PKG_PREFIX}-pear-Auth_SASL>=1.0.3:../../mail/pear-Auth_SASL |
22 | | | 25 | |
23 | USE_LANGUAGES= # none | | 26 | USE_LANGUAGES= # none |
24 | USE_TOOLS+= pax | | 27 | USE_TOOLS+= pax |
25 | NO_BUILD= yes | | 28 | NO_BUILD= yes |
26 | | | 29 | |
27 | INSTALLATION_DIRS= ${RCDIR}/plugins ${RCDIR}/program ${RCDIR}/skins | | 30 | INSTALLATION_DIRS= ${RCDIR}/plugins ${RCDIR}/program ${RCDIR}/skins |
28 | INSTALLATION_DIRS+= ${RCDIR}/bin ${RCDIR}/SQL ${DOCDIR} ${EGDIR} | | 31 | INSTALLATION_DIRS+= ${RCDIR}/bin ${RCDIR}/SQL ${DOCDIR} ${EGDIR} |
| @@ -69,30 +72,31 @@ CONF_FILES_PERMS+= ${EGDIR}/main.inc.php | | | @@ -69,30 +72,31 @@ CONF_FILES_PERMS+= ${EGDIR}/main.inc.php |
69 | ${PKG_SYSCONFDIR}/main.inc.php \ | | 72 | ${PKG_SYSCONFDIR}/main.inc.php \ |
70 | ${WWW_USER} ${WWW_GROUP} 0640 | | 73 | ${WWW_USER} ${WWW_GROUP} 0640 |
71 | | | 74 | |
72 | .for f in ${CONF_PLUGINS} | | 75 | .for f in ${CONF_PLUGINS} |
73 | CONF_FILES_PERMS+= ${EGDIR}/plugins/${f}/config.inc.php \ | | 76 | CONF_FILES_PERMS+= ${EGDIR}/plugins/${f}/config.inc.php \ |
74 | ${RCDIR}/plugins/${f}/config.inc.php \ | | 77 | ${RCDIR}/plugins/${f}/config.inc.php \ |
75 | ${WWW_USER} ${WWW_GROUP} 0640 | | 78 | ${WWW_USER} ${WWW_GROUP} 0640 |
76 | .endfor | | 79 | .endfor |
77 | | | 80 | |
78 | SUBST_CLASSES+= files | | 81 | SUBST_CLASSES+= files |
79 | SUBST_STAGE.files= do-configure | | 82 | SUBST_STAGE.files= do-configure |
80 | SUBST_FILES.files= roundcube.conf | | 83 | SUBST_FILES.files= roundcube.conf |
81 | SUBST_FILES.files+= config/main.inc.php.dist | | 84 | SUBST_FILES.files+= config/main.inc.php.dist |
82 | SUBST_FILES.files+= installer/index.php | | 85 | SUBST_FILES.files+= installer/index.php installer/rcube_install.php |
83 | SUBST_FILES.files+= program/include/iniset.php | | 86 | SUBST_FILES.files+= program/include/iniset.php |
84 | SUBST_SED.files= -e "s|@RCDIR@|${RCDIR}|g" | | 87 | SUBST_SED.files= -e "s|@RCDIR@|${RCDIR}|g" |
85 | SUBST_SED.files+= -e "s|@VARBASE@|${VARBASE}|g" | | 88 | SUBST_SED.files+= -e "s|@VARBASE@|${VARBASE}|g" |
| | | 89 | SUBST_SED.files+= -e "s|@PKG_EXAMPLES@|${PREFIX}/share/examples/roundcube|g" |
86 | SUBST_SED.files+= -e "s|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g" | | 90 | SUBST_SED.files+= -e "s|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g" |
87 | SUBST_MESSAGE.files= Fixing configuration files. | | 91 | SUBST_MESSAGE.files= Fixing configuration files. |
88 | | | 92 | |
89 | REPLACE_INTERPRETER+= php | | 93 | REPLACE_INTERPRETER+= php |
90 | REPLACE.php.old= /usr/bin/env php | | 94 | REPLACE.php.old= /usr/bin/env php |
91 | REPLACE.php.new= ${PREFIX}/bin/php | | 95 | REPLACE.php.new= ${PREFIX}/bin/php |
92 | REPLACE_FILES.php= bin/cleandb.sh bin/decrypt.sh bin/indexcontacts.sh | | 96 | REPLACE_FILES.php= bin/cleandb.sh bin/decrypt.sh bin/indexcontacts.sh |
93 | REPLACE_FILES.php+= bin/installto.sh bin/moduserprefs.sh bin/msgexport.sh | | 97 | REPLACE_FILES.php+= bin/installto.sh bin/moduserprefs.sh bin/msgexport.sh |
94 | REPLACE_FILES.php+= bin/msgimport.sh bin/update.sh bin/updatecss.sh | | 98 | REPLACE_FILES.php+= bin/msgimport.sh bin/update.sh bin/updatecss.sh |
95 | REPLACE_FILES.php+= bin/updatedb.sh | | 99 | REPLACE_FILES.php+= bin/updatedb.sh |
96 | | | 100 | |
97 | REPLACE_PYTHON= plugins/password/helpers/chpass-wrapper.py | | 101 | REPLACE_PYTHON= plugins/password/helpers/chpass-wrapper.py |
98 | | | 102 | |