head	1.20;
access;
symbols
	RELEASE_8_3_0:1.16
	RELEASE_9_0_0:1.16
	RELEASE_7_4_0:1.15
	RELEASE_8_2_0:1.15
	RELEASE_6_EOL:1.15
	RELEASE_8_1_0:1.14
	RELEASE_7_3_0:1.14
	RELEASE_8_0_0:1.14
	RELEASE_7_2_0:1.13
	RELEASE_7_1_0:1.13
	RELEASE_6_4_0:1.13
	RELEASE_5_EOL:1.13
	RELEASE_7_0_0:1.13
	RELEASE_6_3_0:1.13
	PRE_XORG_7:1.11
	RELEASE_4_EOL:1.10
	RELEASE_6_2_0:1.8
	RELEASE_6_1_0:1.6
	RELEASE_5_5_0:1.6
	RELEASE_6_0_0:1.4
	RELEASE_5_4_0:1.1;
locks; strict;
comment	@# @;


1.20
date	2013.03.11.13.25.44;	author svnexp;	state Exp;
branches;
next	1.19;

1.19
date	2013.03.11.13.09.39;	author svnexp;	state Exp;
branches;
next	1.18;

1.18
date	2013.03.06.12.55.12;	author svnexp;	state Exp;
branches;
next	1.17;

1.17
date	2012.11.17.06.03.10;	author svnexp;	state Exp;
branches;
next	1.16;

1.16
date	2011.10.17.04.35.02;	author dougb;	state Exp;
branches;
next	1.15;

1.15
date	2010.09.13.02.28.01;	author pgollucci;	state Exp;
branches;
next	1.14;

1.14
date	2009.08.22.00.38.28;	author amdmi3;	state Exp;
branches;
next	1.13;

1.13
date	2007.09.23.15.09.59;	author miwi;	state Exp;
branches;
next	1.12;

1.12
date	2007.05.19.20.25.35;	author flz;	state Exp;
branches;
next	1.11;

1.11
date	2007.03.24.14.04.36;	author pav;	state Exp;
branches;
next	1.10;

1.10
date	2006.11.07.00.45.52;	author edwin;	state Exp;
branches;
next	1.9;

1.9
date	2006.11.04.06.06.03;	author edwin;	state Exp;
branches;
next	1.8;

1.8
date	2006.07.31.06.24.31;	author edwin;	state Exp;
branches;
next	1.7;

1.7
date	2006.07.31.06.05.23;	author edwin;	state Exp;
branches;
next	1.6;

1.6
date	2005.09.30.23.27.40;	author edwin;	state Exp;
branches;
next	1.5;

1.5
date	2005.08.28.09.26.56;	author edwin;	state Exp;
branches;
next	1.4;

1.4
date	2005.06.20.11.58.35;	author edwin;	state Exp;
branches;
next	1.3;

1.3
date	2005.06.20.11.32.55;	author edwin;	state Exp;
branches;
next	1.2;

1.2
date	2005.04.27.17.36.11;	author edwin;	state Exp;
branches;
next	1.1;

1.1
date	2005.03.11.10.45.33;	author edwin;	state Exp;
branches;
next	;


desc
@@


1.20
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/313849
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Edwin Groothuis <edwin@@mavetju.org>
# $FreeBSD: head/www/vtiger/Makefile 313849 2013-03-10 23:20:00Z miwi $

PORTNAME=	vtiger
PORTVERSION=	5.0.3
CATEGORIES=	www
MASTER_SITES=	SF/${PORTNAME}crm/${PORTNAME}%20CRM%20${PORTVERSION}/Core%20%20Product
DISTFILES=	${PORTNAME}crm-${DISTVERSION}.tar.gz \
		${PORTNAME}CRM-${DISTVERSION}-PHP5.2-Patch1.tar.gz

MAINTAINER=	as@@bsdgroup.de
COMMENT=	Vtiger CRM is open source Customer Relationship Management software

NO_BUILD=	yes
SUB_FILES=	pkg-message

USE_PHP=	mysql gd imap session pcre xml
WANT_PHP_WEB=	YES
IGNORE_WITH_PHP=	4

WRKSRC=		${WRKDIR}/vtigercrm

OPTIONS_DEFINE=		MYSQL

.include <bsd.port.options.mk>

CONFLICTS=	vtiger-4.*

.if ${PORT_OPTIONS:MMYSQL}
RUN_DEPENDS+=	${LOCALBASE}/libexec/mysqld:${PORTSDIR}/databases/mysql${MYSQL_VER}-server
.endif

.if ${PORT_OPTIONS:MDOCS}
PORTDOCS=	Release_Notes.html DEPENDENCIES.txt README.txt
.endif

CONFIGS=	config.db.php config.inc.php config.php config.template.php
DIRS=		themes modules include Image cron log4php adodb Smarty \
		license test jscalendar schema cache data install database \
		logs user_privileges soap class_http storage class_http_dir
PATCHDIRS=	data include include/utils modules/Migration modules/Migration/DBChanges
WRITEABLES=	cache storage install tabdata.php parent_tabdata.php \
		install.php user_privileges Smarty/cache Smarty/templates_c \
		modules/Emails/templates/ test/wordtemplatedownload test/product/ \
		test/user test/contact test/logo logs modules/Webmails/tmp

do-patch:
.for DIR in ${PATCHDIRS}
	@@${INSTALL_DATA} -v ${WRKDIR}/${DIR}/*.php ${WRKSRC}/${DIR}
.endfor

do-install:
.for DIR in ${DIRS}
	${MKDIR} ${WWWDIR}/${DIR}
	( cd ${WRKSRC} && ${COPYTREE_SHARE} ${DIR} ${WWWDIR} )
.endfor
	@@( ${FIND} ${WRKSRC} -type f -maxdepth 1 \( -name \*.php -or -name \*.properties \
		-or -name Copyright.txt \) -and -not -name config\* ; ${ECHO} ${WWWDIR} ) \
		| ${XARGS} ${INSTALL_DATA} -v
.for FILE in ${CONFIGS}
	${INSTALL_DATA}	${WRKSRC}/${FILE} ${WWWDIR}/${FILE}.sample
.endfor
.for FILE in ${WRITEABLES}
	@@${CHOWN} -R ${WWWOWN} ${WWWDIR}/${FILE}
	@@${CHMOD} -R u+w ${WWWDIR}/${FILE}
.endfor
	@@( cd ${WWWDIR} && ${CHMOD} u+w install.php tabdata.php parent_tabdata.php )

post-install:
.for FILE in ${CONFIGS}
. if !exists(${WWWDIR}/${FILE})
	${INSTALL_DATA} ${WWWDIR}/${FILE}.sample ${WWWDIR}/${FILE}
	@@${CHOWN} ${WWWOWN} ${WWWDIR}/${FILE}
	@@${CHMOD} u+w ${WWWDIR}/${FILE}
. endif
.endfor
.if ${PORT_OPTIONS:MDOCS}
	${MKDIR} ${DOCSDIR}
. for FILE in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
. endfor
.endif
	@@${CAT} ${PKGMESSAGE}

create-plist:
	@@${FIND} -s ${WRKSRC} -type f -mindepth 2 \
		| ${SED} -e 's,^${WRKSRC},%%WWWDIR%%,' > ${PLIST}
	@@${FIND} -s ${WRKSRC} -type f \( -maxdepth 1 \( -name \*.php -or -name \*.properties \
		-or -name Copyright.txt \) -and -not -name config\* \) \
		| ${SED} -e 's,^${WRKSRC},%%WWWDIR%%,' >> ${PLIST}
.for FILE in ${CONFIGS}
	@@${ECHO_CMD} '@@unexec if cmp -s %D/%%WWWDIR%%/${FILE}.sample %D/%%WWWDIR%%/${FILE}; \
		then ${RM} -f %D/%%WWWDIR%%/${FILE}; fi' >> ${PLIST}
.endfor
	@@${FIND} -s ${WRKSRC} -type f -maxdepth 1 -name config\* \
		| ${SED} -e 's,^${WRKSRC},%%WWWDIR%%,' -e 's,$$,.sample,' >> ${PLIST}
.for FILE in ${CONFIGS}
	@@${ECHO_CMD} '@@exec if [ ! -f %D/%%WWWDIR%%/${FILE} ]; then \
		${INSTALL_DATA} %D/%%WWWDIR%%/${FILE}.sample %D/%%WWWDIR%%/${FILE}; \
		${CHOWN} ${WWWOWN} %D/%%WWWDIR%%/${FILE}; \
		${CHMOD} u+w %D/%%WWWDIR%%/${FILE}; fi' >> ${PLIST}
.endfor
	@@${ECHO_CMD} '@@exec (cd %D/%%WWWDIR%% && \
		${CHMOD} u+w install.php tabdata.php parent_tabdata.php )' >> ${PLIST}
	@@${FIND} ${WRKSRC} -type d -empty \
		| ${SED} -e 's,^${WRKSRC},@@exec ${MKDIR} %D/%%WWWDIR%%,' >> ${PLIST}
.for FILE in ${WRITEABLES}
	@@${ECHO_CMD} '@@exec ${CHOWN} -R ${WWWOWN} %D/%%WWWDIR%%/${FILE}; \
		${CHMOD} -R u+w %D/%%WWWDIR%%/${FILE}' >> ${PLIST}
.endfor
	@@${FIND} -ds ${WRKSRC} -type d \
		| ${SED} -e 's,^${WRKSRC},@@dirrm %%WWWDIR%%,' >> ${PLIST}

.include <bsd.port.mk>
@


1.19
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/313843
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: head/www/vtiger/Makefile 313843 2013-03-10 21:19:32Z crees $
d25 1
a25 1
.include <bsd.port.pre.mk>
d114 1
a114 1
.include <bsd.port.post.mk>
@


1.18
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/313460
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: head/www/vtiger/Makefile 313460 2013-03-05 17:07:43Z miwi $
d114 1
a114 1
.include <bsd.port.mk>
@


1.17
log
@Switch exporter over
@
text
@d1 2
a2 6
# New ports collection makefile for:	vtiger
# Date created:			Fri Mar 11 20:59:31 EST 2005
# Whom:				Edwin Groothuis <edwin@@mavetju.org>
#
# $FreeBSD: head/www/vtiger/Makefile 300897 2012-07-14 14:29:18Z beat $
#
d23 1
a23 1
OPTIONS=	MYSQLSERVER     "Use MySQL-Server on localhost" OFF
d29 1
a29 1
.if !defined(WITHOUT_MYSQLSERVER)
d33 1
a33 1
.if !defined(NOPORTDOCS)
d77 1
a77 1
.if !defined(NOPORTDOCS)
d114 1
a114 1
.include <bsd.port.post.mk>
@


1.16
log
@Remove references to mysql 323 and 40, most commonly of the form:

IGNORE_WITH_MYSQL=     323 40
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.15
log
@- Move some PHP_ flags before bsd.port.pre.mk

PR:             ports/135674
Submitted by:   yzlin (timeout ; 360 days)
            www/vtiger:          maintainer timeout (as@@bsdgroup.de ; 360 days)
            sysutils/loganalyze: "Cristiano Rolim" <cristianorolim@@hotmail.com> (maintainer)
            databases/adodb5:    unmaintained
@
text
@a30 2
IGNORE_WITH_MYSQL=	323 40

@


1.14
log
@- Switch SourceForge ports to the new File Release System: categories starting with W
@
text
@d21 4
a30 3
USE_PHP=	mysql gd imap session pcre xml
WANT_PHP_WEB=	YES
IGNORE_WITH_PHP=	4
@


1.13
log
@- Update to 5.0.3
- Pass maintainership to submitter

Submitted by:	Aron Schlesinger (as@@bsdgroup.de) (via irc)
@
text
@d11 1
a11 2
MASTER_SITES=	SF
MASTER_SITE_SUBDIR=	vtigercrm
@


1.12
log
@- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
@
text
@d9 1
a9 2
DISTVERSION=	5.0.2
PORTREVISION=	2
d11 1
a11 1
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
d13 2
a14 1
DISTNAME=	vtigercrm-${DISTVERSION}
d16 2
a17 2
MAINTAINER=	ports@@FreeBSD.org
COMMENT=	Vtiger CRM is open source Customer Relationship Management (CRM) software
a18 2
USE_PHP=	mysql gd imap session pcre xml
IGNORE_WITH_PHP=4
a20 3
PKGMESSAGE=	${WRKDIR}/pkg-message
USE_MYSQL=	yes
WANT_MYSQL_VER=	50
d24 33
a56 2
post-extract:
	${FIND} ${WRKSRC} -name .svn -delete
d59 15
a73 3
	${MKDIR} ${WWWDIR}
	${CP} -R ${WRKSRC}/* ${WWWDIR}
	${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
d76 13
d91 30
a120 1
.include <bsd.port.mk>
@


1.11
log
@- WWWDIR is now defined in bsd.ports.mk

PR:		ports/105529
Submitted by:	laszlof
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.10
log
@Fix pkg-plist and post-extract phase
@
text
@a26 1
WWWDIR?=	${PREFIX}/www/vtiger
@


1.9
log
@Update to version 5.0.2
@
text
@d10 1
d17 1
a17 1
COMMENT=	vtiger CRM is open source Customer Relationship Management (CRM) software
d28 1
a28 1
WRKSRC=		${WRKDIR}/vtiger_crm
@


1.8
log
@Make use of SUB_FILES
@
text
@d9 1
a9 1
DISTVERSION=	4.2.4
d18 2
a19 1
USE_PHP=	mysql gd session pcre xml
d23 2
@


1.7
log
@update to version 4.2.4
@
text
@a18 1

d20 2
d35 1
a35 1
	@@${CAT} pkg-message
@


1.6
log
@Update to 4.2p2
Release maintainership (talking to acc@@anthonychavez.org and
ph@@maxxcon.net about taking over)
@
text
@d9 1
a9 1
PORTVERSION=	4.2p2
d13 1
a13 2
DISTFILES=	${DIST_MAIN} ${DIST_ADDITIONAL}
EXTRACT_ONLY=	${DIST_MAIN}
a17 4
DIST_MAIN=	${PORTNAME}_CRM_4_2_Source${EXTRACT_SUFX}
DIST_ADDITIONAL=${PORTNAME}_CRM_4_2_Patch_2${EXTRACT_SUFX}
WRKSRC=		${WRKDIR}/vtiger_crm_source
USE_ZIP=	yes
d23 1
d26 1
a26 2
	@@${ECHO_CMD} "Extracting patch 2"
	@@${UNZIP_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${DIST_ADDITIONAL} -d ${WRKSRC}
@


1.5
log
@Add dependency on xml

PR:		ports/85277
Submitted by:	Patrick Donelan <patrick.donelan@@aimtec.com.au>
@
text
@d9 1
a9 2
PORTVERSION=	4.0p1
PORTREVISION=	1
d16 1
a16 1
MAINTAINER=	edwin@@mavetju.org
d19 2
a20 2
DIST_MAIN=	${PORTNAME}_CRM_4_0_Source${EXTRACT_SUFX}
DIST_ADDITIONAL=${PORTNAME}CRM_4_0_Patch_1${EXTRACT_SUFX}
d30 1
a30 1
	@@${ECHO_CMD} "Extracting patch 1"
@


1.4
log
@Also add pcre to USE_PHP

Thanks to lawrance@@#bsdports.
@
text
@d24 1
a24 1
USE_PHP=	mysql gd session pcre
@


1.3
log
@add dependency on USE_PHP=session
@
text
@d24 1
a24 1
USE_PHP=	mysql gd session
@


1.2
log
@Upgrade to 4.0 patch 1
@
text
@d10 1
d24 1
a24 1
USE_PHP=	mysql gd
@


1.1
log
@Add vtiger, open source Customer Relationship Management software

    vtiger CRM is an open source Customer Relationship Management
    (CRM) software mainly for small and medium businesses.  vtiger
    CRM is built over proven, fast, and reliable LAMP/WAMP
    (Linux/Windows, Apache, MySQL, and PHP) technologies and open
    source projects, such as SugarCRM (SPL 1.1.2), phpBB (GPL), and
    others.

    WWW: http://www.vtiger.com
@
text
@d9 1
a9 1
DISTVERSION=	4.0RC1
d13 2
a14 1
DISTNAME=	${PORTNAME}_CRM_4_0_RC1_Source
d19 2
d29 4
d39 1
a39 1
	${CAT} pkg-message
@

