Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jul 2006 22:37:35 +0400 (MSD)
From:      Stanislav Sedov <ssedov@mbsd.msk.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/101064: [NEW PORT] www/xsm: Extensible Site Manager
Message-ID:  <20060730183735.CC7E7120A1@fonon.realnet>
Resent-Message-ID: <200607301840.k6UIeENf059947@freefall.freebsd.org>

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

>Number:         101064
>Category:       ports
>Synopsis:       [NEW PORT] www/xsm: Extensible Site Manager
>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 30 18:40:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Stanislav Sedov
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
MBSD labs, Inc.
>Environment:
System: FreeBSD fonon.realnet 7.0-CURRENT FreeBSD 7.0-CURRENT #7: Sun Jun 18 20:51:36 MSD 2006
>Description:
Rectang XSM (eXtensible Site Manager)

XSM is a new Content management system for generating fast web sites.
The system generates "static" html pages using Java / JSP renderers.
Published content can be stored locally or distributed over an ssh connection.
The backend uses only XML for easy management and backup.

Using the TinyMCE open source project we can offer a WYSIWYG editor for
editing HTML based document types ("HTML" and "News")

Other Document types include:
  * Html    - (as above) simple WYSIWYG edited page for any content
  * News    - blog style inclue RSS and archive
  * Gallery - generates thumbnails and previews along with pages for browsing
  * Files   - simple file listing for uploading misc files
  * Book    - for collating large, structured documents - generates individual
                pages and a "printer friendly" version.
  * FAQs    - classic structure for a collection of question-answer knowledge
  * PreviewdFile - file list, but providing a preview image and description for
                every file
  * Links   - categorised links for the necessary "links" page

Author:	Andy (HandyAndE) Williams
WWW:	http://www.rectang.com/Software/XSM/

>How-To-Repeat:
>Fix:

--- xsm-1.0.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:
#
#	xsm
#	xsm/pkg-descr
#	xsm/Makefile
#	xsm/distinfo
#	xsm/pkg-message
#
echo c - xsm
mkdir -p xsm > /dev/null 2>&1
echo x - xsm/pkg-descr
sed 's/^X//' >xsm/pkg-descr << 'END-of-xsm/pkg-descr'
XRectang XSM (eXtensible Site Manager)
X
XXSM is a new Content management system for generating fast web sites.
XThe system generates "static" html pages using Java / JSP renderers.
XPublished content can be stored locally or distributed over an ssh connection.
XThe backend uses only XML for easy management and backup.
X
XUsing the TinyMCE open source project we can offer a WYSIWYG editor for
Xediting HTML based document types ("HTML" and "News")
X
XOther Document types include:
X  * Html    - (as above) simple WYSIWYG edited page for any content
X  * News    - blog style inclue RSS and archive
X  * Gallery - generates thumbnails and previews along with pages for browsing
X  * Files   - simple file listing for uploading misc files
X  * Book    - for collating large, structured documents - generates individual
X                pages and a "printer friendly" version.
X  * FAQs    - classic structure for a collection of question-answer knowledge
X  * PreviewdFile - file list, but providing a preview image and description for
X                every file
X  * Links   - categorised links for the necessary "links" page
X
XAuthor:	Andy (HandyAndE) Williams
XWWW:	http://www.rectang.com/Software/XSM/
END-of-xsm/pkg-descr
echo x - xsm/Makefile
sed 's/^X//' >xsm/Makefile << 'END-of-xsm/Makefile'
X# New ports collection makefile for:	xsm
X# Date created:		2006-07-30
X# Whom:			Stanislav Sedov <ssedov@mbsd.msk.ru>
X#
X# $MBSDlabs$
X# $FreeBSD$
X#
X
XPORTNAME=	xsm
XPORTVERSION=	1.0
XCATEGORIES=	www
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=rxsm
XDISTNAME=	${PORTNAME}_${PORTVERSION}
X
XMAINTAINER=	ssedov@mbsd.msk.ru
XCOMMENT=	Extensible Site Manager
X
XRUN_DEPENDS=	${LOCALBASE}/bin/ant:${PORTSDIR}/devel/apache-ant
X
XUSE_JAVA=	yes
XJAVA_VERSION=	1.4+
XNO_BUILD=	yes
X
XOPTIONS=	TOMCAT4		"Use Jakarta Tomcat 4"		off	\
X		TOMCAT41	"Use Jakarta Tomcat 4.1"	off	\
X		TOMCAT5		"Use Jakarta Tomcat 5"		on	\
X		TOMCAT55	"Use Jakarta Tomcat 5.55"	off	\
X		RESIN2		"Use Resin 2"			off	\
X		RESIN3		"Use Resin 3"			off
X
X.include <bsd.port.pre.mk>
X
XWEBAPP_DIRS=	#empty
X.if defined(WITH_TOMCAT4)
XWEBAPP_DIRS+=	jakarta-tomcat4.0
XRUN_DEPENDS+=	${PREFIX}/jakarta-tomcat4.0/bin/bootstrap.jar:${PORTSDIR}/www/jakarta-tomcat4
X.endif
X
X.if defined(WITH_TOMCAT41)
XWEBAPP_DIRS+=	jakarta-tomcat4.1
XRUN_DEPENDS+=	${PREFIX}/jakarta-tomcat4.1/bin/bootstrap.jar:${PORTSDIR}/www/jakarta-tomcat41
X.endif
X
X.if defined(WITH_TOMCAT5)
XWEBAPP_DIRS+=	jakarta-tomcat5.0
XRUN_DEPENDS+=	${PREFIX}/jakarta-tomcat5.0/bin/bootstrap.jar:${PORTSDIR}/www/jakarta-tomcat5
X.endif
X
X.if defined(WITH_TOMCAT55)
XWEBAPP_DIRS+=	tomcat5.5
XRUN_DEPENDS+=	${PREFIX}/tomcat5.5/bin/bootstrap.jar:${PORTSDIR}/www/tomcat55
X.endif
X
X.if defined(WITH_RESIN2)
XWEBAPP_DIRS+=	resin2
XRUN_DEPENDS+=	${PREFIX}/resin2/lib/resin.jar:${PORTSDIR}/www/resin2
X.endif
X
X.if defined(WITH_RESIN3)
XWEBAPP_DIRS+=	resin3
XRUN_DEPENDS+=	${PREFIX}/resin3/lib/resin.jar:${PORTSDIR}/www/resin3
X.endif
X
Xdo-install:
X.if ${PREFIX}!=${LOCALBASE}
X	@${ECHO_CMD} "Warning: you changed prefix to ${PREFIX}"
X	@${ECHO_CMD} "Default installation will not work if you installed"
X	@${ECHO_CMD} "application server in different prefix"
X.endif
X.for DIR in ${WEBAPP_DIRS}
X	@${ECHO_CMD} "${DIR}/webapps/xsm.war" >> ${TMPPLIST}
X.if !exists(${PREFIX}/${DIR}/webapps)
X	${MKDIR} ${PREFIX}/${DIR}/webapps
X	@${ECHO_CMD} "@dirrm ${DIR}/webapps" >> ${TMPPLIST}
X.endif
X	${INSTALL_DATA} ${WRKSRC}/xsm.war ${PREFIX}/${DIR}/webapps
X.endfor
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.post.mk>
END-of-xsm/Makefile
echo x - xsm/distinfo
sed 's/^X//' >xsm/distinfo << 'END-of-xsm/distinfo'
XMD5 (xsm_1.0.tar.gz) = 4906e02686ad5e1ae7125aba139cd1ca
XSHA256 (xsm_1.0.tar.gz) = 708c53555ae1bb65108f57f09ec39fe00c8cefb4456922205a98823c414820a1
XSIZE (xsm_1.0.tar.gz) = 2779061
END-of-xsm/distinfo
echo x - xsm/pkg-message
sed 's/^X//' >xsm/pkg-message << 'END-of-xsm/pkg-message'
X
X===========================================================================
XNote, that XSM webapp should have rights to write to the directory "custom"
Xwithin its context.
X
XFor further installation instructions look at
Xhttp://www.rectang.com/Software/XSM/
X===========================================================================
X
END-of-xsm/pkg-message
exit
--- xsm-1.0.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?20060730183735.CC7E7120A1>