From 6e5db71f33d6f19d9bc2ccef08527c4fd58ea7ba Mon Sep 17 00:00:00 2001 From: wiz Date: Mon, 29 Jan 2001 11:34:21 +0000 Subject: 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. --- print/pcps/Makefile | 8 ++------ print/pcps/pkg/MESSAGE | 11 ++++++----- 2 files changed, 8 insertions(+), 11 deletions(-) (limited to 'print/pcps') diff --git a/print/pcps/Makefile b/print/pcps/Makefile index 81b95c73796..8c21e765844 100644 --- a/print/pcps/Makefile +++ b/print/pcps/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2000/11/23 13:47:00 rh Exp $ +# $NetBSD: Makefile,v 1.2 2001/01/29 11:34:40 wiz Exp $ # DISTNAME= pcps840 @@ -13,17 +13,13 @@ HOMEPAGE= http://www.swreg.org/soft_shop/695/shopscr3.shtml MAKEFILE= makefile ALL_TARGET= MAKE_ENV+= "CC=${CC} ${CFLAGS} -DUNIX" -MESSAGE_FILE= ${WRKDIR}/MESSAGE +NO_CONFIGURE= yes LICENSE= shareware RESTRICTED= This is shareware for your evaluation and subsequent payment NO_BIN_ON_FTP= ${RESTRICTED} NO_BIN_ON_CDROM=${RESTRICTED} -do-configure: - ${SED} -e 's#@@PREFIX@@#${PREFIX}#g' < ${PKGDIR}/MESSAGE \ - >${WRKDIR}/MESSAGE - do-install: @${INSTALL_PROGRAM} ${WRKSRC}/pcps ${PREFIX}/bin/pcps @${INSTALL_MAN} ${FILESDIR}/pcps.1 ${PREFIX}/man/man1 diff --git a/print/pcps/pkg/MESSAGE b/print/pcps/pkg/MESSAGE index e422539a613..65c3c4967e4 100644 --- a/print/pcps/pkg/MESSAGE +++ b/print/pcps/pkg/MESSAGE @@ -1,12 +1,13 @@ -$NetBSD: MESSAGE,v 1.1.1.1 2000/11/23 13:47:00 rh Exp $ +====================================================================== +$NetBSD: MESSAGE,v 1.2 2001/01/29 11:34:40 wiz Exp $ ---------------------------------------------------------- - The configuration f\ile is set for US 8.5x11 inch paper + The configuration file is set for US 8.5x11 inch paper and some other options you may wish to customize. PCPS is Copyright (c) 1992-2000 by MicroSource. PCPS IS NOT FREE, this version is SHAREWARE. - See @@PREFIX@@/share/doc/pcps/license.doc for details. ---------------------------------------------------------- + See ${PREFIX}/share/doc/pcps/license.doc for details. + +====================================================================== -- cgit v1.2.3