diff --git a/devel/golangci-lint/Makefile b/devel/golangci-lint/Makefile index 23f72753479a..e2f66c06bb2b 100644 --- a/devel/golangci-lint/Makefile +++ b/devel/golangci-lint/Makefile @@ -1,58 +1,58 @@ PORTNAME= golangci-lint DISTVERSIONPREFIX= v DISTVERSION= 1.62.2 PORTREVISION= 3 CATEGORIES= devel MAINTAINER= lcook@FreeBSD.org COMMENT= Linters Runner for Go WWW= https://github.com/golangci/golangci-lint LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE USES= gmake go:1.22,modules _BUILD_VERSION= ${DISTVERSION} _BUILD_COMMIT= 89476e7 _BUILD_DATE= $$(date -u "+%Y-%m-%dT%H:%M:%SZ") GO_MODULE= github.com/${PORTNAME:S/-lint//}/${PORTNAME} GO_TARGET= ./cmd/${PORTNAME} GO_BUILDFLAGS= -ldflags "\ -s -w \ -X main.version=${_BUILD_VERSION} \ -X main.commit=${_BUILD_COMMIT} \ -X main.date=${_BUILD_DATE}" PLIST_FILES= bin/${PORTNAME} PORTDOCS= CHANGELOG.md README.md PORTEXAMPLES= .golangci.reference.yml OPTIONS_DEFINE= COMPLETIONS DOCS EXAMPLES OPTIONS_DEFAULT= COMPLETIONS COMPLETIONS_DESC= Build and install bash, fish and zsh shell completions COMPLETIONS_PLIST_FILES= share/bash-completion/completions/${PORTNAME} \ share/fish/vendor_completions.d/${PORTNAME}.fish \ share/zsh/site-functions/_${PORTNAME} BINARY_ALIAS= make=gmake post-install-COMPLETIONS-on: .for _shell in bash fish zsh - ${SET_ENV} ${MAKE_ENV} ${GO_ENV} ${GO_WRKDIR_BIN}/${PORTNAME} completion ${_shell} \ + ${SETENV} ${MAKE_ENV} ${GO_ENV} ${GO_WRKDIR_BIN}/${PORTNAME} completion ${_shell} \ >${STAGEDIR}${PREFIX}/${COMPLETIONS_PLIST_FILES:M*${_shell}*} .endfor post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} \ ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTEXAMPLES} \ ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/games/anki/Makefile b/games/anki/Makefile index d3ae520477cf..74ba65ebf447 100644 --- a/games/anki/Makefile +++ b/games/anki/Makefile @@ -1,176 +1,176 @@ PORTNAME= anki DISTVERSION= 25.02.4 # Don't forget to update ${_MY_BUILDHASH} if DISTVERSION changes CATEGORIES= games education python MASTER_SITES= LOCAL/kai/:yarncache DISTFILES= anki-yarn-cache-${DISTVERSION}${EXTRACT_SUFX}:yarncache MAINTAINER= kai@FreeBSD.org COMMENT= Flashcard trainer with spaced repetition WWW= https://apps.ankiweb.net/ LICENSE= AGPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE NOT_FOR_ARCHS= armv6 armv7 i386 mips powerpc NOT_FOR_ARCHS_REASON= the provided build system written in Rust (= runner) accepts only 64-bit systems. BUILD_DEPENDS= protoc:devel/protobuf \ rsync:net/rsync \ yarn:www/yarn \ ${PYTHON_PKGNAMEPREFIX}black>0:devel/py-black@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mypy-protobuf>=1.21:devel/py-mypy-protobuf@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} LIB_DEPENDS= libzstd.so:archivers/zstd RUN_DEPENDS= lame:audio/lame \ ${PYTHON_PKGNAMEPREFIX}pyaudio>0:audio/py-pyaudio@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}decorator>0:devel/py-decorator@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jsonschema>0:devel/py-jsonschema@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}send2trash>0:deskutils/py-send2trash@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}distro>0:sysutils/py-distro@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}orjson>0:devel/py-orjson@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}markdown>0:textproc/py-markdown@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}beautifulsoup>0:www/py-beautifulsoup@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}flask>0:www/py-flask@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Flask-Cors>0:www/py-flask-cors@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}protobuf>=4.21:devel/py-protobuf@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}waitress>=2.0.0:www/py-waitress@${PY_FLAVOR} # USES=ssl is required for the compilation of the Rust code USES= cargo desktop-file-utils ninja nodejs:build pyqt:6 python \ shebangfix ssl USE_GITHUB= yes GH_ACCOUNT= ankitects # Translation files GH_TUPLE= ankitects:anki-core-i18n:42ccadb:ftlrslib \ ankitects:anki-desktop-ftl:b3562ed:ftlextra USE_PYQT= pyqt6 sip:build webengine SHEBANG_FILES= yarn qt/tools/runanki.system.in CARGO_CARGOTOML= ${WRKSRC}/Cargo.toml CARGO_BUILD= no CARGO_INSTALL= no CARGO_TARGET_DIR= ${WRKSRC}/out/rust # Variables used by the "runner" build system MAKE_ENV+= NODE_BINARY=${LOCALBASE}/bin/node \ OFFLINE_BUILD=1 \ PROTOC_BINARY=${LOCALBASE}/bin/protoc \ YARN_BINARY=${LOCALBASE}/bin/yarn \ YARN_CACHE_FOLDER=${_MY_YARNCACHE} \ out=${WRKSRC}/out # If RELEASE is unset the "runner" build system omits the # "--release" flag for cargo(1). .if !defined(WITH_DEBUG) MAKE_ENV+= RELEASE=1 .endif OPTIONS_DEFAULT= MPV OPTIONS_GROUP= PLAYER OPTIONS_GROUP_PLAYER= MPLAYER MPV OPTIONS_SUB= yes MPV_DESC= mpv media player support MPLAYER_RUN_DEPENDS= mplayer:multimedia/mplayer MPV_RUN_DEPENDS= mpv:multimedia/mpv # Should contain the most recent commit that reflects ${DISTVERSION} and must # be exactly 8 digits otherwise the check for newer versions won't work as # expected. _MY_BUILDHASH= a5c33ad0 # Remove ${CARGO_BUILD_TARGET} from ${CARGO_ENV} to avoid problems with # hardcoded paths as the "runner" build system expects its components # in ${WRKSRC}/out/rust/debug _MY_CARGO_ENV= ${CARGO_ENV:C/CARGO_BUILD_TARGET=.+//} # Path of the cache that is used by www/yarn _MY_YARNCACHE= ${WRKDIR}/.yarn post-extract: # Some parts of the runner build system expects to be in a git repository @${TOUCH} ${WRKSRC}/.git # Prepare the virtual repositories for the translation files @${RM} -r ${WRKSRC}/ftl/core-repo ${WRKSRC}/ftl/qt-repo @${RLN} ${WRKSRC_ftlrslib} ${WRKSRC}/ftl/core-repo @${RLN} ${WRKSRC_ftlextra} ${WRKSRC}/ftl/qt-repo post-patch: @${REINPLACE_CMD} -e 's|\@PREFIX\@|${PREFIX}|' \ ${WRKSRC}/qt/tools/runanki.system.in pre-configure: # Create paths for the Python pseudo venv and link some binaries to it. ${MKDIR} ${WRKSRC}/out/pyenv/bin ${LN} -s ${PYTHON_CMD} ${WRKSRC}/out/pyenv/bin/python ${LN} -s ${LOCALBASE}/bin/protoc-gen-mypy ${WRKSRC}/out/pyenv/bin/protoc-gen-mypy # Overview of the build process # # 1. The "runner" build system is built explicitly with the "--release" flag # to avoid issues with hardcoded paths. Once completed the binaries are # placed into ${WRKSRC}/out/rust/release. # 2. As soon as step 1 is finished, the "runner" build system is executed, # which then processes the following steps: # * build remaining components of "runner" (= ninja_gen, configure, etc.) # * generate the ninja file and run ninja afterwards # * create the Python wheel files in ${WRKSRC}/out/wheels pre-build: ${ECHO_CMD} -e "${_MY_BUILDHASH}" >> ${WRKSRC}/out/buildhash ${ECHO_MSG} "===> Building runner build framework" - cd ${WRKSRC} && ${SET_ENV} ${MAKE_ENV} ${_MY_CARGO_ENV} \ + cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${_MY_CARGO_ENV} \ ${CARGO} build --package runner --release --verbose --verbose do-build: ${ECHO_MSG} "===> Executing runner build framework" cd ${WRKSRC} && ${SET_ENV} ${MAKE_ENV} ${_MY_CARGO_ENV} \ ${WRKSRC}/out/rust/release/runner build wheels post-build: ${MKDIR} ${WRKSRC}/out/dist cd ${WRKSRC}/out/wheels \ && ${UNZIP_NATIVE_CMD} -d ${WRKSRC}/out/dist -x *.orig anki*.whl \ && ${UNZIP_NATIVE_CMD} -d ${WRKSRC}/out/dist -x *.orig aqt*.whl # Update the timestamps otherwise the set dates of the wheels # (= 1980-01-01 00:00:00) are used ${FIND} ${WRKSRC}/out/dist -type f -exec ${TOUCH} {} + do-install: ${MKDIR} ${STAGEDIR}${DATADIR}/_aqt \ ${STAGEDIR}${DATADIR}/anki \ ${STAGEDIR}${DATADIR}/aqt \ ${STAGEDIR}${PREFIX}/share/pixmaps \ ${STAGEDIR}${PREFIX}/share/applications cd ${WRKSRC}/out/dist/ \ && ${COPYTREE_SHARE} _aqt ${STAGEDIR}${DATADIR} "! -name .gitignore" \ && ${COPYTREE_SHARE} anki ${STAGEDIR}${DATADIR} "! -name .gitignore" \ && ${COPYTREE_SHARE} aqt ${STAGEDIR}${DATADIR} "! -name .gitignore" cd ${WRKSRC}/qt/bundle/lin \ && ${INSTALL_DATA} anki.xpm anki.png ${STAGEDIR}${PREFIX}/share/pixmaps \ && ${INSTALL_DATA} anki.desktop ${STAGEDIR}${PREFIX}/share/applications \ && ${INSTALL_MAN} anki.1 ${STAGEDIR}${PREFIX}/share/man/man1 cd ${WRKSRC}/qt/tools \ && ${INSTALL_SCRIPT} runanki.system.in ${STAGEDIR}${PREFIX}/bin/anki # Autogenerate some parts of the plist file as several *.css and *.mjs files # have a computed filename. As it is user-specific it is impossible to know # their filename in advance. post-install: @${FIND} ${STAGEDIR}${DATADIR}/_aqt/data/web/sveltekit/_app/immutable/ -type f -name "*.css" -o -name "*.mjs" | \ ${SORT} | ${SED} -e 's|${STAGEDIR}||' \ >> ${TMPPLIST} # Helper target to make the generation of the yarn cache easier make-yarn-cache: patch @${RM} -r ${_MY_YARNCACHE} @cd ${WRKSRC} \ && ${LOCALBASE}/bin/yarn --cache-folder ${_MY_YARNCACHE} install --ignore-scripts @cd ${WRKDIR} \ && ${TAR} -czf ${PORTNAME}-yarn-cache-${DISTVERSION}${EXTRACT_SUFX} .yarn \ && ${ECHO_CMD} "Please upload the file ${WRKDIR}/${PORTNAME}-yarn-cache-${DISTVERSION}${EXTRACT_SUFX}" .include diff --git a/net-im/nextcloud-spreed-signaling/Makefile b/net-im/nextcloud-spreed-signaling/Makefile index 29fdaf9501d0..c839ab04fea0 100644 --- a/net-im/nextcloud-spreed-signaling/Makefile +++ b/net-im/nextcloud-spreed-signaling/Makefile @@ -1,128 +1,128 @@ PORTNAME= nextcloud-spreed-signaling DISTVERSIONPREFIX=v DISTVERSION=2.0.2 PORTREVISION= 1 CATEGORIES= net-im MAINTAINER= jsm@FreeBSD.org COMMENT= Signaling server used for Nextcloud Talk WWW= https://github.com/strukturag/nextcloud-spreed-signaling LICENSE= AGPLv3 BUILD_DEPENDS= protoc:devel/protobuf USES= gmake go:1.22 go:no_targets USERS= signaling GROUPS= signaling USE_RC_SUBR= ncs_signaling USE_GITHUB= yes USE_GITHUB= yes GH_ACCOUNT= strukturag GH_TUPLE= \ beorn7:perks:v1.0.1:beorn7_perks/vendor/src/github.com/beorn7/perks \ cenkalti:backoff:v4.2.1:cenkalti_backoff_v4/vendor/src/github.com/cenkalti/backoff/v4 \ cespare:xxhash:v2.3.0:cespare_xxhash_v2/vendor/src/github.com/cespare/xxhash/v2 \ coreos:go-semver:v0.3.0:coreos_go_semver/vendor/src/github.com/coreos/go-semver \ coreos:go-systemd:v22.3.2:coreos_go_systemd_v22/vendor/src/github.com/coreos/go-systemd/v22 \ davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/src/github.com/davecgh/go-spew \ dlintw:goconf:dcc070983490:dlintw_goconf/vendor/src/github.com/dlintw/goconf \ dustin:go-humanize:v1.0.0:dustin_go_humanize/vendor/src/github.com/dustin/go-humanize \ etcd-io:bbolt:v1.3.11:etcd_io_bbolt/vendor/src/go.etcd.io/bbolt \ etcd-io:etcd:v3.5.17:etcd_io_etcd_2/vendor/src/go.etcd.io/etcd \ fsnotify:fsnotify:v1.8.0:fsnotify_fsnotify/vendor/src/github.com/fsnotify/fsnotify \ go-logr:logr:v1.4.2:go_logr_logr/vendor/src/github.com/go-logr/logr \ go-logr:stdr:v1.2.2:go_logr_stdr/vendor/src/github.com/go-logr/stdr \ go-yaml:yaml:v2.4.0:go_yaml_yaml/vendor/src/gopkg.in/yaml.v2 \ go-yaml:yaml:v3.0.1:go_yaml_yaml_1/vendor/src/gopkg.in/yaml.v3 \ gogo:protobuf:v1.3.2:gogo_protobuf/vendor/src/github.com/gogo/protobuf \ golang-jwt:jwt:v4.5.1:golang_jwt_jwt_v4/vendor/src/github.com/golang-jwt/jwt/v4 \ golang-jwt:jwt:v5.2.1:golang_jwt_jwt_v5/vendor/src/github.com/golang-jwt/jwt/v5 \ golang:crypto:v0.31.0:golang_crypto/vendor/src/golang.org/x/crypto \ golang:net:v0.33.0:golang_net/vendor/src/golang.org/x/net \ golang:protobuf:v1.5.4:golang_protobuf/vendor/src/github.com/golang/protobuf \ golang:sys:v0.28.0:golang_sys/vendor/src/golang.org/x/sys \ golang:text:v0.21.0:golang_text/vendor/src/golang.org/x/text \ golang:time:v0.8.0:golang_time/vendor/src/golang.org/x/time \ google:btree:v1.0.1:google_btree/vendor/src/github.com/google/btree \ google:go-genproto:6ceb2ff114de:google_go_genproto/vendor/src/google.golang.org/genproto \ google:go-genproto:796eee8c2d53:google_go_genproto_1/vendor/src/google.golang.org/genproto/googleapis/api \ google:go-genproto:796eee8c2d53:google_go_genproto_2/vendor/src/google.golang.org/genproto/googleapis/rpc \ google:uuid:v1.6.0:google_uuid/vendor/src/github.com/google/uuid \ gorilla:mux:v1.8.1:gorilla_mux/vendor/src/github.com/gorilla/mux \ gorilla:securecookie:v1.1.2:gorilla_securecookie/vendor/src/github.com/gorilla/securecookie \ gorilla:websocket:v1.5.3:gorilla_websocket/vendor/src/github.com/gorilla/websocket \ grpc-ecosystem:go-grpc-middleware:v1.3.0:grpc_ecosystem_go_grpc_middleware/vendor/src/github.com/grpc-ecosystem/go-grpc-middleware \ grpc-ecosystem:go-grpc-prometheus:v1.2.0:grpc_ecosystem_go_grpc_prometheus/vendor/src/github.com/grpc-ecosystem/go-grpc-prometheus \ grpc-ecosystem:grpc-gateway:v1.16.0:grpc_ecosystem_grpc_gateway/vendor/src/github.com/grpc-ecosystem/grpc-gateway \ grpc-ecosystem:grpc-gateway:v2.16.0:grpc_ecosystem_grpc_gateway_v2/vendor/src/github.com/grpc-ecosystem/grpc-gateway/v2 \ grpc:grpc-go:v1.5.1:grpc_grpc_go_1/vendor/src/google.golang.org/grpc/cmd/protoc-gen-go-grpc \ grpc:grpc-go:v1.69.4:grpc_grpc_go/vendor/src/google.golang.org/grpc \ jonboulle:clockwork:v0.2.2:jonboulle_clockwork/vendor/src/github.com/jonboulle/clockwork \ josharian:intern:v1.0.0:josharian_intern/vendor/src/github.com/josharian/intern \ json-iterator:go:v1.1.12:json_iterator_go/vendor/src/github.com/json-iterator/go \ klauspost:compress:v1.17.11:klauspost_compress/vendor/src/github.com/klauspost/compress \ kubernetes-sigs:yaml:v1.2.0:kubernetes_sigs_yaml/vendor/src/sigs.k8s.io/yaml \ kylelemons:godebug:v1.1.0:kylelemons_godebug/vendor/src/github.com/kylelemons/godebug \ mailru:easyjson:v0.9.0:mailru_easyjson/vendor/src/github.com/mailru/easyjson \ marcw:cachecontrol:30341fe9a7d5:marcw_cachecontrol/vendor/src/github.com/marcw/cachecontrol \ minio:highwayhash:v1.0.3:minio_highwayhash/vendor/src/github.com/minio/highwayhash \ modern-go:concurrent:bacd9c7ef1dd:modern_go_concurrent/vendor/src/github.com/modern-go/concurrent \ modern-go:reflect2:v1.0.2:modern_go_reflect2/vendor/src/github.com/modern-go/reflect2 \ munnerz:goautoneg:a7dc8b61c822:munnerz_goautoneg/vendor/src/github.com/munnerz/goautoneg \ natefinch:lumberjack:v2.0.0:natefinch_lumberjack/vendor/src/gopkg.in/natefinch/lumberjack.v2 \ nats-io:jwt:v2.7.3:nats_io_jwt_v2/vendor/src/github.com/nats-io/jwt \ nats-io:nats-server:v2.10.24:nats_io_nats_server_v2/vendor/src/github.com/nats-io/nats-server/v2 \ nats-io:nats.go:v1.38.0:nats_io_nats_go/vendor/src/github.com/nats-io/nats.go \ nats-io:nkeys:v0.4.9:nats_io_nkeys/vendor/src/github.com/nats-io/nkeys \ nats-io:nuid:v1.0.1:nats_io_nuid/vendor/src/github.com/nats-io/nuid \ notedit:janus-go:10eb8b95d1a0:notedit_janus_go/vendor/src/github.com/notedit/janus-go \ open-telemetry:opentelemetry-go-contrib:v1.21.0:open_telemetry_opentelemetry_go_contrib/vendor/src/go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc \ open-telemetry:opentelemetry-go:v1.20.0:open_telemetry_opentelemetry_go_1/vendor/src/go.opentelemetry.io/otel/exporters/otlp/otlptrace \ open-telemetry:opentelemetry-go:v1.31.0:open_telemetry_opentelemetry_go/vendor/src/go.opentelemetry.io/otel \ open-telemetry:opentelemetry-proto-go:v1.0.0:open_telemetry_opentelemetry_proto_go/vendor/src/go.opentelemetry.io/proto/otlp \ oschwald:maxminddb-golang:v1.13.1:oschwald_maxminddb_golang/vendor/src/github.com/oschwald/maxminddb-golang \ pion:randutil:v0.1.0:pion_randutil/vendor/src/github.com/pion/randutil \ pion:sdp:v3.0.10:pion_sdp_v3/vendor/src/github.com/pion/sdp/v3 \ pmezard:go-difflib:v1.0.0:pmezard_go_difflib/vendor/src/github.com/pmezard/go-difflib \ prometheus:client_golang:v1.20.5:prometheus_client_golang/vendor/src/github.com/prometheus/client_golang \ prometheus:client_model:v0.6.1:prometheus_client_model/vendor/src/github.com/prometheus/client_model \ prometheus:common:v0.55.0:prometheus_common/vendor/src/github.com/prometheus/common \ prometheus:procfs:v0.15.1:prometheus_procfs/vendor/src/github.com/prometheus/procfs \ protocolbuffers:protobuf-go:v1.36.3:protocolbuffers_protobuf_go/vendor/src/google.golang.org/protobuf \ sirupsen:logrus:v1.9.3:sirupsen_logrus/vendor/src/github.com/sirupsen/logrus \ soheilhy:cmux:v0.1.5:soheilhy_cmux/vendor/src/github.com/soheilhy/cmux \ spf13:pflag:v1.0.5:spf13_pflag/vendor/src/github.com/spf13/pflag \ stretchr:testify:v1.10.0:stretchr_testify/vendor/src/github.com/stretchr/testify \ tmc:grpc-websocket-proxy:e5319fda7802:tmc_grpc_websocket_proxy/vendor/src/github.com/tmc/grpc-websocket-proxy \ uber-go:multierr:v1.10.0:uber_go_multierr/vendor/src/go.uber.org/multierr \ uber-go:zap:v1.27.0:uber_go_zap/vendor/src/go.uber.org/zap \ xiang90:probing:43a291ad63a2:xiang90_probing/vendor/src/github.com/xiang90/probing MAKE_ENV= ${GOENV}\ GO111MODULE=off \ GOPATH="${WRKSRC}/vendor" post-extract: ${MKDIR} ${WRKSRC}/vendor/src/go.etcd.io/etcd/client/pkg/v3 ${MKDIR} ${WRKSRC}/vendor/src/go.etcd.io/etcd/api/v3 ${FIND} ${WRKSRC}/vendor/src/go.etcd.io/etcd/client/pkg -type d -not -name v3 -exec ${SH} -c 'ln -s `realpath {}` ${WRKSRC}/vendor/src/go.etcd.io/etcd/client/pkg/v3/`basename {}`' \; ${FIND} ${WRKSRC}/vendor/src/go.etcd.io/etcd/api -type d -not -name v3 -exec ${SH} -c 'ln -s `realpath {}` ${WRKSRC}/vendor/src/go.etcd.io/etcd/api/v3/`basename {}`' \; ${CP} ${FILESDIR}/version.txt ${WRKSRC}/version.txt ${MKDIR} ${WRKDIR}/${PORTNAME}-${DISTVERSION}/vendor/src/github.com/strukturag ${LN} -s ${WRKDIR}/${PORTNAME}-${DISTVERSION}/ ${WRKDIR}/${PORTNAME}-${DISTVERSION}/vendor/src/github.com/strukturag/${PORTNAME} do-build: - cd ${WRKSRC} && ${SET_ENV} ${MAKE_ENV} ${GMAKE} + cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} post-patch: @${REINPLACE_CMD} 's|%%DISTVERSION%%|${PORTVERSION}|g' ${WRKSRC}/version.txt post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ncs-signaling ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ncs-proxy do-install: ${INSTALL} -d $(STAGEDIR)$(PREFIX)/etc/ncs/ ${INSTALL} -m 644 ${WRKSRC}/server.conf.in $(STAGEDIR)$(PREFIX)/etc/ncs/server.conf.sample ${INSTALL} -m 644 ${WRKSRC}/proxy.conf.in $(STAGEDIR)$(PREFIX)/etc/ncs/proxy.conf.sample ${INSTALL} -m 644 ${WRKSRC}/gnatsd.conf $(STAGEDIR)$(PREFIX)/etc/ncs/gnatsd.conf.sample ${INSTALL} -m 755 ${WRKSRC}/bin/signaling $(STAGEDIR)$(PREFIX)/bin/ncs-signaling ${INSTALL} -m 755 ${WRKSRC}/bin/proxy $(STAGEDIR)$(PREFIX)/bin/ncs-proxy .include