summaryrefslogtreecommitdiffstats
path: root/kerberos5
diff options
context:
space:
mode:
authorassar <assar@FreeBSD.org>2001-08-27 13:25:43 +0000
committerassar <assar@FreeBSD.org>2001-08-27 13:25:43 +0000
commitf883e3ecc86340d66638cde33402f077098e7404 (patch)
treebf0ea6345c710cceec614811685fcca5f5fb0293 /kerberos5
parent5faabe6e0bb62558eb77df9d542accc193eacd3b (diff)
downloadFreeBSD-src-f883e3ecc86340d66638cde33402f077098e7404.zip
FreeBSD-src-f883e3ecc86340d66638cde33402f077098e7404.tar.gz
style fixes (by the way of bde)
Diffstat (limited to 'kerberos5')
-rw-r--r--kerberos5/usr.bin/krb5-config/Makefile19
1 files changed, 8 insertions, 11 deletions
diff --git a/kerberos5/usr.bin/krb5-config/Makefile b/kerberos5/usr.bin/krb5-config/Makefile
index 52a84d8..58528fb 100644
--- a/kerberos5/usr.bin/krb5-config/Makefile
+++ b/kerberos5/usr.bin/krb5-config/Makefile
@@ -1,30 +1,27 @@
# $FreeBSD$
-srcdir= ${KRB5DIR}/tools
-
-MAN1= krb5-config.1
+MAN= krb5-config.1
+CLEANFILES= krb5-config
all: krb5-config
-CLEANFILES+= krb5-config
-
beforeinstall:
- ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} krb5-config \
- ${DESTDIR}${BINDIR}/krb5-config
+ ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
+ krb5-config ${DESTDIR}${BINDIR}/krb5-config
krb5-config: krb5-config.in
sed -e "s,@PACKAGE\@,FreeBSD heimdal,g" \
-e "s,@VERSION\@,0.3f,g" \
-e "s,@prefix\@,/,g" \
-e "s,@exec_prefix\@,/,g" \
- -e "s,@libdir\@,$(LIBDIR),g" \
- -e "s,@includedir\@,$(INCDIR),g" \
+ -e "s,@libdir\@,${LIBDIR},g" \
+ -e "s,@includedir\@,${INCDIR},g" \
-e "s,@LIB_crypt\@,,g" \
-e "s,@LIB_dbopen\@,,g" \
-e "s,@LIB_des_appl\@,-lcrypto,g" \
-e "s,@LIBS\@,,g" \
- $(srcdir)/krb5-config.in > $@
- chmod +x $@
+ ${.ALLSRC} > ${.TARGET}
+ chmod +x ${.TARGET}
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud