131923af7SGregory Neil Shapiro# $FreeBSD$ 231923af7SGregory Neil Shapiro# 331923af7SGregory Neil Shapiro# Doing a make install builds /usr/share/sendmail/ 431923af7SGregory Neil Shapiro 5d1ba25f4SGregory Neil ShapiroMAINTAINER= gshapiro@FreeBSD.org 6d1ba25f4SGregory Neil Shapiro 731923af7SGregory Neil ShapiroSENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail 831923af7SGregory Neil ShapiroCFDIR= cf 931923af7SGregory Neil ShapiroCFDIRS!= (cd ${SENDMAIL_DIR}; find -L ${CFDIR} \( -name CVS -prune \) -o -type d -print) 1031923af7SGregory Neil ShapiroCFFILES!= (cd ${SENDMAIL_DIR}; find -L ${CFDIR} \( -name CVS -prune \) -o -type f -print) 1131923af7SGregory Neil Shapiro 1231923af7SGregory Neil ShapiroDDIR= ${DESTDIR}/usr/share/sendmail 1331923af7SGregory Neil Shapiro 1431923af7SGregory Neil ShapiroNOOBJ= noobj 1531923af7SGregory Neil Shapiro 1631923af7SGregory Neil Shapiro# Define SHARED to indicate whether you want symbolic links to the system 1731923af7SGregory Neil Shapiro# source (``symlinks''), or a separate copy (``copies'') 1831923af7SGregory Neil ShapiroSHARED?= copies 1931923af7SGregory Neil Shapiro 2031923af7SGregory Neil Shapiroall clean cleandir depend lint tags: 2131923af7SGregory Neil Shapiro 2231923af7SGregory Neil Shapirobeforeinstall: ${SHARED} 2331923af7SGregory Neil Shapiro 2431923af7SGregory Neil Shapirocopies:: 2531923af7SGregory Neil Shapiro.for dir in ${CFDIRS} 2699e80051SGregory Neil Shapiro ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 755 -d ${DDIR}/${dir} 2731923af7SGregory Neil Shapiro.endfor 2831923af7SGregory Neil Shapiro.for file in ${CFFILES} 2931923af7SGregory Neil Shapiro ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${SENDMAIL_DIR}/${file} ${DDIR}/${file} 3031923af7SGregory Neil Shapiro.endfor 3131923af7SGregory Neil Shapiro 3231923af7SGregory Neil Shapirosymlinks:: 3331923af7SGregory Neil Shapiro rm -rf ${DDIR}/${CFDIR}; ln -s ${SENDMAIL_DIR}/${CFDIR} ${DDIR}/${CFDIR} 3431923af7SGregory Neil Shapiro 3531923af7SGregory Neil Shapiro.include <bsd.prog.mk> 36