Files
ports/www/code-server/Makefile.install
T
Jochen Neumeister a73cae2fd8 www/code-server: Add new port
code-server enables running Visual Studio Code on a remote system and
accessing it through a web browser. It provides a familiar development
environment without requiring a local VS Code installation.

WWW: https://github.com/coder/code-server

Sponsored by:	Netzkommune GmbH
2026-06-21 20:07:06 +02:00

18 lines
702 B
Makefile

do-install:
${MKDIR} ${STAGEDIR}${DATADIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} "out node_modules package.json src" \
${STAGEDIR}${DATADIR}
${MKDIR} ${STAGEDIR}${DATADIR}/lib/vscode
cd ${WRKSRC}/lib/vscode-reh-web-linux-x64 && ${COPYTREE_SHARE} "." \
${STAGEDIR}${DATADIR}/lib/vscode
${INSTALL_SCRIPT} ${WRKDIR}/code-server-wrapper \
${STAGEDIR}${PREFIX}/bin/code-server
${CHMOD} 755 ${STAGEDIR}${DATADIR}/lib/vscode/bin/code-server-oss
${CHMOD} 755 ${STAGEDIR}${DATADIR}/lib/vscode/bin/helpers/*.sh
${CHMOD} 755 ${STAGEDIR}${DATADIR}/lib/vscode/bin/remote-cli/code-server
do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${FILESDIR}/README.md \
${STAGEDIR}${DOCSDIR}