freebsd-ports/www/webobjects/Makefile.plist

28 lines
1.2 KiB
Text
Raw Normal View History

PLIST_GEN=${SH} -c '((${ECHO_CMD} ${FIND} -d $$0 ! -type d $$2) | ${SH} | \
${SED} -e "s,^,$$1/, ; s,^${PREFIX}/,," >> ${TMPPLIST}) && \
((${ECHO_CMD} ${FIND} -d $$0 -type d -empty $$2) | ${SH} | \
${SED} -e "s,^,$$1/, ; s,^${PREFIX}/,@exec mkdir -p %D/," \
>> ${TMPPLIST}) && \
((${ECHO_CMD} ${FIND} -d $$0 -type d $$2) | ${SH} | \
${SED} -e "s,^,$$1/, ; s,^${PREFIX}/,@dirrm ," >> ${TMPPLIST})' --
PLIST_DIRRMTRY=${SH} -c '(BASE=`${ECHO_CMD} $$0 | ${SED} -e "s,^${PREFIX}/,,"` ; \
while [ $$\# -gt 0 ] ; do \
DIRNAME=$${1-.}; \
while [ "$$DIRNAME" != "." ]; do \
(${ECHO_CMD} "@unexec rmdir %D/$$BASE/$$DIRNAME 2>/dev/null || true" >> ${TMPPLIST}); \
DIRNAME=`dirname $$DIRNAME`; \
done; \
shift; \
done; \
${ECHO_CMD} "@unexec rmdir %D/$$BASE 2>/dev/null || true" >> ${TMPPLIST};)' --
PLIST_DIRRM=${SH} -c '(BASE=$$0; BASE=`${ECHO_CMD} $$BASE | ${SED} -e "s,^${PREFIX}/,,"` ; \
while [ $$\# -gt 0 ] ; do \
DIRNAME=$${1-.}; \
while [ "$$DIRNAME" != "." ]; do \
(${ECHO_CMD} "@dirrm $$BASE/$$DIRNAME" >> ${TMPPLIST}); \
DIRNAME=`dirname $$DIRNAME`; \
done; \
shift; \
done; \
(${ECHO_CMD} "@dirrm $$BASE" >> ${TMPPLIST});)' --