openbsd-ports/mail/roundcubemail/Makefile

43 lines
1.1 KiB
Makefile
Raw Normal View History

2010-09-29 16:55:39 -04:00
# $OpenBSD: Makefile,v 1.28 2010/09/29 20:55:39 sthen Exp $
COMMENT = imap4 webmail client
2010-09-29 16:55:39 -04:00
DISTNAME = roundcubemail-0.4.1
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
RUN_DEPENDS = ::www/php5/core \
::www/php5/extensions,-mbstring \
: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>