diff options
author | wiz <wiz@pkgsrc.org> | 2001-01-29 11:34:21 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2001-01-29 11:34:21 +0000 |
commit | b979f7222ad9bade13f010cd27e5bc6afab1681c (patch) | |
tree | 86f14acd24842161759a420487862022044c2b4b /misc/staroffice | |
parent | 6a13219ca89e5dae86f27159ff86006058c06859 (diff) | |
download | pkgsrc-b979f7222ad9bade13f010cd27e5bc6afab1681c.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 'misc/staroffice')
-rw-r--r-- | misc/staroffice/Makefile | 9 | ||||
-rw-r--r-- | misc/staroffice/pkg/MESSAGE | 11 |
2 files changed, 9 insertions, 11 deletions
diff --git a/misc/staroffice/Makefile b/misc/staroffice/Makefile index 7eec9dd206c..e695b1226cd 100644 --- a/misc/staroffice/Makefile +++ b/misc/staroffice/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2000/08/31 02:35:27 hubertf Exp $ +# $NetBSD: Makefile,v 1.14 2001/01/29 11:34:34 wiz Exp $ # DISTNAME= so51a_lnx_${LANGNO} @@ -69,7 +69,6 @@ LANGSUB= 51AA9999 PLIST_SUBST+= LANGNO=${LANGNO} PLIST_SRC= ${WRKDIR}/PLIST -MESSAGE_FILE= ${WRKDIR}/MESSAGE INSTALL_FILE= ${WRKDIR}/INSTALL do-fetch: @@ -135,9 +134,7 @@ post-install: >${WRKDIR}/${file} ${INSTALL_SCRIPT} ${WRKDIR}/${file} ${PREFIX}/bin .endfor -.for file in MESSAGE INSTALL - ${SED} -e 's#@@PREFIX@@#${PREFIX}#g' < ${PKGDIR}/${file} \ - >${WRKDIR}/${file} -.endfor + ${SED} -e 's#@@PREFIX@@#${PREFIX}#g' < ${FILESDIR}/INSTALL \ + >$WRKDIR}/INSTALL .include "../../mk/bsd.pkg.mk" diff --git a/misc/staroffice/pkg/MESSAGE b/misc/staroffice/pkg/MESSAGE index 89ba9d84d3b..e17170b22ff 100644 --- a/misc/staroffice/pkg/MESSAGE +++ b/misc/staroffice/pkg/MESSAGE @@ -1,14 +1,15 @@ -$NetBSD: MESSAGE,v 1.1.1.1 1999/11/22 21:23:49 rh Exp $ - ========================================================================== - StarOffice has now been installed in @@PREFIX@@/Office51. +$NetBSD: MESSAGE,v 1.2 2001/01/29 11:34:34 wiz Exp $ + + StarOffice has now been installed in ${PREFIX}/Office51. Before using this package for the first time, each user has to run - @@PREFIX@@/bin/sosetup. Thereafter, StarOffice can be started using - the @@PREFIX@@/bin/soffice command. + ${PREFIX}/bin/sosetup. Thereafter, StarOffice can be started using + the ${PREFIX}/bin/soffice command. Please note that under NetBSD the program will pop up a requester, complaining that it is unable to load the 'PluginManager' component. This is normal and can be ignored (you can simply click away the requester). + ========================================================================== |