mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
Add xsm 1.0, an eXtensible Site Manager.
PR: ports/101064 Submitted by: me
This commit is contained in:
parent
52e95543cb
commit
e9295b2e92
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=189776
@ -1270,6 +1270,7 @@
|
||||
SUBDIR += xpi-xpcom-component-viewer
|
||||
SUBDIR += xshttpd
|
||||
SUBDIR += xshttpd-devel
|
||||
SUBDIR += xsm
|
||||
SUBDIR += xulrunner
|
||||
SUBDIR += yabb
|
||||
SUBDIR += yaws
|
||||
|
82
www/extsm/Makefile
Normal file
82
www/extsm/Makefile
Normal file
@ -0,0 +1,82 @@
|
||||
# New ports collection makefile for: xsm
|
||||
# Date created: 2006-07-30
|
||||
# Whom: Stanislav Sedov <ssedov@mbsd.msk.ru>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= xsm
|
||||
PORTVERSION= 1.0
|
||||
CATEGORIES= www java
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR=rxsm
|
||||
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
||||
|
||||
MAINTAINER= stas@FreeBSD.org
|
||||
COMMENT= Extensible Site Manager
|
||||
|
||||
RUN_DEPENDS= ${LOCALBASE}/bin/ant:${PORTSDIR}/devel/apache-ant
|
||||
|
||||
USE_JAVA= yes
|
||||
JAVA_VERSION= 1.4+
|
||||
NO_BUILD= yes
|
||||
|
||||
OPTIONS= TOMCAT4 "Use Jakarta Tomcat 4" off \
|
||||
TOMCAT41 "Use Jakarta Tomcat 4.1" off \
|
||||
TOMCAT5 "Use Jakarta Tomcat 5" on \
|
||||
TOMCAT55 "Use Jakarta Tomcat 5.55" off \
|
||||
RESIN2 "Use Resin 2" off \
|
||||
RESIN3 "Use Resin 3" off
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
WEBAPP_DIRS= #empty
|
||||
.if defined(WITH_TOMCAT4)
|
||||
WEBAPP_DIRS+= jakarta-tomcat4.0
|
||||
RUN_DEPENDS+= ${PREFIX}/jakarta-tomcat4.0/bin/bootstrap.jar:${PORTSDIR}/www/jakarta-tomcat4
|
||||
.endif
|
||||
|
||||
.if defined(WITH_TOMCAT41)
|
||||
WEBAPP_DIRS+= tomcat4.1
|
||||
RUN_DEPENDS+= ${PREFIX}/tomcat4.1/bin/bootstrap.jar:${PORTSDIR}/www/tomcat41
|
||||
.endif
|
||||
|
||||
.if defined(WITH_TOMCAT5)
|
||||
WEBAPP_DIRS+= jakarta-tomcat5.0
|
||||
RUN_DEPENDS+= ${PREFIX}/jakarta-tomcat5.0/bin/bootstrap.jar:${PORTSDIR}/www/jakarta-tomcat5
|
||||
.endif
|
||||
|
||||
.if defined(WITH_TOMCAT55)
|
||||
WEBAPP_DIRS+= tomcat5.5
|
||||
RUN_DEPENDS+= ${PREFIX}/tomcat5.5/bin/bootstrap.jar:${PORTSDIR}/www/tomcat55
|
||||
.endif
|
||||
|
||||
.if defined(WITH_RESIN2)
|
||||
WEBAPP_DIRS+= resin2
|
||||
RUN_DEPENDS+= ${PREFIX}/resin2/lib/resin.jar:${PORTSDIR}/www/resin2
|
||||
.endif
|
||||
|
||||
.if defined(WITH_RESIN3)
|
||||
WEBAPP_DIRS+= resin3
|
||||
RUN_DEPENDS+= ${PREFIX}/resin3/lib/resin.jar:${PORTSDIR}/www/resin3
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
.if ${PREFIX}!=${LOCALBASE}
|
||||
@${ECHO_CMD} "Warning: you changed prefix to ${PREFIX}"
|
||||
@${ECHO_CMD} "Default installation will not work if you installed"
|
||||
@${ECHO_CMD} "application server in different prefix"
|
||||
.endif
|
||||
.for DIR in ${WEBAPP_DIRS}
|
||||
@${ECHO_CMD} "${DIR}/webapps/xsm.war" >> ${TMPPLIST}
|
||||
.if !exists(${PREFIX}/${DIR}/webapps)
|
||||
${MKDIR} ${PREFIX}/${DIR}/webapps
|
||||
@${ECHO_CMD} "@dirrm ${DIR}/webapps" >> ${TMPPLIST}
|
||||
.endif
|
||||
${INSTALL_DATA} ${WRKSRC}/xsm.war ${PREFIX}/${DIR}/webapps
|
||||
.endfor
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
3
www/extsm/distinfo
Normal file
3
www/extsm/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (xsm_1.0.tar.gz) = 4906e02686ad5e1ae7125aba139cd1ca
|
||||
SHA256 (xsm_1.0.tar.gz) = 708c53555ae1bb65108f57f09ec39fe00c8cefb4456922205a98823c414820a1
|
||||
SIZE (xsm_1.0.tar.gz) = 2779061
|
24
www/extsm/pkg-descr
Normal file
24
www/extsm/pkg-descr
Normal file
@ -0,0 +1,24 @@
|
||||
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/
|
9
www/extsm/pkg-message
Normal file
9
www/extsm/pkg-message
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
===========================================================================
|
||||
Note, that XSM webapp should have rights to write to the directory "custom"
|
||||
within its context.
|
||||
|
||||
For further installation instructions look at
|
||||
http://www.rectang.com/Software/XSM/
|
||||
===========================================================================
|
||||
|
82
www/xsm/Makefile
Normal file
82
www/xsm/Makefile
Normal file
@ -0,0 +1,82 @@
|
||||
# New ports collection makefile for: xsm
|
||||
# Date created: 2006-07-30
|
||||
# Whom: Stanislav Sedov <ssedov@mbsd.msk.ru>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= xsm
|
||||
PORTVERSION= 1.0
|
||||
CATEGORIES= www java
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR=rxsm
|
||||
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
||||
|
||||
MAINTAINER= stas@FreeBSD.org
|
||||
COMMENT= Extensible Site Manager
|
||||
|
||||
RUN_DEPENDS= ${LOCALBASE}/bin/ant:${PORTSDIR}/devel/apache-ant
|
||||
|
||||
USE_JAVA= yes
|
||||
JAVA_VERSION= 1.4+
|
||||
NO_BUILD= yes
|
||||
|
||||
OPTIONS= TOMCAT4 "Use Jakarta Tomcat 4" off \
|
||||
TOMCAT41 "Use Jakarta Tomcat 4.1" off \
|
||||
TOMCAT5 "Use Jakarta Tomcat 5" on \
|
||||
TOMCAT55 "Use Jakarta Tomcat 5.55" off \
|
||||
RESIN2 "Use Resin 2" off \
|
||||
RESIN3 "Use Resin 3" off
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
WEBAPP_DIRS= #empty
|
||||
.if defined(WITH_TOMCAT4)
|
||||
WEBAPP_DIRS+= jakarta-tomcat4.0
|
||||
RUN_DEPENDS+= ${PREFIX}/jakarta-tomcat4.0/bin/bootstrap.jar:${PORTSDIR}/www/jakarta-tomcat4
|
||||
.endif
|
||||
|
||||
.if defined(WITH_TOMCAT41)
|
||||
WEBAPP_DIRS+= tomcat4.1
|
||||
RUN_DEPENDS+= ${PREFIX}/tomcat4.1/bin/bootstrap.jar:${PORTSDIR}/www/tomcat41
|
||||
.endif
|
||||
|
||||
.if defined(WITH_TOMCAT5)
|
||||
WEBAPP_DIRS+= jakarta-tomcat5.0
|
||||
RUN_DEPENDS+= ${PREFIX}/jakarta-tomcat5.0/bin/bootstrap.jar:${PORTSDIR}/www/jakarta-tomcat5
|
||||
.endif
|
||||
|
||||
.if defined(WITH_TOMCAT55)
|
||||
WEBAPP_DIRS+= tomcat5.5
|
||||
RUN_DEPENDS+= ${PREFIX}/tomcat5.5/bin/bootstrap.jar:${PORTSDIR}/www/tomcat55
|
||||
.endif
|
||||
|
||||
.if defined(WITH_RESIN2)
|
||||
WEBAPP_DIRS+= resin2
|
||||
RUN_DEPENDS+= ${PREFIX}/resin2/lib/resin.jar:${PORTSDIR}/www/resin2
|
||||
.endif
|
||||
|
||||
.if defined(WITH_RESIN3)
|
||||
WEBAPP_DIRS+= resin3
|
||||
RUN_DEPENDS+= ${PREFIX}/resin3/lib/resin.jar:${PORTSDIR}/www/resin3
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
.if ${PREFIX}!=${LOCALBASE}
|
||||
@${ECHO_CMD} "Warning: you changed prefix to ${PREFIX}"
|
||||
@${ECHO_CMD} "Default installation will not work if you installed"
|
||||
@${ECHO_CMD} "application server in different prefix"
|
||||
.endif
|
||||
.for DIR in ${WEBAPP_DIRS}
|
||||
@${ECHO_CMD} "${DIR}/webapps/xsm.war" >> ${TMPPLIST}
|
||||
.if !exists(${PREFIX}/${DIR}/webapps)
|
||||
${MKDIR} ${PREFIX}/${DIR}/webapps
|
||||
@${ECHO_CMD} "@dirrm ${DIR}/webapps" >> ${TMPPLIST}
|
||||
.endif
|
||||
${INSTALL_DATA} ${WRKSRC}/xsm.war ${PREFIX}/${DIR}/webapps
|
||||
.endfor
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
3
www/xsm/distinfo
Normal file
3
www/xsm/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (xsm_1.0.tar.gz) = 4906e02686ad5e1ae7125aba139cd1ca
|
||||
SHA256 (xsm_1.0.tar.gz) = 708c53555ae1bb65108f57f09ec39fe00c8cefb4456922205a98823c414820a1
|
||||
SIZE (xsm_1.0.tar.gz) = 2779061
|
24
www/xsm/pkg-descr
Normal file
24
www/xsm/pkg-descr
Normal file
@ -0,0 +1,24 @@
|
||||
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/
|
9
www/xsm/pkg-message
Normal file
9
www/xsm/pkg-message
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
===========================================================================
|
||||
Note, that XSM webapp should have rights to write to the directory "custom"
|
||||
within its context.
|
||||
|
||||
For further installation instructions look at
|
||||
http://www.rectang.com/Software/XSM/
|
||||
===========================================================================
|
||||
|
Loading…
Reference in New Issue
Block a user