summaryrefslogtreecommitdiff
path: root/security/xdm-krb4
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 /security/xdm-krb4
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 'security/xdm-krb4')
-rw-r--r--security/xdm-krb4/Makefile7
-rw-r--r--security/xdm-krb4/pkg/MESSAGE5
2 files changed, 5 insertions, 7 deletions
diff --git a/security/xdm-krb4/Makefile b/security/xdm-krb4/Makefile
index e627b78b7ed..d27c594c2fd 100644
--- a/security/xdm-krb4/Makefile
+++ b/security/xdm-krb4/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2001/01/26 05:21:48 hubertf Exp $
+# $NetBSD: Makefile,v 1.5 2001/01/29 11:34:43 wiz Exp $
#
DISTNAME= xdm-krb4-3.3.6.2
@@ -13,8 +13,6 @@ DEPENDS+= kth-krb4-1.0.1:../../security/kth-krb4
USE_X11BASE= yes
USE_IMAKE= yes
-MESSAGE_FILE= ${WRKDIR}/MESSAGE
-
.include "../../mk/bsd.prefs.mk"
post-patch:
@@ -24,9 +22,6 @@ post-patch:
pre-install:
@${SED} -e 's|@PREFIX@|${PREFIX}|g' \
- <${PKGDIR}/MESSAGE \
- >${MESSAGE_FILE}
- @${SED} -e 's|@PREFIX@|${PREFIX}|g' \
<${FILESDIR}/xdm-krb4.sh \
>${WRKDIR}/xdm-krb4.sh
diff --git a/security/xdm-krb4/pkg/MESSAGE b/security/xdm-krb4/pkg/MESSAGE
index 2526f764a48..e5cae9c1577 100644
--- a/security/xdm-krb4/pkg/MESSAGE
+++ b/security/xdm-krb4/pkg/MESSAGE
@@ -1,6 +1,9 @@
===============================================================================
+$NetBSD: MESSAGE,v 1.2 2001/01/29 11:34:43 wiz Exp $
+
xdm-krb4 now has been installed on your system.
A startup file (e.g. for inclusion into your /etc/rc.local) is provided
-in @PREFIX@/etc/rc.d/xdm-krb4.sh
+in ${PREFIX}/etc/rc.d/xdm-krb4.sh
+
===============================================================================