svn commit: r508974 - head/www/madsonic

Rene Ladan rene at FreeBSD.org
Wed Aug 14 21:20:07 UTC 2019


Author: rene
Date: Wed Aug 14 21:20:06 2019
New Revision: 508974
URL: https://svnweb.freebsd.org/changeset/ports/508974

Log:
  www/madsonic: convert pkg-message to UCL

Modified:
  head/www/madsonic/Makefile

Modified: head/www/madsonic/Makefile
==============================================================================
--- head/www/madsonic/Makefile	Wed Aug 14 21:17:31 2019	(r508973)
+++ head/www/madsonic/Makefile	Wed Aug 14 21:20:06 2019	(r508974)
@@ -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}


More information about the svn-ports-all mailing list