summaryrefslogtreecommitdiff
path: root/www/jssi
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/jssi
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/jssi')
-rw-r--r--www/jssi/Makefile4
-rw-r--r--www/jssi/pkg/MESSAGE4
2 files changed, 3 insertions, 5 deletions
diff --git a/www/jssi/Makefile b/www/jssi/Makefile
index 9e1e8ab5bc9..ee2dd6f8274 100644
--- a/www/jssi/Makefile
+++ b/www/jssi/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2000/06/22 14:23:26 jwise Exp $
+# $NetBSD: Makefile,v 1.5 2001/01/29 11:34:46 wiz Exp $
DISTNAME= ApacheJSSI-1.1.2
PKGNAME= jssi-1.1.2
@@ -18,11 +18,9 @@ USE_GMAKE=
NO_CONFIGURE=
WRKSRC= ${WRKDIR}/ApacheJSSI-1.1.2/src/java
MAKE_ENV+= CLASSPATH=${CLASSPATH}
-MESSAGE_FILE= ${WRKDIR}/MESSAGE
post-build:
(cd ${WRKSRC}/../../docs && CLASSPATH=${CLASSPATH} ${SH} generate_javadoc)
- ${SED} -e 's,@PREFIX@,${PREFIX},g' < ${PKGDIR}/MESSAGE > ${WRKDIR}/MESSAGE
do-install:
${INSTALL_DATA} ${WRKSRC}/ApacheJSSI.jar ${PREFIX}/lib/java/ApacheJSSI.jar
diff --git a/www/jssi/pkg/MESSAGE b/www/jssi/pkg/MESSAGE
index 7e3e9955763..c0e8aeac230 100644
--- a/www/jssi/pkg/MESSAGE
+++ b/www/jssi/pkg/MESSAGE
@@ -1,5 +1,5 @@
=============================================================================
-$NetBSD: MESSAGE,v 1.2 2000/05/09 20:53:19 jwise Exp $
+$NetBSD: MESSAGE,v 1.3 2001/01/29 11:34:46 wiz Exp $
To install Apache-JSSI for use with Apache Server's mod_jserv (from the
ap-jserv package), add the following line to your httpd.conf:
@@ -8,7 +8,7 @@ ap-jserv package), add the following line to your httpd.conf:
and the following line to your zone.properties:
- repositories=@PREFIX@/lib/java/ApacheJSSI.jar
+ repositories=${PREFIX}/lib/java/ApacheJSSI.jar
To use Apache-JSSI with others servlet engines, see the appropriate
documentation.