openbsd-ports/mail/roundcubemail/Makefile
sthen cb52906187 Remove patch-program_include_session_inc which was previously needed
to allow attachments to be downloaded by https, but doesn't seem necessary
now and has caused caching problems for IE users (including displaying a
logged-out user's inbox).  Reported by Ibrahim Khalifa, discussed with
ajacoutot.
2010-01-09 12:05:20 +00:00

38 lines
903 B
Makefile

# $OpenBSD: Makefile,v 1.21 2010/01/09 12:05:20 sthen Exp $
COMMENT = imap4 webmail client
DISTNAME = roundcubemail-0.3.1
PKGNAME = ${DISTNAME}p0
CATEGORIES = mail www
HOMEPAGE = http://www.roundcube.net/
MAINTAINER = Stuart Henderson <sthen@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=roundcubemail/}
NO_BUILD = Yes
NO_REGRESS = Yes
PKG_ARCH = *
PREFIX = /var/www
INSTDIR = ${PREFIX}/roundcubemail
SUBST_VARS = INSTDIR
RUN_DEPENDS = :php5-core-*:www/php5/core \
:php5-mbstring-*:www/php5/extensions,-mbstring
do-install:
cp -Rp ${WRKDIST} ${INSTDIR}
mv ${INSTDIR}/config/mimetypes.php ${INSTDIR}/config/mimetypes.php.dist
chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
find ${INSTDIR} \( -name \*.orig -or -name \*.src \) -exec rm -f {} \;
.include <bsd.port.mk>