# ~jhs/public_html/src/bsd/jhs/bin/local/mail/Makefile by Julian H. Stacey
NO_OBJ=YES
FLAGS += -e
# -e Don't complain about files that are in the file hierarchy, but not
# in the specification.
FLAGS += -U
# -U Modify the owner, group and permissions of existing files to match
# the specification and create any missing directories or symbolic
# links. User, group and permissions must all be specified for miss-
# ing directories to be created. Corrected mismatches are not con-
# sidered errors.
FLAGS += -L
# Follow all symbolic links in the file hierarchy.
DESTDIR ?= /
beforeinstall: mtree bin_daemon bin_bin
mtree: # cd ~jhs/public_html/src/bsd/jhs/bin/local/mail ; xs make mtree
-cd ${DESTDIR}/usr/ftp && mtree ${FLAGS} -f ${.CURDIR}/ctms.mtree
bin_daemon:
${INSTALL} -c -o daemon -g daemon -m 6755 \
ctm-freebsd-cvs-incoming \
ctm-freebsd-ports-cur-incoming \
ctm-freebsd-src-cur-incoming \
ctm-freebsd-src-4-incoming \
ctm-freebsd-src-5-incoming \
ctm-freebsd-src-6-incoming \
ctm-freebsd-src-7-incoming \
ctm-freebsd-src-8-incoming \
${DESTDIR}${BINDIR}
@# ${BINOWN}=root ${BINGRP}=wheel
bin_bin:
${INSTALL} -c -o bin -g bin -m 755 \
null procmail.sh \
${DESTDIR}${BINDIR}
# No longer installed: archive-bim archive-incoming
.include