summaryrefslogtreecommitdiff
path: root/security/kth-krb4/Makefile
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-01-29 11:34:21 +0000
committerwiz <wiz@pkgsrc.org>2001-01-29 11:34:21 +0000
commitb979f7222ad9bade13f010cd27e5bc6afab1681c (patch)
tree86f14acd24842161759a420487862022044c2b4b /security/kth-krb4/Makefile
parent6a13219ca89e5dae86f27159ff86006058c06859 (diff)
downloadpkgsrc-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/Makefile')
-rw-r--r--security/kth-krb4/Makefile9
1 files changed, 1 insertions, 8 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