2011-05-04 09:03:40 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.37 2011/05/04 13:03:40 sthen Exp $
|
2007-05-30 10:30:23 -04:00
|
|
|
|
2008-09-22 09:53:02 -04:00
|
|
|
COMMENT = imap4 webmail client
|
2007-05-30 10:30:23 -04:00
|
|
|
|
2011-04-22 11:11:08 -04:00
|
|
|
DISTNAME = roundcubemail-0.5.2
|
2011-05-04 09:03:40 -04:00
|
|
|
REVISION = 0
|
2008-09-22 09:53:02 -04:00
|
|
|
CATEGORIES = mail www
|
|
|
|
HOMEPAGE = http://www.roundcube.net/
|
2007-05-30 10:30:23 -04:00
|
|
|
|
2008-09-22 09:53:02 -04:00
|
|
|
MAINTAINER = Stuart Henderson <sthen@openbsd.org>
|
2007-05-30 10:30:23 -04:00
|
|
|
|
2008-09-22 09:53:02 -04:00
|
|
|
# GPLv2
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
2007-05-30 10:30:23 -04:00
|
|
|
|
2009-11-02 12:20:10 -05:00
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=roundcubemail/}
|
2007-05-30 10:30:23 -04:00
|
|
|
|
2008-09-22 09:53:02 -04:00
|
|
|
NO_BUILD = Yes
|
|
|
|
NO_REGRESS = Yes
|
|
|
|
PKG_ARCH = *
|
2007-05-30 10:30:23 -04:00
|
|
|
|
2008-09-22 09:53:02 -04:00
|
|
|
PREFIX = /var/www
|
|
|
|
INSTDIR = ${PREFIX}/roundcubemail
|
2010-08-22 10:09:27 -04:00
|
|
|
TINSTDIR = ${TRUEPREFIX}/roundcubemail
|
2010-08-22 10:36:36 -04:00
|
|
|
SUBST_VARS = INSTDIR TINSTDIR
|
2007-05-30 10:30:23 -04:00
|
|
|
|
2010-11-19 02:23:05 -05:00
|
|
|
RUN_DEPENDS = www/php5/core \
|
|
|
|
www/php5/extensions,-mbstring \
|
2011-01-14 16:19:20 -05:00
|
|
|
www/php5/extensions,-mcrypt \
|
2011-03-02 03:38:01 -05:00
|
|
|
www/php5/extensions,-pspell \
|
2011-04-22 11:11:08 -04:00
|
|
|
sysutils/pecl-fileinfo \
|
2010-11-19 02:23:05 -05:00
|
|
|
php5-mysql-*|php5-pgsql-*|php5-sqlite-*:www/php5/extensions,-sqlite
|
2007-05-30 10:30:23 -04:00
|
|
|
|
|
|
|
do-install:
|
2009-10-13 13:00:59 -04:00
|
|
|
cp -Rp ${WRKDIST} ${INSTDIR}
|
2010-02-24 08:40:37 -05:00
|
|
|
.for i in .htaccess config/mimetypes.php
|
|
|
|
mv ${INSTDIR}/$i ${INSTDIR}/$i.dist
|
|
|
|
.endfor
|
2010-08-22 08:37:14 -04:00
|
|
|
${SUBST_CMD} -c ${FILESDIR}/roundcubemail.conf \
|
2010-08-22 15:39:43 -04:00
|
|
|
${INSTDIR}/roundcubemail.conf.dist; \
|
|
|
|
chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}; \
|
2009-11-02 12:20:10 -05:00
|
|
|
find ${INSTDIR} \( -name \*.orig -or -name \*.src \) -exec rm -f {} \;
|
2007-05-30 10:30:23 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|