blob: a83ec107ceb54dcb2ca6e6e87b4194f20588d37f (
plain)
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
|
# Created by: Bartlomiej Rutkowski <r@robakdesign.com>
# $FreeBSD$
PORTNAME= hastymail
PORTVERSION= 1.5
PORTREVISION= 3
CATEGORIES= www
MASTER_SITES= SF/${PORTNAME}/OldFiles
MAINTAINER= ports@FreeBSD.org
COMMENT= Small, fast and secure yet powerful IMAP webmail
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
NO_BUILD= yes
SUB_FILES= pkg-message
WANT_PHP_WEB= yes
USE_PHP= session imap pcre
PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
# Don't install automatically CVS directories, patched files and the default config file.
FIND_SKIP_OPTS= -not -name hastymail.conf-example -not -name '*.orig' \
-not -name '*.bak' -not -path '*/CVS/*' -not -name CVS
post-patch:
@${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX}," \
${WRKSRC}/lib/constant.php
do-install:
@${MKDIR} ${STAGEDIR}${WWWDIR}
cd ${WRKSRC} && ${FIND} . ${FIND_SKIP_OPTS} | \
${PAX} -rwd ${STAGEDIR}${WWWDIR}
${INSTALL_DATA} ${WRKSRC}/hastymail.conf-example \
${STAGEDIR}${PREFIX}/etc/hastymail.conf.sample
.include <bsd.port.mk>
|