summaryrefslogtreecommitdiff
path: root/www/cocoon
diff options
context:
space:
mode:
authorwiz <wiz>2001-01-29 11:34:21 +0000
committerwiz <wiz>2001-01-29 11:34:21 +0000
commit6e5db71f33d6f19d9bc2ccef08527c4fd58ea7ba (patch)
tree86f14acd24842161759a420487862022044c2b4b /www/cocoon
parente79bc93dd230b17193ddcfca298d9cf5d3cf7205 (diff)
downloadpkgsrc-6e5db71f33d6f19d9bc2ccef08527c4fd58ea7ba.tar.gz
Add automatic ${VARIABLE} handling for MESSAGE files.
Convert most MESSAGE files to new syntax (${VARIABLE} gets replaced, not @VARIABLE@, nor @@VARIABLE@@). By default, substitutions are done for LOCALBASE, PKGNAME, PREFIX, X11BASE, X11PREFIX; additional patterns can be added via MESSAGE_SUBST. Clean up some packages while I'm there; add RCS tags to most MESSAGEs. Remove some uninteresting MESSAGEs.
Diffstat (limited to 'www/cocoon')
-rw-r--r--www/cocoon/Makefile4
-rw-r--r--www/cocoon/pkg/MESSAGE16
2 files changed, 10 insertions, 10 deletions
diff --git a/www/cocoon/Makefile b/www/cocoon/Makefile
index 97bc5a4a9fa..56ae7cd1b41 100644
--- a/www/cocoon/Makefile
+++ b/www/cocoon/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2000/10/19 23:23:34 jwise Exp $
+# $NetBSD: Makefile,v 1.5 2001/01/29 11:34:45 wiz Exp $
DISTNAME= Cocoon-1.8
PKGNAME= cocoon-1.8
@@ -31,13 +31,11 @@ WRKSRC= ${WRKDIR}/${PKGNAME}
NO_CONFIGURE=
USE_JAVA= yes
-MESSAGE_FILE= ${WRKDIR}/MESSAGE
post-extract:
${RM} ${WRKSRC}/lib/fop_0_13_0.jar ${WRKSRC}/lib/servlet_2_2.jar \
${WRKSRC}/lib/xalan_1_2_D02.jar ${WRKSRC}/lib/xerces_1_2.jar \
${WRKSRC}/lib/bsf.jar ${WRKSRC}/lib/bsfengines.jar
- ${SED} -e s,@PREFIX@,${PREFIX},g < ${PKGDIR}/MESSAGE > ${WRKDIR}/MESSAGE
# Yes -- you have to run build.sh _twice_. The first time triggers a bug in JDK-1.1 javac,
# and the second time completes successfully. While we're at it, note that we can't
diff --git a/www/cocoon/pkg/MESSAGE b/www/cocoon/pkg/MESSAGE
index a5a041c6f83..0bcb1fece6c 100644
--- a/www/cocoon/pkg/MESSAGE
+++ b/www/cocoon/pkg/MESSAGE
@@ -1,21 +1,23 @@
================================================================
+$NetBSD: MESSAGE,v 1.2 2001/01/29 11:34:45 wiz Exp $
+
Cocoon is now installed. To see cocoon in action, make sure
that
- @PREFIX@/lib/java/cocoon.jar,
- @PREFIX@/lib/java/fop.jar,
- @PREFIX@/lib/java/xalan.jar,
- @PREFIX@/lib/java/xerces.jar, and
- @PREFIX@/jakarta/tomcat/lib/servlet.jar
+ ${PREFIX}/lib/java/cocoon.jar,
+ ${PREFIX}/lib/java/fop.jar,
+ ${PREFIX}/lib/java/xalan.jar,
+ ${PREFIX}/lib/java/xerces.jar, and
+ ${PREFIX}/jakarta/tomcat/lib/servlet.jar
are in your CLASSPATH and add
- @PREFIX@/share/examples/java/cocoon
+ ${PREFIX}/share/examples/java/cocoon
as a servlet context under Jakarta Tomcat. For more
information, or for instructions on using cocoon with
other servlet environments, see
- @PREFIX@/share/doc/java/cocoon/install.html
+ ${PREFIX}/share/doc/java/cocoon/install.html
================================================================