Changeset View
Changeset View
Standalone View
Standalone View
head/Mk/Uses/webplugin.mk
| Show First 20 Lines • Show All 161 Lines • ▼ Show 20 Lines | |||||
| PLIST_SUB+= WEBPLUGIN_DIR="${WEBPLUGIN_DIR:S,^${PREFIX}/,,}" | PLIST_SUB+= WEBPLUGIN_DIR="${WEBPLUGIN_DIR:S,^${PREFIX}/,,}" | ||||
| .for d in ${_WEBPLUGIN_LINKFARMS} | .for d in ${_WEBPLUGIN_LINKFARMS} | ||||
| .for l in ${WEBPLUGIN_FILES} | .for l in ${WEBPLUGIN_FILES} | ||||
| PLIST_FILES+= ${d}/${l} | PLIST_FILES+= ${d}/${l} | ||||
| .endfor | .endfor | ||||
| .endfor | .endfor | ||||
| _USES_install+= 600:webplugin-post-install | |||||
| webplugin-post-install: | webplugin-post-install: | ||||
| .for d in ${_WEBPLUGIN_LINKFARMS} | .for d in ${_WEBPLUGIN_LINKFARMS} | ||||
| ${MKDIR} ${STAGEDIR}${d} | ${MKDIR} ${STAGEDIR}${d} | ||||
| .for l in ${WEBPLUGIN_FILES} | .for l in ${WEBPLUGIN_FILES} | ||||
| ${LN} -sf ${l:S,^,${WEBPLUGIN_DIR}/,} ${STAGEDIR}${d}/ | ${LN} -sf ${l:S,^,${WEBPLUGIN_DIR}/,} ${STAGEDIR}${d}/ | ||||
| .endfor | .endfor | ||||
| .endfor | .endfor | ||||
| .endif | .endif | ||||