aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/sugarcrm/Makefile
blob: ceaefac3683d37c08351fa9b4e7c198ed2fae900 (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
# Created by: Nick Hilliard <nick@foobar.org>
# $FreeBSD$

PORTNAME=   sugarcrm
PORTVERSION=    6.5.5
CATEGORIES= deskutils www
MASTER_SITES=   SF
MASTER_SITE_SUBDIR= ${PORTNAME}/1%20-%20SugarCRM%206.5.0/SugarCommunityEdition-6.5.0
DISTNAME=   SugarCE-${PORTVERSION}

MAINTAINER= wen@FreeBSD.org
COMMENT=    A web based customer relationship management suite

FETCH_ARGS= -pRr
USE_PHP=    gd mysql session pcre xml zlib mbstring curl imap spl posix
USE_ZIP=    yes
NO_BUILD=   yes
WRKSRC=     ${WRKDIR}/SugarCE-Full-${PORTVERSION}

PKGMESSAGE= ${WRKDIR}/pkg-message

SUB_FILES+= pkg-message pkg-install

do-install:
    @${MKDIR} ${WWWDIR}

    @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR}/
    @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
    @${CHMOD} -R 755 ${WWWDIR}

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>