521a7f32bf
Requested by/ok ajacoutot@ (reminder, ports is not fully open.)
40 lines
916 B
Makefile
40 lines
916 B
Makefile
# $OpenBSD: Makefile,v 1.22 2010/02/24 13:40:37 sthen Exp $
|
|
|
|
COMMENT = imap4 webmail client
|
|
|
|
DISTNAME = roundcubemail-0.3.1
|
|
PKGNAME = ${DISTNAME}p1
|
|
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}
|
|
.for i in .htaccess config/mimetypes.php
|
|
mv ${INSTDIR}/$i ${INSTDIR}/$i.dist
|
|
.endfor
|
|
chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
|
|
find ${INSTDIR} \( -name \*.orig -or -name \*.src \) -exec rm -f {} \;
|
|
|
|
.include <bsd.port.mk>
|