2002-02-10 01:44:59 +01:00
|
|
|
# New ports collection makefile for: squirrelmail
|
|
|
|
# Date created: 27 December 2001
|
|
|
|
# Whom: Simon Dick <simond@irrelevant.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= squirrelmail
|
2003-07-17 06:40:59 +02:00
|
|
|
PORTVERSION= 1.4.1
|
2002-02-10 01:44:59 +01:00
|
|
|
CATEGORIES= mail www
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= squirrelmail
|
|
|
|
|
|
|
|
MAINTAINER= simond@irrelevant.org
|
2003-02-21 13:51:06 +01:00
|
|
|
COMMENT= A webmail system which accesses mail over IMAP
|
2002-02-10 01:44:59 +01:00
|
|
|
|
2002-10-29 00:21:45 +01:00
|
|
|
.if defined(WITH_APACHE2)
|
|
|
|
RUN_DEPENDS+= ${LOCALBASE}/libexec/apache2/libphp4.so:${PORTSDIR}/www/mod_php4
|
|
|
|
.else
|
2002-02-10 01:44:59 +01:00
|
|
|
RUN_DEPENDS+= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
|
2002-10-29 00:21:45 +01:00
|
|
|
.endif
|
2002-02-10 01:44:59 +01:00
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
pre-install:
|
|
|
|
@${ECHO} "Your umask should be lax while installing this. Like, 022 or something."
|
|
|
|
@${SH} pkg-install ${PKGNAME} PRE-INSTALL
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${MKDIR} ${PREFIX}/squirrelmail
|
|
|
|
${CP} -R ${WRKSRC}/* ${PREFIX}/squirrelmail
|
|
|
|
${CHOWN} -R www:www ${PREFIX}/squirrelmail/data
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|