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


1.16
date	2012.11.17.06.03.11;	author svnexp;	state Exp;
branches;
next	1.15;

1.15
date	2012.08.03.15.54.35;	author cs;	state Exp;
branches;
next	1.14;

1.14
date	2011.02.06.17.53.03;	author gahr;	state Exp;
branches;
next	1.13;

1.13
date	2010.12.23.21.11.57;	author gahr;	state Exp;
branches;
next	1.12;

1.12
date	2010.05.31.07.26.19;	author gahr;	state Exp;
branches;
next	1.11;

1.11
date	2009.08.22.00.38.30;	author amdmi3;	state Exp;
branches;
next	1.10;

1.10
date	2008.11.26.00.01.22;	author gahr;	state Exp;
branches;
next	1.9;

1.9
date	2008.03.18.23.06.20;	author gahr;	state Exp;
branches;
next	1.8;

1.8
date	2006.09.01.04.57.46;	author miwi;	state Exp;
branches;
next	1.7;

1.7
date	2006.08.17.19.09.41;	author rafan;	state Exp;
branches;
next	1.6;

1.6
date	2006.07.05.02.30.58;	author linimon;	state Exp;
branches;
next	1.5;

1.5
date	2006.04.14.18.14.59;	author linimon;	state Exp;
branches;
next	1.4;

1.4
date	2006.01.23.07.04.10;	author linimon;	state Exp;
branches;
next	1.3;

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

1.2
date	2005.07.22.09.33.36;	author vsevolod;	state Exp;
branches;
next	1.1;

1.1
date	2005.07.14.11.48.43;	author sem;	state Exp;
branches;
next	;


desc
@@


1.16
log
@Switch exporter over
@
text
@# New ports collection makefile for:	xaraya
# Date created:		2005-07-10
# Whom:			Vsevolod Stakhov <vsevolod@@highsecure.ru>
#
# $FreeBSD: head/www/xaraya/Makefile 301960 2012-08-03 15:54:35Z cs $
#
# Try to specify WITH_PGSQL to use pgsql php extension. Mysql
# extension would be used by default.

PORTNAME=	xaraya
PORTVERSION=	1.2.3
CATEGORIES=	www
MASTER_SITES=	SF/${PORTNAME}/Core%20plus%20Modules/Xaraya%20${PORTVERSION}%20Core%20Plus
DISTNAME=	${PORTNAME}-${PORTVERSION}-base

MAINTAINER=	gahr@@FreeBSD.org
COMMENT=	Framework to create fully dynamic Content Management Solutions

.if defined(WITH_PGSQL)
USE_PHP=	pgsql
.else
USE_PHP=	mysql
.endif
USE_PHP+=	pcre xml
NO_BUILD=	yes
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}

# May user to override this
XARAYADIR?=	www/xaraya

pre-install:
	@@${RM} -f ${TMPPLIST}

do-install:
	${MKDIR} ${PREFIX}/${XARAYADIR}
	${CP} -R ${WRKSRC}/html/* ${PREFIX}/${XARAYADIR}
.if !defined(NOTOOLS)
	${MKDIR} ${EXAMPLESDIR}
	${CP} -R ${WRKSRC}/tools/* ${EXAMPLESDIR}
.endif
	${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${XARAYADIR}
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	${CP} -R ${WRKSRC}/docs/* ${DOCSDIR}
.endif

# Create plist
post-install:
	@@${FIND} ${PREFIX}/${XARAYADIR} ! -type d -and ! -name install.php \
		-and ! -name upgrade.php | ${SED} -e \
		's,^${PREFIX}/,,' >> ${TMPPLIST}
	@@${FIND} ${PREFIX}/${XARAYADIR} -type f -and '(' -name install.php \
		-or -name upgrade.php ')' | ${SED} -e \
		's,^${PREFIX}/\(.*\),@@unexec rm -f %D/\1 >/dev/null 2>\&1 || true,' >> ${TMPPLIST}
	@@${FIND} ${PREFIX}/${XARAYADIR} -type d -and -path "*var*" | \
		${SED} -e 's,^${PREFIX}/\(.*\),@@unexec rmdir %D/\1 >/dev/null 2>\&1 || true,' | \
		${SORT} -r >> ${TMPPLIST}
	@@${FIND} ${PREFIX}/${XARAYADIR} -type d -and ! -path "*var*" | \
		${SED} -e 's,^${PREFIX}/,@@dirrm ,' | \
		${SORT} -r >> ${TMPPLIST}
.if !defined(NOPORTDOCS)
	@@${FIND} ${DOCSDIR} ! -type d | ${SED} -e \
		's,^${PREFIX}/,,' >> ${TMPPLIST}
	@@${FIND} ${DOCSDIR} -type d | ${SED} -e \
		's,^${PREFIX}/,@@dirrm ,' | \
		${SORT} -r >> ${TMPPLIST}
.endif
.if !defined(NOTOOLS)
	@@${FIND} ${EXAMPLESDIR} ! -type d | ${SED} -e \
		's,^${PREFIX}/,,' >> ${TMPPLIST}
	@@${FIND} ${EXAMPLESDIR} -type d | ${SED} -e \
		's,^${PREFIX}/,@@dirrm ,' | \
		${SORT} -r >> ${TMPPLIST}
.endif

.include <bsd.port.mk>
@


1.15
log
@SVN rev 301960 on 2012-08-03 15:54:35Z by cs

Fix typos and make small modifications in COMMENT (according to Porter's
Handbook)

Approved by:	portmgr@@ (implicit)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.14
log
@- Update to 1.2.3
  Release notes: http://www.xaraya.com/index.php/releasenotes/933

Feature safe:	yes
@
text
@d17 1
a17 1
COMMENT=	Framework to create fully dynamic Content Mangement Solutions
@


1.13
log
@- Update to 1.2.2
  Release notes: http://www.xaraya.com/index.php/releasenotes/927
@
text
@d11 1
a11 1
PORTVERSION=	1.2.2
@


1.12
log
@- Update to 1.2.1
@
text
@d11 1
a11 1
PORTVERSION=	1.2.1
@


1.11
log
@- Switch SourceForge ports to the new File Release System: categories starting with W
@
text
@d11 1
a11 1
PORTVERSION=	1.1.5
@


1.10
log
@- Update to 1.1.5
@
text
@d13 1
a13 1
MASTER_SITES=	SF
@


1.9
log
@- Update to 1.1.4

Approved by:	miwi (mentor)
@
text
@d11 1
a11 1
PORTVERSION=	1.1.4
@


1.8
log
@- Update to 1.1.2

PR:		ports/102733
Submitted by:	Neil Darlow <neil(at)darlow.co.uk>
@
text
@d11 1
a11 1
PORTVERSION=	1.1.2
d13 1
a13 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
d16 1
a16 1
MAINTAINER=	ports@@FreeBSD.org
d24 1
d36 1
a36 1
	${CP} -r ${WRKSRC}/html/* ${PREFIX}/${XARAYADIR}
d39 1
a39 1
	${CP} -r ${WRKSRC}/tools/* ${EXAMPLESDIR}
d44 1
a44 1
	${CP} -r ${WRKSRC}/docs/* ${DOCSDIR}
@


1.7
log
@- Update to 1.1.1
- Examples files go to EXAMPLESDIR instead of DATADIR
- All documentations in DOCSDIR

PR:		ports/102159
Submitted by:	Neil Darlow <neil at darlow.co.uk>
@
text
@d11 1
a11 1
PORTVERSION=	1.1.1
@


1.6
log
@Change all bogus uses of BROKEN to IGNORE.  See CHANGES 20060705.

PR:		ports/92445
Hat:		portmgr
@
text
@d11 1
a11 1
PORTVERSION=	1.0.0r3
d15 1
a15 1
DISTNAME=	${PORTNAME}-1.0.0-rc3-base
a24 1
IGNORE_WITH_PHP=	5
d26 1
a26 1
WRKSRC=		${WRKDIR}/${PORTNAME}-1.0.0-rc3
d38 2
a39 2
	${MKDIR} ${DATADIR}
	${CP} -r ${WRKSRC}/tools ${DATADIR}
a44 2
	${CP} ${WRKSRC}/INSTALL.txt ${WRKSRC}/LICENSE.txt \
		${WRKSRC}/CREDITS.txt ${DOCSDIR}
d69 1
a69 1
	@@${FIND} ${DATADIR} ! -type d | ${SED} -e \
d71 1
a71 1
	@@${FIND} ${DATADIR} -type d | ${SED} -e \
@


1.5
log
@Reset vsevolod as maintainer due to unreponsiveness.  We hope to see him
back sometime.

Hat:		portmgr
@
text
@d25 1
a25 1
BROKEN_WITH_PHP=	5
@


1.4
log
@Revert last commit.  It is not possible (yet) to have the dirrmtry usage
in the post-install target.  Its usage must preceed generate-plist.

This problem needs to be revisited either in a rework of bsd.port.mk or
each of these Makefiles.

Hat:		portmgr
Pointy hat:	edwin`
@
text
@d17 1
a17 1
MAINTAINER=	vsevolod@@FreeBSD.org
@


1.3
log
@Replace ugly "@@unexec rmdir %D... 2>/dev/null || true" with @@dirrmtry

Approved by:    krion@@
PR:             ports/88711 (related)
@
text
@d59 1
a59 1
		${SED} -e 's,^${PREFIX}/\(.*\),@@dirrmtry \1,' | \
@


1.2
log
@Update my email address.

Approved by:	perky (mentor)
@
text
@d59 1
a59 1
		${SED} -e 's,^${PREFIX}/\(.*\),@@unexec rmdir %D/\1 >/dev/null 2>\&1 || true,' | \
@


1.1
log
@Xaraya delivers the requisite infrastructure and tools
to create custom web applications that include fully
dynamic multi-platform Content Mangement Solutions (CMS).

PR:		ports/83235
Submitted by:	Vsevolod Stakhov <vsevolod@@highsecure.ru>
@
text
@d17 1
a17 1
MAINTAINER=	vsevolod@@highsecure.ru
@

