mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
8ec0f77340
- modified port mail/squirrelmail to allow a slave port - added CONFLICTS for mail/squirrelmail and japanese/squirrelmail PR: 58280 Submitted by: Masafumi Otsune <info@otsune.com> Approved by: marcus (mentor)
41 lines
1016 B
Makefile
41 lines
1016 B
Makefile
# New ports collection makefile for: squirrelmail
|
|
# Date created: 27 December 2001
|
|
# Whom: Simon Dick <simond@irrelevant.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= squirrelmail
|
|
PORTVERSION= 1.4.2
|
|
CATEGORIES?= mail www
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= squirrelmail
|
|
|
|
MAINTAINER?= simond@irrelevant.org
|
|
COMMENT?= A webmail system which accesses mail over IMAP
|
|
|
|
CONFLICTS?= ja-squirrelmail-1.*
|
|
|
|
.if defined(WITH_APACHE2)
|
|
RUN_DEPENDS+= ${LOCALBASE}/libexec/apache2/libphp4.so:${PORTSDIR}/www/mod_php4
|
|
.else
|
|
RUN_DEPENDS+= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
|
|
.endif
|
|
|
|
USE_BZIP2= yes
|
|
NO_BUILD= yes
|
|
|
|
pre-install:
|
|
@${ECHO} "Your umask should be lax while installing this. Like, 022 or something."
|
|
@${SH} ${PKGINSTALL} ${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>
|