diff options
Diffstat (limited to 'audio/freeswitch-sounds')
-rw-r--r-- | audio/freeswitch-sounds/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/audio/freeswitch-sounds/Makefile b/audio/freeswitch-sounds/Makefile index 6f43d6c6231a..a3e3201598cf 100644 --- a/audio/freeswitch-sounds/Makefile +++ b/audio/freeswitch-sounds/Makefile @@ -16,13 +16,14 @@ DIST_SUBDIR= freeswitch-sounds MAINTAINER= r.neese@gmail.com COMMENT= FreeSwitch Sounds (All Bitrates) -RUN_DEPENDS= freeswitch:${PORTSDIR}/net/freeswitch-core - PLIST= ${WRKDIR}/plist NO_WRKSUBDIR= yes SHAREOWN= ${PORTNAME} SHAREGRP= ${SHAREOWN} +USERS= ${PORTNAME} +GROUPS= ${USERS} + OPTIONS= DOWNLOAD "Don't resample, download all." off \ 8K "Compile sounds for 8K" on \ 16K "Compile sounds for 16K" on \ @@ -176,12 +177,15 @@ do-build: pre-install: @${RM} ${PLIST} @cd ${WRKDIR}/tmp && ${FIND} * ! -type d | ${SORT} >> ${PLIST}; \ - ${ECHO} .${PORTNAME}${PKGNAMESUFFIX} >> ${PLIST}; \ + ${ECHO_CMD} .${PORTNAME}${PKGNAMESUFFIX} >> ${PLIST}; \ ${REINPLACE_CMD} -e "s:^:${DATADIR_REL}/sounds/:" ${PLIST}; \ ${FIND} * -type d ! -empty | ${SORT} -r | ${SED} -e "s:^:@dirrm ${DATADIR_REL}/sounds/:" | ${GREP} / >> ${PLIST} + @${ECHO_CMD} "@dirrmtry ${DATADIR_REL}/sounds" >> ${PLIST} + @${ECHO_CMD} "@dirrmtry ${DATADIR_REL}" >> ${PLIST} do-install: @${ECHO_MSG} "Installing files..." + ${MKDIR} ${DATADIR}/sounds ${TOUCH} ${DATADIR}/sounds/.freeswitch-sounds (cd ${WRKDIR}/tmp/ && ${COPYTREE_SHARE} \* ${DATADIR}/sounds/) |