Skip to content

Instantly share code, notes, and snippets.

@dch
Created March 14, 2025 16:36
Show Gist options
  • Save dch/5124b388c92d86b2ca19808cd76bdd76 to your computer and use it in GitHub Desktop.
Save dch/5124b388c92d86b2ca19808cd76bdd76 to your computer and use it in GitHub Desktop.
surfer
PORTNAME= surfer
DISTVERSIONPREFIX= v
DISTVERSION= 0.3.0
CATEGORIES= cad
MAINTAINER= [email protected]
COMMENT= Extensible and snappy waveform viewer
WWW= https://surfer-project.org
LICENSE= EUPL12
LICENSE_FILE= ${WRKSRC}/LICENSE-EUPL-1.2.txt
USES= cargo ssl
USE_GITHUB= nodefault # Cannot use yes because USE_GITLAB=yes above
GH_TUPLE= jkarns275:f128:e60de395f0d6454c1dc546b87f06a6358425b6b6:f128 \
ics-jku:instruction-decoder:8894eaaf012df38a290f57c8867660eb65c114c3:instdec
USE_GITLAB= yes
GL_ACCOUNT= surfer-project
GL_TUPLE= TheZoq2:fzcmd:1ae2b2c2e50ce7b99809dc7e2dd64749a51fd4f2:fzcmd
PLIST_FILES= bin/surfer
_PROGRAMS= surfer
# Move vendored crates (git submodules) to the correct location
post-extract:
${RM} -r ${WRKSRC}/fzcmd
${MV} ${WRKSRC_fzcmd} \
${WRKSRC}/fzcmd
${RM} -r ${WRKSRC}/f128
${MV} ${WRKSRC_f128} \
${WRKSRC}/f128
${RM} -r ${WRKSRC}/instruction-decoder
${MV} ${WRKSRC_instdec} \
${WRKSRC}/instruction-decoder
do-install:
# workaround for error: found a virtual manifest at `xx` instead of a package manifest
.for p in ${_PROGRAMS}
${INSTALL_PROGRAM} ${WRKDIR}/target/release/${p} \
${STAGEDIR}${PREFIX}/bin
.endfor
.include <bsd.port.mk>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment