diff options
author | gshapiro <gshapiro@FreeBSD.org> | 2000-10-10 18:08:19 +0000 |
---|---|---|
committer | gshapiro <gshapiro@FreeBSD.org> | 2000-10-10 18:08:19 +0000 |
commit | e4192d4e06698c8478f985c14ca1fc6180fec80e (patch) | |
tree | b0846685c0846d636d4790752d31d3e0ee4950c5 /share/sendmail | |
parent | dbad9285cc5845abee9e7192cf083bda232e8a91 (diff) | |
download | FreeBSD-src-e4192d4e06698c8478f985c14ca1fc6180fec80e.zip FreeBSD-src-e4192d4e06698c8478f985c14ca1fc6180fec80e.tar.gz |
Install the sendmail cf building tools (contrib/sendmail/cf) in
/usr/share/sendmail/cf.
PR: 19790
Diffstat (limited to 'share/sendmail')
-rw-r--r-- | share/sendmail/Makefile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/share/sendmail/Makefile b/share/sendmail/Makefile new file mode 100644 index 0000000..e7a5288 --- /dev/null +++ b/share/sendmail/Makefile @@ -0,0 +1,33 @@ +# $FreeBSD$ +# +# Doing a make install builds /usr/share/sendmail/ + +SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail +CFDIR= cf +CFDIRS!= (cd ${SENDMAIL_DIR}; find -L ${CFDIR} \( -name CVS -prune \) -o -type d -print) +CFFILES!= (cd ${SENDMAIL_DIR}; find -L ${CFDIR} \( -name CVS -prune \) -o -type f -print) + +DDIR= ${DESTDIR}/usr/share/sendmail + +NOOBJ= noobj + +# Define SHARED to indicate whether you want symbolic links to the system +# source (``symlinks''), or a separate copy (``copies'') +SHARED?= copies + +all clean cleandir depend lint tags: + +beforeinstall: ${SHARED} + +copies:: +.for dir in ${CFDIRS} + ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 755 -d ${SENDMAIL_DIR}/${dir} ${DDIR}/${dir} +.endfor +.for file in ${CFFILES} + ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${SENDMAIL_DIR}/${file} ${DDIR}/${file} +.endfor + +symlinks:: + rm -rf ${DDIR}/${CFDIR}; ln -s ${SENDMAIL_DIR}/${CFDIR} ${DDIR}/${CFDIR} + +.include <bsd.prog.mk> |