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 /security/kth-krb4 | |
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 'security/kth-krb4')
-rw-r--r-- | security/kth-krb4/Makefile | 9 | ||||
-rw-r--r-- | security/kth-krb4/pkg/MESSAGE | 7 |
2 files changed, 6 insertions, 10 deletions
diff --git a/security/kth-krb4/Makefile b/security/kth-krb4/Makefile index 8c4becb2844..e4a1ba94cbb 100644 --- a/security/kth-krb4/Makefile +++ b/security/kth-krb4/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2000/10/11 16:28:53 wennmach Exp $ +# $NetBSD: Makefile,v 1.7 2001/01/29 11:34:41 wiz Exp $ # DISTNAME= krb4-1.0.1 @@ -13,19 +13,12 @@ CRYPTO= yes GNU_CONFIGURE= yes #USE_GTEXINFO= yes #not currently needed -MESSAGE_FILE= ${WRKDIR}/MESSAGE - post-patch: @${SED} -e 's|@PREFIX@|${PREFIX}|g' \ <${WRKSRC}/lib/kafs/kafs.h \ >${WRKSRC}/lib/kafs/kafs.h.sed @${MV} ${WRKSRC}/lib/kafs/kafs.h.sed ${WRKSRC}/lib/kafs/kafs.h -pre-install: - @${SED} -e 's|@PREFIX@|${PREFIX}|g' \ - <${PKGDIR}/MESSAGE \ - >${MESSAGE_FILE} - post-install: @${MKDIR} ${PREFIX}/share/examples/kth-krb4 ${INSTALL_DATA} ${WRKSRC}/etc/krb.conf ${PREFIX}/share/examples/kth-krb4 diff --git a/security/kth-krb4/pkg/MESSAGE b/security/kth-krb4/pkg/MESSAGE index ee8e173e9c4..a291d383b71 100644 --- a/security/kth-krb4/pkg/MESSAGE +++ b/security/kth-krb4/pkg/MESSAGE @@ -1,13 +1,16 @@ =============================================================================== +$NetBSD: MESSAGE,v 1.3 2001/01/29 11:34:41 wiz Exp $ + Kth-krb4 now has been installed on your system. To complete the installation you'll have to configure Kerberos. More information on how to configure Kerberos is available via the "info" command. Sample configuration files are installed in -@PREFIX@/share/examples/kth-krb4. +${PREFIX}/share/examples/kth-krb4. At a minimum, to configure a Kerberos client, copy -@PREFIX@/share/examples/kth-krb4/{krb.conf,krb.realms} to /etc and +${PREFIX}/share/examples/kth-krb4/{krb.conf,krb.realms} to /etc and customize them. Also, apply the patches provided in services.diff to /etc/services. + =============================================================================== |