diff options
author | wiz <wiz> | 2001-01-29 11:34:21 +0000 |
---|---|---|
committer | wiz <wiz> | 2001-01-29 11:34:21 +0000 |
commit | 6e5db71f33d6f19d9bc2ccef08527c4fd58ea7ba (patch) | |
tree | 86f14acd24842161759a420487862022044c2b4b /misc/staroffice | |
parent | e79bc93dd230b17193ddcfca298d9cf5d3cf7205 (diff) | |
download | pkgsrc-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 '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). + ========================================================================== |