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

PORTNAME=   sugarcrm
PORTVERSION=    6.5.15
CATEGORIES= deskutils www
MASTER_SITES=   SF
MASTER_SITE_SUBDIR= ${PORTNAME}/1%20-%20SugarCRM%206.5.X/SugarCommunityEdition-6.5.X
DISTNAME=   SugarCE-${PORTVERSION}

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

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

PKGMESSAGE= ${WRKDIR}/pkg-message

SUB_FILES+= pkg-message pkg-install

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

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

.include <bsd.port.mk>