aboutsummaryrefslogtreecommitdiffstats
path: root/mail/ngmp/Makefile
blob: fea92c0081d11d2cea8f560257706f4f27b9ce44 (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
50
51
52
53
54
55
56
57
58
59
60
# New ports collection makefile for:    Prevantage NGMP
# Date created:     July 28 2008
# Whom:         Luke Jee <lukejee@gmail.com>
#
# $FreeBSD$

PORTNAME=   ngmp
PORTVERSION=    0.1.4
PORTREVISION=   4
CATEGORIES= mail www
MASTER_SITES=   ftp://ftp.prevantage.com/releases/ \
        ftp://ftp2.prevantage.com/releases/
DISTNAME=   ngmp-for-freebsd-${PORTVERSION}

MAINTAINER= lukejee@gmail.com
COMMENT=    A full AJAX based web app for messaging and collaboration

RUN_DEPENDS=    ${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache22 \
        ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/pdo_pgsql.so:${PORTSDIR}/databases/php5-pdo_pgsql \
        ${LOCALBASE}/sbin/exim:${PORTSDIR}/mail/exim \
        ${LOCALBASE}/bin/imapd:${PORTSDIR}/mail/courier-imap \
        ${LOCALBASE}/lib/courier-authlib/libauthpgsql.so:${PORTSDIR}/databases/courier-authlib-pgsql \
        ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/fileinfo.so:${PORTSDIR}/sysutils/pecl-fileinfo\
        ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/ZendExtensionManager.so:${PORTSDIR}/devel/ZendOptimizer \
        ${LOCALBASE}/sbin/clamd:${PORTSDIR}/security/clamav \
        ${LOCALBASE}/bin/dspam:${PORTSDIR}/mail/dspam \
        ${LOCALBASE}/share/pear/Mail/mimeDecode.php:${PORTSDIR}/mail/pear-Mail_mimeDecode \
        ${LOCALBASE}/share/pear/Net/SMTP.php:${PORTSDIR}/net/pear-Net_SMTP \
        ${LOCALBASE}/share/pear/Mail/mime.php:${PORTSDIR}/mail/pear-Mail_Mime \
        ${LOCALBASE}/share/pear/Mail/RFC822.php:${PORTSDIR}/mail/pear-Mail \
        ${LOCALBASE}/share/pear/Benchmark/Timer.php:${PORTSDIR}/benchmarks/pear-Benchmark \
        ${LOCALBASE}/share/ZendFramework:${PORTSDIR}/www/zend-framework \
        ${LOCALBASE}/share/smarty/Smarty.class.php:${PORTSDIR}/www/smarty \
        ${LOCALBASE}/www/tinymce:${PORTSDIR}/www/tinymce

BROKEN=     does not compile

NO_BUILD=   yes

WANT_PHP_WEB=   yes
PHP_VER=    5
USE_PHP=    session mbstring iconv pcre pdo pdo_sqlite imap json hash

USE_PGSQL=      yes

SUB_FILES=  pkg-message

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} -R 755 ${WWWDIR}' \
        >> ${TMPPLIST}
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>