1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

www/madsonic: convert pkg-message to UCL

This commit is contained in:
Rene Ladan 2019-08-14 21:20:06 +00:00
parent 124b3056ac
commit 586706be5a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=508974

View File

@ -117,13 +117,15 @@ pre-install:
@cd ${WRKSRC}; ${FIND} . -type d | cut -c2- \
| ${SED} 's|^|@dir ${WEBAPPDIR:S,${PREFIX}/,,}/${PORTNAME}|' \
| ${SORT} -r >> ${PLIST}
@${RM} ${PKGMESSAGE}
@${CAT} ${PKGDIR}/pkg-message-spacer >> ${PKGMESSAGE}
@${ECHO_CMD} "[" > ${PKGMESSAGE}
@${ECHO_CMD} "{ type: install, message: <<EOM" >> ${PKGMESSAGE}
@${CAT} ${PKGDIR}/${APPPKGMESSAGE} >> ${PKGMESSAGE}
@${CAT} ${WRKDIR}/message-common >> ${PKGMESSAGE}
@${CAT} ${PKGDIR}/pkg-message-spacer >> ${PKGMESSAGE}
@${CAT} ${WRKDIR}/message-transcoding >> ${PKGMESSAGE}
@${CAT} ${PKGDIR}/pkg-message-spacer >> ${PKGMESSAGE}
@${ECHO_CMD} "EOM" >> ${PKGMESSAGE}
@${ECHO_CMD} "}" >> ${PKGMESSAGE}
@${ECHO_CMD} "]" >> ${PKGMESSAGE}
do-install:
cd ${WRKDIR} && ${COPYTREE_SHARE} ${PORTNAME} ${STAGEDIR}${WEBAPPDIR}