openbsd-ports/mail/roundcubemail/Makefile

47 lines
1.2 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.37 2011/05/04 13:03:40 sthen Exp $
COMMENT = imap4 webmail client
DISTNAME = roundcubemail-0.5.2
REVISION = 0
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
2009-11-02 12:20:10 -05:00
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=roundcubemail/}
NO_BUILD = Yes
NO_REGRESS = Yes
PKG_ARCH = *
PREFIX = /var/www
INSTDIR = ${PREFIX}/roundcubemail
TINSTDIR = ${TRUEPREFIX}/roundcubemail
SUBST_VARS = INSTDIR TINSTDIR
2010-11-19 02:23:05 -05:00
RUN_DEPENDS = www/php5/core \
www/php5/extensions,-mbstring \
www/php5/extensions,-mcrypt \
www/php5/extensions,-pspell \
sysutils/pecl-fileinfo \
2010-11-19 02:23:05 -05:00
php5-mysql-*|php5-pgsql-*|php5-sqlite-*:www/php5/extensions,-sqlite
do-install:
cp -Rp ${WRKDIST} ${INSTDIR}
.for i in .htaccess config/mimetypes.php
mv ${INSTDIR}/$i ${INSTDIR}/$i.dist
.endfor
${SUBST_CMD} -c ${FILESDIR}/roundcubemail.conf \
${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 {} \;
.include <bsd.port.mk>