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. --- net/radius/Makefile | 7 +------ net/radius/pkg/MESSAGE | 10 ++++++++-- 2 files changed, 9 insertions(+), 8 deletions(-) (limited to 'net/radius') diff --git a/net/radius/Makefile b/net/radius/Makefile index 5638fde120f..76dd500d9f4 100644 --- a/net/radius/Makefile +++ b/net/radius/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2000/02/29 01:13:35 kim Exp $ +# $NetBSD: Makefile,v 1.16 2001/01/29 11:34:38 wiz Exp $ # # Tempted to install another radius package? # @@ -37,7 +37,6 @@ MAKE_ENV+= RADLIBS="${RADLIBS} -lskey" LIBS=-lcrypt \ INSTALL="${INSTALL} -c" INSTALL_TARGET= man-install install util-install config-install -MESSAGE_FILE= ${WRKDIR}/MESSAGE WRKSRC= ${WRKDIR} pre-patch: @@ -47,8 +46,4 @@ pre-patch: ${PATCH} -s .endfor -post-build: - @${SED} -e 's#@PREFIX@#${PREFIX}#g' <${PKGDIR}/MESSAGE \ - >${MESSAGE_FILE} - .include "../../mk/bsd.pkg.mk" diff --git a/net/radius/pkg/MESSAGE b/net/radius/pkg/MESSAGE index afb65c8154b..a41a65e2f92 100644 --- a/net/radius/pkg/MESSAGE +++ b/net/radius/pkg/MESSAGE @@ -1,2 +1,8 @@ -To use the The Merit AAA Server you have to copy the contents of the directory -"@PREFIX@/share/examples/radius" to "/etc/raddb" and to customize it. +====================================================================== +$NetBSD: MESSAGE,v 1.2 2001/01/29 11:34:38 wiz Exp $ + +To use the The Merit AAA Server you have to copy the contents of +the directory "${PREFIX}/share/examples/radius" to "/etc/raddb" +and to customize it. + +====================================================================== -- cgit v1.2.3