summaryrefslogtreecommitdiff
path: root/net/radius
diff options
context:
space:
mode:
authorwiz <wiz>2001-01-29 11:34:21 +0000
committerwiz <wiz>2001-01-29 11:34:21 +0000
commit6e5db71f33d6f19d9bc2ccef08527c4fd58ea7ba (patch)
tree86f14acd24842161759a420487862022044c2b4b /net/radius
parente79bc93dd230b17193ddcfca298d9cf5d3cf7205 (diff)
downloadpkgsrc-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 'net/radius')
-rw-r--r--net/radius/Makefile7
-rw-r--r--net/radius/pkg/MESSAGE10
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.
+
+======================================================================