2008-11-08 18:36:36 +01:00
|
|
|
# $NetBSD: Makefile,v 1.33 2008/11/08 17:36:36 jwise Exp $
|
2000-05-31 23:55:15 +02:00
|
|
|
|
Update cocoon to version 1.8.2.
Changes since cocoon-1.8 (the last pkgsrc version):
Release Notes for Cocoon 1.8.2
------------------------------
This is a minor bugfix release. Among other things, Cocoon works on JDK1.1 again,
as it should, and the XInclude processor should work correctly at any stage in the
pipeline (previously it would do nothing if invoked after certain processors).
Also, in the last two versions, optional connectors for XT, JNDI etc. were left out by
mistake from the build. This has now been fixed.
Release Notes for Cocoon 1.8.1
------------------------------
This is mainly a bugfix release - a large number of fixes and updates
have been made.
As usual, changes since previous releases are documented in docs/changes.html
Major improvements include:
* First official release of the esql logicsheet for database access in Cocoon.
Esql, which was previously an undocumented experimental feature, supports
features like integration with other logicsheets, prepared statements, and
multiple encodings. Esql now supercedes both the sql taglib and the sql
processor. IMPORTANT NOTE: Although the esql syntax has changed since Cocoon 1.8
(see the documentation), it is now expected to be fairly stable.
* The much-maligned Internet Explorer PDF bug, which caused so much gnashing of
teeth, has finally been "fixed" in Cocoon! (We think.)
See the FAQ for full details - see also samples/fo for practical examples.
* Updated installation instructions for a number of servlet engines, including Tomcat.
Cocoon now comes with walk-through installation instructions for a greater range of
platforms than ever before! This is very useful because Cocoon is a complex servlet
and therefore quite complicated to install.
* Support for FOP 0.15 (though not later versions).
Unfortunately this is rather inefficient - Cocoon 2 will address this.
FOP is an XML-to-PDF converter based at xml.apache.org. FOP 0.15 supports more
features and fixes many bugs, but it is based on a newer XSL:FO
specification than FOP 0.13, so some pages may need changing. FOP Samples
have been updated accordingly.
Other highlights include:
* New LinkEncodingProcessor to encode all links on a page
- no more messing about with response.encodeUrl all over the place
or unportable XSLT extensions!
* sax-bugfix.jar that allows you to see line numbers in parsing errors. See Installing.
* Documentation has been tweaked and improved in many places.
* Of interest to JServ users - You can now override options in cocoon.properties,
in web.xml or zone.properties.
* User-agent support for command-line mode.
* Slightly better encoding and CLASSPATH support for XSP.
* More informative error information in places.
* Numerous other bugfixes, including a workaround for a Websphere bug that prevented
Cocoon from working.
Also new since the last release is a Bug Database and a Patch Queue on the Cocoon website.
If you've posted us a bugfix and it hasn't been acted on yet, please feel free to file
a bug report - it helps us keep track! (To file a report you need to first
register, and then login.) Of course, we would like to see as much information
as possible in bug reports, as this aids in tracking down bugs and testing bugfixes.
As usual, if upgrading from an earlier release, you need to replace your
cocoon.properties file with the one supplied in
src/org/apache/cocoon/cocoon.properties,
(then make any site-specific adjustments if you have any),
or Cocoon will very likely not work at all.
Again, it may cause errors if you use old samples with a new Cocoon.
If you use the ESQL taglib, the syntax has changed between Cocoon 1.8 and Cocoon 1.8.1.
See the documentation for more details.
2001-03-14 03:05:20 +01:00
|
|
|
DISTNAME= Cocoon-1.8.2
|
|
|
|
PKGNAME= cocoon-1.8.2
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 1
|
2000-05-31 23:55:15 +02:00
|
|
|
CATEGORIES= www
|
2006-10-04 23:59:34 +02:00
|
|
|
MASTER_SITES= http://cocoon.apache.org/dist/cocoon/cocoon1/
|
2000-05-31 23:55:15 +02:00
|
|
|
|
2003-07-18 00:50:55 +02:00
|
|
|
MAINTAINER= jwise@NetBSD.org
|
2006-10-04 23:59:34 +02:00
|
|
|
HOMEPAGE= http://cocoon.apache.org/
|
2003-07-22 06:14:17 +02:00
|
|
|
COMMENT= The Apache Project's XML/XSL based web publishing system
|
2000-05-31 23:55:15 +02:00
|
|
|
|
2007-01-31 01:04:11 +01:00
|
|
|
BROKEN_IN= pkgsrc-2006Q1 pkgsrc-2006Q4
|
2006-05-18 22:29:58 +02:00
|
|
|
|
2008-11-08 18:36:36 +01:00
|
|
|
BROKEN= This needs update to a newer version which can be built \
|
|
|
|
against recent JDK and Servlet API versions.
|
|
|
|
|
2000-10-20 01:23:34 +02:00
|
|
|
# These are exact version requirements intentionally, and will need to remain
|
|
|
|
# so until the interfaces stabilize more. Until then, new versions of these
|
|
|
|
# libraries will be tested heavily with cocoon, and if not usable will be
|
|
|
|
# imported as -current packages.
|
2002-12-31 16:44:28 +01:00
|
|
|
#
|
2000-10-20 01:23:34 +02:00
|
|
|
DEPENDS+= xalan-j-1.2:../../textproc/xalan-j
|
2006-11-25 17:19:53 +01:00
|
|
|
DEPENDS+= fop-0.15.0{,nb[0-9]*}:../../textproc/fop
|
2001-09-28 01:17:41 +02:00
|
|
|
DEPENDS+= jakarta-servletapi-[0-9]*:../../www/jakarta-servletapi
|
2000-05-31 23:55:15 +02:00
|
|
|
|
|
|
|
# In addition to the above requirements, cocoon will build in support for the
|
|
|
|
# following if they are in ${CLASSPATH}
|
|
|
|
#
|
|
|
|
# org.apache.cocoon.transformer.XTTransformer ===> pkgsrc/textproc/xt
|
|
|
|
#
|
|
|
|
# org.apache.cocoon.processor.ldap.LdapProcessor ===>
|
|
|
|
# Sun JNDI API 1.2.1+ (http://java.sun.com/products/jndi/index.html)
|
|
|
|
#
|
|
|
|
# org.apache.cocoon.processor.dcp.DCPProcessor ===>
|
|
|
|
# FESI 1.21+ (http://home.worldcom.ch/jmlugrin/fesi/download.html)
|
|
|
|
|
2005-09-28 14:15:16 +02:00
|
|
|
NO_CONFIGURE= yes
|
2000-05-31 23:55:15 +02:00
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
|
|
|
|
|
2008-05-26 04:13:14 +02:00
|
|
|
USE_TOOLS+= pax
|
|
|
|
|
2000-05-31 23:55:15 +02:00
|
|
|
post-extract:
|
Update cocoon to version 1.8.2.
Changes since cocoon-1.8 (the last pkgsrc version):
Release Notes for Cocoon 1.8.2
------------------------------
This is a minor bugfix release. Among other things, Cocoon works on JDK1.1 again,
as it should, and the XInclude processor should work correctly at any stage in the
pipeline (previously it would do nothing if invoked after certain processors).
Also, in the last two versions, optional connectors for XT, JNDI etc. were left out by
mistake from the build. This has now been fixed.
Release Notes for Cocoon 1.8.1
------------------------------
This is mainly a bugfix release - a large number of fixes and updates
have been made.
As usual, changes since previous releases are documented in docs/changes.html
Major improvements include:
* First official release of the esql logicsheet for database access in Cocoon.
Esql, which was previously an undocumented experimental feature, supports
features like integration with other logicsheets, prepared statements, and
multiple encodings. Esql now supercedes both the sql taglib and the sql
processor. IMPORTANT NOTE: Although the esql syntax has changed since Cocoon 1.8
(see the documentation), it is now expected to be fairly stable.
* The much-maligned Internet Explorer PDF bug, which caused so much gnashing of
teeth, has finally been "fixed" in Cocoon! (We think.)
See the FAQ for full details - see also samples/fo for practical examples.
* Updated installation instructions for a number of servlet engines, including Tomcat.
Cocoon now comes with walk-through installation instructions for a greater range of
platforms than ever before! This is very useful because Cocoon is a complex servlet
and therefore quite complicated to install.
* Support for FOP 0.15 (though not later versions).
Unfortunately this is rather inefficient - Cocoon 2 will address this.
FOP is an XML-to-PDF converter based at xml.apache.org. FOP 0.15 supports more
features and fixes many bugs, but it is based on a newer XSL:FO
specification than FOP 0.13, so some pages may need changing. FOP Samples
have been updated accordingly.
Other highlights include:
* New LinkEncodingProcessor to encode all links on a page
- no more messing about with response.encodeUrl all over the place
or unportable XSLT extensions!
* sax-bugfix.jar that allows you to see line numbers in parsing errors. See Installing.
* Documentation has been tweaked and improved in many places.
* Of interest to JServ users - You can now override options in cocoon.properties,
in web.xml or zone.properties.
* User-agent support for command-line mode.
* Slightly better encoding and CLASSPATH support for XSP.
* More informative error information in places.
* Numerous other bugfixes, including a workaround for a Websphere bug that prevented
Cocoon from working.
Also new since the last release is a Bug Database and a Patch Queue on the Cocoon website.
If you've posted us a bugfix and it hasn't been acted on yet, please feel free to file
a bug report - it helps us keep track! (To file a report you need to first
register, and then login.) Of course, we would like to see as much information
as possible in bug reports, as this aids in tracking down bugs and testing bugfixes.
As usual, if upgrading from an earlier release, you need to replace your
cocoon.properties file with the one supplied in
src/org/apache/cocoon/cocoon.properties,
(then make any site-specific adjustments if you have any),
or Cocoon will very likely not work at all.
Again, it may cause errors if you use old samples with a new Cocoon.
If you use the ESQL taglib, the syntax has changed between Cocoon 1.8 and Cocoon 1.8.1.
See the documentation for more details.
2001-03-14 03:05:20 +01:00
|
|
|
${RM} ${WRKSRC}/lib/fop_0_15_0.jar ${WRKSRC}/lib/servlet_2_2.jar \
|
2000-10-20 01:23:34 +02:00
|
|
|
${WRKSRC}/lib/xalan_1_2_D02.jar ${WRKSRC}/lib/xerces_1_2.jar \
|
Update cocoon to version 1.8.2.
Changes since cocoon-1.8 (the last pkgsrc version):
Release Notes for Cocoon 1.8.2
------------------------------
This is a minor bugfix release. Among other things, Cocoon works on JDK1.1 again,
as it should, and the XInclude processor should work correctly at any stage in the
pipeline (previously it would do nothing if invoked after certain processors).
Also, in the last two versions, optional connectors for XT, JNDI etc. were left out by
mistake from the build. This has now been fixed.
Release Notes for Cocoon 1.8.1
------------------------------
This is mainly a bugfix release - a large number of fixes and updates
have been made.
As usual, changes since previous releases are documented in docs/changes.html
Major improvements include:
* First official release of the esql logicsheet for database access in Cocoon.
Esql, which was previously an undocumented experimental feature, supports
features like integration with other logicsheets, prepared statements, and
multiple encodings. Esql now supercedes both the sql taglib and the sql
processor. IMPORTANT NOTE: Although the esql syntax has changed since Cocoon 1.8
(see the documentation), it is now expected to be fairly stable.
* The much-maligned Internet Explorer PDF bug, which caused so much gnashing of
teeth, has finally been "fixed" in Cocoon! (We think.)
See the FAQ for full details - see also samples/fo for practical examples.
* Updated installation instructions for a number of servlet engines, including Tomcat.
Cocoon now comes with walk-through installation instructions for a greater range of
platforms than ever before! This is very useful because Cocoon is a complex servlet
and therefore quite complicated to install.
* Support for FOP 0.15 (though not later versions).
Unfortunately this is rather inefficient - Cocoon 2 will address this.
FOP is an XML-to-PDF converter based at xml.apache.org. FOP 0.15 supports more
features and fixes many bugs, but it is based on a newer XSL:FO
specification than FOP 0.13, so some pages may need changing. FOP Samples
have been updated accordingly.
Other highlights include:
* New LinkEncodingProcessor to encode all links on a page
- no more messing about with response.encodeUrl all over the place
or unportable XSLT extensions!
* sax-bugfix.jar that allows you to see line numbers in parsing errors. See Installing.
* Documentation has been tweaked and improved in many places.
* Of interest to JServ users - You can now override options in cocoon.properties,
in web.xml or zone.properties.
* User-agent support for command-line mode.
* Slightly better encoding and CLASSPATH support for XSP.
* More informative error information in places.
* Numerous other bugfixes, including a workaround for a Websphere bug that prevented
Cocoon from working.
Also new since the last release is a Bug Database and a Patch Queue on the Cocoon website.
If you've posted us a bugfix and it hasn't been acted on yet, please feel free to file
a bug report - it helps us keep track! (To file a report you need to first
register, and then login.) Of course, we would like to see as much information
as possible in bug reports, as this aids in tracking down bugs and testing bugfixes.
As usual, if upgrading from an earlier release, you need to replace your
cocoon.properties file with the one supplied in
src/org/apache/cocoon/cocoon.properties,
(then make any site-specific adjustments if you have any),
or Cocoon will very likely not work at all.
Again, it may cause errors if you use old samples with a new Cocoon.
If you use the ESQL taglib, the syntax has changed between Cocoon 1.8 and Cocoon 1.8.1.
See the documentation for more details.
2001-03-14 03:05:20 +01:00
|
|
|
${WRKSRC}/lib/bsf.jar ${WRKSRC}/lib/bsfengines.jar \
|
|
|
|
${WRKSRC}/lib/xml.jar ${WRKSRC}/lib/xt.jar \
|
|
|
|
${WRKSRC}/lib/fesi.jar
|
2000-05-31 23:55:15 +02:00
|
|
|
|
2001-03-29 23:16:13 +02:00
|
|
|
# note that we can't rebuild the javadoc documentation, and have to use that
|
|
|
|
# which it shipped with, as the javadoc target requires StyleBook, which uses
|
|
|
|
# features of JDK 1.2
|
|
|
|
|
2000-05-31 23:55:15 +02:00
|
|
|
do-build:
|
2002-01-14 16:35:46 +01:00
|
|
|
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${SH} build.sh
|
2000-05-31 23:55:15 +02:00
|
|
|
|
2000-10-20 01:23:34 +02:00
|
|
|
# For now, we install the turbine-pool.jar which ships with cocoon. When there is an actual
|
|
|
|
# release of Turbine, we will have a package for it, which cocoon will depend on.
|
2000-05-31 23:55:15 +02:00
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/bin/cocoon.jar ${PREFIX}/lib/java
|
2000-10-20 01:23:34 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/lib/turbine-pool.jar ${PREFIX}/lib/java
|
Update cocoon to version 1.8.2.
Changes since cocoon-1.8 (the last pkgsrc version):
Release Notes for Cocoon 1.8.2
------------------------------
This is a minor bugfix release. Among other things, Cocoon works on JDK1.1 again,
as it should, and the XInclude processor should work correctly at any stage in the
pipeline (previously it would do nothing if invoked after certain processors).
Also, in the last two versions, optional connectors for XT, JNDI etc. were left out by
mistake from the build. This has now been fixed.
Release Notes for Cocoon 1.8.1
------------------------------
This is mainly a bugfix release - a large number of fixes and updates
have been made.
As usual, changes since previous releases are documented in docs/changes.html
Major improvements include:
* First official release of the esql logicsheet for database access in Cocoon.
Esql, which was previously an undocumented experimental feature, supports
features like integration with other logicsheets, prepared statements, and
multiple encodings. Esql now supercedes both the sql taglib and the sql
processor. IMPORTANT NOTE: Although the esql syntax has changed since Cocoon 1.8
(see the documentation), it is now expected to be fairly stable.
* The much-maligned Internet Explorer PDF bug, which caused so much gnashing of
teeth, has finally been "fixed" in Cocoon! (We think.)
See the FAQ for full details - see also samples/fo for practical examples.
* Updated installation instructions for a number of servlet engines, including Tomcat.
Cocoon now comes with walk-through installation instructions for a greater range of
platforms than ever before! This is very useful because Cocoon is a complex servlet
and therefore quite complicated to install.
* Support for FOP 0.15 (though not later versions).
Unfortunately this is rather inefficient - Cocoon 2 will address this.
FOP is an XML-to-PDF converter based at xml.apache.org. FOP 0.15 supports more
features and fixes many bugs, but it is based on a newer XSL:FO
specification than FOP 0.13, so some pages may need changing. FOP Samples
have been updated accordingly.
Other highlights include:
* New LinkEncodingProcessor to encode all links on a page
- no more messing about with response.encodeUrl all over the place
or unportable XSLT extensions!
* sax-bugfix.jar that allows you to see line numbers in parsing errors. See Installing.
* Documentation has been tweaked and improved in many places.
* Of interest to JServ users - You can now override options in cocoon.properties,
in web.xml or zone.properties.
* User-agent support for command-line mode.
* Slightly better encoding and CLASSPATH support for XSP.
* More informative error information in places.
* Numerous other bugfixes, including a workaround for a Websphere bug that prevented
Cocoon from working.
Also new since the last release is a Bug Database and a Patch Queue on the Cocoon website.
If you've posted us a bugfix and it hasn't been acted on yet, please feel free to file
a bug report - it helps us keep track! (To file a report you need to first
register, and then login.) Of course, we would like to see as much information
as possible in bug reports, as this aids in tracking down bugs and testing bugfixes.
As usual, if upgrading from an earlier release, you need to replace your
cocoon.properties file with the one supplied in
src/org/apache/cocoon/cocoon.properties,
(then make any site-specific adjustments if you have any),
or Cocoon will very likely not work at all.
Again, it may cause errors if you use old samples with a new Cocoon.
If you use the ESQL taglib, the syntax has changed between Cocoon 1.8 and Cocoon 1.8.1.
See the documentation for more details.
2001-03-14 03:05:20 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/lib/sax-bugfix.jar ${PREFIX}/lib/java
|
2001-02-25 05:17:35 +01:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/java/cocoon
|
2008-05-26 04:13:14 +02:00
|
|
|
cd ${WRKSRC}/docs && pax -rw -pp . ${PREFIX}/share/doc/java/cocoon
|
2001-02-25 05:17:35 +01:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/java/cocoon/WEB-INF
|
2000-05-31 23:55:15 +02:00
|
|
|
${INSTALL_DATA} ${FILESDIR}/web.xml ${PREFIX}/share/examples/java/cocoon/WEB-INF
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/conf/cocoon.properties ${PREFIX}/share/examples/java/cocoon/WEB-INF
|
2008-05-26 04:13:14 +02:00
|
|
|
cd ${WRKSRC}/samples && pax -rw -pp . ${PREFIX}/share/examples/java/cocoon
|
2000-05-31 23:55:15 +02:00
|
|
|
|
2002-12-31 16:44:28 +01:00
|
|
|
.include "../../mk/java-vm.mk"
|
2000-05-31 23:55:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|
|
|
|
|
2002-10-10 03:01:09 +02:00
|
|
|
CLASSPATH:=${CLASSPATH}:${LOCALBASE}/lib/java/fop.jar:${LOCALBASE}/lib/java/xalan.jar:${LOCALBASE}/lib/java/bsf.jar:${LOCALBASE}/lib/java/xerces.jar:${LOCALBASE}/lib/java/servlet.jar:${PKG_JAVA_HOME}/lib/classes.zip:${PKG_JAVA_HOME}/lib/tools.jar
|
2005-12-05 21:49:47 +01:00
|
|
|
MAKE_ENV+= CLASSPATH=${CLASSPATH:Q}
|