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 /net/radius | |
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 'net/radius')
-rw-r--r-- | net/radius/Makefile | 7 | ||||
-rw-r--r-- | net/radius/pkg/MESSAGE | 10 |
2 files changed, 9 insertions, 8 deletions
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. + +====================================================================== |