15645cb00e
SuiteCRM is an open source Customer Relationship Management (CRM) software solution that provides a 360-degree view of your customers and business.
39 lines
1.1 KiB
Makefile
39 lines
1.1 KiB
Makefile
PORTNAME= suitecrm
|
|
PORTVERSION= 7.14.0
|
|
CATEGORIES= www
|
|
MASTER_SITES= https://suitecrm.com/download/141/suite84/562969/
|
|
|
|
MAINTAINER= wen@FreeBSD.org
|
|
COMMENT= Open source Customer Relationship Management (CRM) software solution
|
|
WWW= http://www.suitercrm.com/
|
|
|
|
LICENSE= AGPLv3
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
USES= php zip
|
|
USE_PHP= curl ctype dom filter gd imap json mysqli pcre pdo posix \
|
|
session spl tokenizer xml mbstring zip zlib
|
|
NO_BUILD= yes
|
|
|
|
WRKSRC= ${WRKDIR}/SuiteCRM-${PORTVERSION}
|
|
|
|
PLIST= ${WRKDIR}/plist
|
|
CRMDIR= www/suitecrm
|
|
|
|
SUB_FILES+= pkg-message
|
|
|
|
pre-install:
|
|
@${ECHO_CMD} "@owner ${WWWOWN}" >> ${PLIST}
|
|
@${ECHO_CMD} "@group ${WWWGRP}" >> ${PLIST}
|
|
@${ECHO_CMD} "@mode 755" >> ${PLIST}
|
|
@${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${CRMDIR}?g" >>${PLIST}
|
|
@${FIND} -s -d ${WRKSRC} -type d | ${SED} "s?${WRKSRC}?@dir ${CRMDIR}?g" >> ${PLIST}
|
|
@${ECHO_CMD} "@mode" >> ${PLIST}
|
|
@${ECHO_CMD} "@group" >> ${PLIST}
|
|
@${ECHO_CMD} "@owner" >> ${PLIST}
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}/${WWWDIR}
|
|
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}/${WWWDIR}/
|
|
|
|
.include <bsd.port.mk>
|