- Fix usage of @dirrmtry macro

PR:		ports/153854
Submitted by:	az
Approved by:	maintainer
This commit is contained in:
Andrej Zverev 2011-01-10 19:01:02 +00:00
parent 2337d24e9c
commit 56f938e7f1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=267612

View file

@ -109,8 +109,8 @@ pre-install:
${ECHO} .freeswitch-sounds >> ${PLIST}; \
${SED} -i "" -e "s:^:share/${BASE_PORTNAME}/sounds/:" ${PLIST}; \
${FIND} * -type d ! -empty | ${SORT} -r | ${SED} -e "s:^:@dirrm share/${BASE_PORTNAME}/sounds/:" | ${GREP} / >> ${PLIST}; \
${ECHO} "@dirrmtry share/${BASE_PORTNAME}/sounds 2> /dev/null || /usr/bin/true" >> ${PLIST}; \
${ECHO} "@dirrmtry share/${BASE_PORTNAME} 2> /dev/null || /usr/bin/true" >> ${PLIST};
${ECHO} "@dirrmtry share/${BASE_PORTNAME}/sounds" >> ${PLIST}; \
${ECHO} "@dirrmtry share/${BASE_PORTNAME}" >> ${PLIST};
${CHMOD} -R 0755 ${WRKDIR}/tmp/
do-install: