blob: 8ef6589e2df0f16868807ad7e2fba4909c95ea6e (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Ports collection makefile for: silkymail
# Date created: Mon Jan 27, 2003
# Whom: Aaron Voisine (voisine@yahoo.com)
#
# $FreeBSD$
#
PORTNAME= silkymail
PORTVERSION= 1.1.10
PORTREVISION= 1
CATEGORIES= mail www
MASTER_SITES= http://alkoholix.tallence.de/FreeBSD/ports/distfiles-local/silkymail/%SUBDIR%/ \
ftp://ftp.cyrusoft.com/pub/SilkyMail/%SUBDIR%/
MASTER_SITE_SUBDIR= v${PORTVERSION:S/./_/g}
DISTNAME= ${PORTNAME}
EXTRACT_SUFX= .tgz
MAINTAINER= voisine@yahoo.com
COMMENT= A webmail system which accesses mail over IMAP
USE_PHP= dba imap
WANT_PHP_MOD= YES
WRKSRC= ${WRKDIR}/${PORTNAME}
NO_BUILD= YES
NO_PACKAGE= requires GDBM support in databases/php4-dba, which is off by default
SILKYMAILDIR= ${LOCALBASE}/www/${PORTNAME}
do-install:
@${MKDIR} -p ${SILKYMAILDIR}
@${CP} -r ${WRKSRC} ${SILKYMAILDIR}
@${CHOWN} www:www ${SILKYMAILDIR}/silkymail/imp/data
pre-install:
@if ! /usr/bin/ldd -a ${LOCALBASE}/lib/php/20020429/dba.so | ${GREP} -q -e "libgdbm.so"; then \
${ECHO_MSG} "" ; \
${ECHO_MSG} "databases/php4-dba needs to be built with GDBM support." ; \
${ECHO_MSG} "" ; \
${FALSE} ; \
fi
post-install:
@${ECHO_MSG}
@${CAT} ${PKGMESSAGE} | \
${SED} -e "s:%%SILKYMAILDIR%%:${SILKYMAILDIR}:g;s:%%LOCALBASE%%:${LOCALBASE}:g;"
@${ECHO_MSG}
.include <bsd.port.mk>
|