Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jul 2005 01:54:37 +0400
From:      Vsevolod Stakhov <vsevolod@highsecure.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/83235: New port: www/xaraya
Message-ID:  <E1Drjkz-0008P5-D0@spray.anyhost.ru>
Resent-Message-ID: <200507102200.j6AM0bb9084758@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         83235
>Category:       ports
>Synopsis:       New port: www/xaraya
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 10 22:00:37 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Vsevolod Stakhov
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
>Environment:
>Description:
Xaraya is an extensible, Open Source web application framework written in PHP
and licensed under the GNU General Public License. Xaraya delivers the
requisite infrastructure and tools to create custom web applications that
include fully dynamic multi-platform Content Mangement Solutions (CMS).

WWW:	http://www.xaraya.com/

Maybe I'll create xaraya-light and xaraya-heavy to implement xaraya
without modules and with complete modules set.
Some help message should follow this port installation I think.
>How-To-Repeat:
>Fix:

--- xaraya-1.0.0r3.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	xaraya
#	xaraya/pkg-descr
#	xaraya/Makefile
#	xaraya/distinfo
#
echo c - xaraya
mkdir -p xaraya > /dev/null 2>&1
echo x - xaraya/pkg-descr
sed 's/^X//' >xaraya/pkg-descr << 'END-of-xaraya/pkg-descr'
XXaraya is an extensible, Open Source web application framework written in PHP
Xand licensed under the GNU General Public License. Xaraya delivers the
Xrequisite infrastructure and tools to create custom web applications that
Xinclude fully dynamic multi-platform Content Mangement Solutions (CMS).
X
XXaraya's modular, database independent architecture introduces tools that
Xseparate form, function, content, and design with on-the-fly extensions
Xallowing greater control and versatility.
X
XWWW:	http://www.xaraya.com/
END-of-xaraya/pkg-descr
echo x - xaraya/Makefile
sed 's/^X//' >xaraya/Makefile << 'END-of-xaraya/Makefile'
X# New ports collection makefile for:	xaraya
X# Date created:		2005-07-10
X# Whom:			Vsevolod Stakhov <vsevolod@highsecure.ru>
X#
X# $FreeBSD$
X#
X# Specify WITH_PGSQL to use pgsql php extension. Mysql
X# extension would be used by default.
X
XPORTNAME=	xaraya
XPORTVERSION=	1.0.0r3
XCATEGORIES=	www
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
XDISTNAME=	${PORTNAME}-1.0.0-rc3-base
X
XMAINTAINER=	vsevolod@highsecure.ru
XCOMMENT=	Framework to create fully dynamic Content Mangement Solutions
X
X.if defined(WITH_PGSQL)
XUSE_PHP=	pgsql
X.else
XUSE_PHP=	mysql
X.endif
XBROKEN_WITH_PHP=	5
XNO_BUILD=	yes
XWRKSRC=		${WRKDIR}/${PORTNAME}-1.0.0-rc3
X
X# May user to override this
XXARAYADIR?=	www/xaraya
X
Xpre-install:
X	@${RM} -f ${TMPPLIST}
X
Xdo-install:
X	${MKDIR} ${PREFIX}/${XARAYADIR}
X	${CP} -r ${WRKSRC}/html/* ${PREFIX}/${XARAYADIR}
X.if !defined(NOTOOLS)
X	${MKDIR} ${DATADIR}
X	${CP} -r ${WRKSRC}/tools ${DATADIR}
X.endif
X	${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${XARAYADIR}
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${CP} -r ${WRKSRC}/docs/* ${DOCSDIR}
X	${CP} ${WRKSRC}/INSTALL.txt ${WRKSRC}/LICENSE.txt \
X		${WRKSRC}/CREDITS.txt ${DOCSDIR}
X.endif
X
X# Create plist
Xpost-install:
X	@${FIND} ${PREFIX}/${XARAYADIR} ! -type d | ${SED} -e \
X		's,^${PREFIX}/,,' >> ${TMPPLIST}
X	@${FIND} ${PREFIX}/${XARAYADIR} -type d | ${SED} -e \
X		's,^${PREFIX}/,@dirrm ,' | \
X		${SORT} -r >> ${TMPPLIST}
X.if !defined(NOPORTDOCS)
X	@${FIND} ${DOCSDIR} ! -type d | ${SED} -e \
X		's,^${PREFIX}/,,' >> ${TMPPLIST}
X	@${FIND} ${DOCSDIR} -type d | ${SED} -e \
X		's,^${PREFIX}/,@dirrm ,' | \
X		${SORT} -r >> ${TMPPLIST}
X.endif
X.if !defined(NOTOOLS)
X	@${FIND} ${DATADIR} ! -type d | ${SED} -e \
X		's,^${PREFIX}/,,' >> ${TMPPLIST}
X	@${FIND} ${DATADIR} -type d | ${SED} -e \
X		's,^${PREFIX}/,@dirrm ,' | \
X		${SORT} -r >> ${TMPPLIST}
X.endif
X
X.include <bsd.port.mk>
END-of-xaraya/Makefile
echo x - xaraya/distinfo
sed 's/^X//' >xaraya/distinfo << 'END-of-xaraya/distinfo'
XMD5 (xaraya-1.0.0-rc3-base.tar.gz) = 8c5c68588972c0738e6ec717b04dabd9
XSIZE (xaraya-1.0.0-rc3-base.tar.gz) = 4283144
END-of-xaraya/distinfo
exit
--- xaraya-1.0.0r3.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1Drjkz-0008P5-D0>