1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00

Don't generate now deprecated @dirrm commands

This commit is contained in:
Pawel Pekala 2016-01-02 18:29:37 +00:00
parent b7b8f64fbc
commit a5ede19226
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=405085

View File

@ -49,13 +49,8 @@ do-install:
post-install-script:
@${FIND} -ds ${ATS_LIBDIR}/contrib/${ATS_CTRB} -type f -print | \
${SED} -e 's|^${LOCALBASE}/||' >> ${TMPPLIST}
@${FIND} -ds ${ATS_LIBDIR}/contrib/${ATS_CTRB} -type d -print | \
${SED} -e 's|^${LOCALBASE}/|@dirrm |' >> ${TMPPLIST}
.if !defined(NOPORTEXAMPLES) && defined(ATS_CTRBEXAMPLE)
@${FIND} -ds ${ATS_CTRBEXAMPLEDIR} -type f -print | \
${SED} -E -e 's|^${PREFIX}/?||' >> ${TMPPLIST}
@${FIND} -ds ${ATS_CTRBEXAMPLEDIR} -type d -print | \
${SED} -E -e 's|^${PREFIX}/?|@dirrm |' >> ${TMPPLIST}
.endif
@${ECHO_CMD} '@unexec rmdir %D/${ATS_LIBDIR_REL}/contrib 2>/dev/null || true' >> ${TMPPLIST}
.endif