aboutsummaryrefslogtreecommitdiffstats
path: root/mail/squirrelmail/Makefile
blob: 33dff96af7b0f8513321a03c3a2e150428aa3713 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# New ports collection makefile for:    squirrelmail
# Date created:             27 December 2001
# Whom:                 Simon Dick <simond@irrelevant.org>
#
# $FreeBSD$
#

PORTNAME=   squirrelmail
PORTVERSION=    1.2.8
CATEGORIES= mail www
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= squirrelmail

MAINTAINER= simond@irrelevant.org

RUN_DEPENDS+=   ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4

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>