mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
30c8b71430
It aims to provide a elegant Ajax webmail client for existing IMAP mailservers, with less bloat and a focus on an intuitive, simple user interface. WWW: http://atmail.org/ PR: ports/124705 Submitted by: Wen heping <wenheping at gmail.com>
53 lines
1.1 KiB
Makefile
53 lines
1.1 KiB
Makefile
# New ports collection makefile for: atmail
|
|
# Date created: 18 June 2008
|
|
# Whom: Wen heping <wenheping@gmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= atmail
|
|
PORTVERSION= 1.0.1
|
|
CATEGORIES= mail
|
|
MASTER_SITES= http://atmail.org/download/
|
|
DISTNAME= atmailopen
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= wenheping@gmail.com
|
|
COMMENT= An Open Source Webmail Client
|
|
|
|
USE_PHP= mysql pcre session
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
NO_BUILD= yes
|
|
SUB_FILES= pkg-message
|
|
|
|
OPTIONS= LDAP "Add support for a LDAP" Off \
|
|
MBSTRING "Add support for UTF8 folder names" Off \
|
|
ICONV "Add support encoding conversion" Off
|
|
|
|
.include <bsd.port.pre.mk>
|
|
.if defined(WITH_LDAP)
|
|
USE_PHP+= ldap
|
|
.endif
|
|
|
|
.if defined(WITH_MBSTRING)
|
|
USE_PHP+= mbstring
|
|
.endif
|
|
|
|
.if defined(WITH_ICONV)
|
|
USE_PHP+= iconv
|
|
.endif
|
|
|
|
do-install:
|
|
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR}
|
|
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
|
|
@${CHMOD} -R 755 ${WWWDIR}
|
|
|
|
post-install:
|
|
@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' \
|
|
>> ${TMPPLIST}
|
|
@${ECHO_CMD} '@exec ${CHMOD} 755 -R ${WWWDIR}' \
|
|
>> ${TMPPLIST}
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.post.mk>
|