diff --git a/mail/mailpit/Makefile b/mail/mailpit/Makefile index 83988225f136..1578cacebe09 100644 --- a/mail/mailpit/Makefile +++ b/mail/mailpit/Makefile @@ -1,96 +1,96 @@ PORTNAME= mailpit DISTVERSIONPREFIX= v DISTVERSION= 1.5.5 CATEGORIES= mail devel MASTER_SITES= https://www.madpilot.net/mailpit/:npmcache \ - LOCAL/madpilot/mailpit + LOCAL/madpilot/mailpit:npmcache DISTFILES= ${PORTNAME}-npm-cache-${DISTVERSION}${EXTRACT_SUFX}:npmcache MAINTAINER= madpilot@FreeBSD.org COMMENT= Mailpit development mail server WWW= https://github.com/axllent/mailpit LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS+= npm>0:www/npm USES= go:modules tar:zstd USE_RC_SUBR= mailpit MAKE_ENV= npm_config_offline=true PLIST_FILES= bin/${PORTNAME} SUB_FILES= pkg-message USE_GITHUB= yes GH_ACCOUNT= axllent GH_TUPLE= \ DATA-DOG:go-sqlmock:v1.5.0:data_dog_go_sqlmock/vendor/github.com/DATA-DOG/go-sqlmock \ GehirnInc:crypt:8cc1b52080c5:gehirninc_crypt/vendor/github.com/GehirnInc/crypt \ GuiaBolso:darwin:fd6d2aa3d244:guiabolso_darwin/vendor/github.com/GuiaBolso/darwin \ axllent:semver:v0.0.1:axllent_semver/vendor/github.com/axllent/semver \ cention-sany:utf7:26cad61bd60a:cention_sany_utf7/vendor/github.com/cention-sany/utf7 \ cznic:ql:v1.2.0:cznic_ql/vendor/github.com/cznic/ql \ disintegration:imaging:v1.6.2:disintegration_imaging/vendor/github.com/disintegration/imaging \ dustin:go-humanize:v1.0.1:dustin_go_humanize/vendor/github.com/dustin/go-humanize \ go-check:check:41f04d3bba15:go_check_check/vendor/gopkg.in/check.v1 \ gogs:chardet:b7413eaefb8f:gogs_chardet/vendor/github.com/gogs/chardet \ golang:crypto:v0.7.0:golang_crypto/vendor/golang.org/x/crypto \ golang:image:v0.6.0:golang_image/vendor/golang.org/x/image \ golang:mod:v0.9.0:golang_mod/vendor/golang.org/x/mod \ golang:net:v0.8.0:golang_net/vendor/golang.org/x/net \ golang:sys:v0.6.0:golang_sys/vendor/golang.org/x/sys \ golang:text:v0.8.0:golang_text/vendor/golang.org/x/text \ golang:tools:v0.7.0:golang_tools/vendor/golang.org/x/tools \ google:uuid:v1.3.0:google_uuid/vendor/github.com/google/uuid \ gorilla:mux:v1.8.0:gorilla_mux/vendor/github.com/gorilla/mux \ gorilla:websocket:v1.5.0:gorilla_websocket/vendor/github.com/gorilla/websocket \ inconshreveable:mousetrap:v1.1.0:inconshreveable_mousetrap/vendor/github.com/inconshreveable/mousetrap \ jaytaylor:html2text:74c2419ad056:jaytaylor_html2text/vendor/github.com/jaytaylor/html2text \ jhillyerd:enmime:v0.11.1:jhillyerd_enmime/vendor/github.com/jhillyerd/enmime \ k3a:html2text:v1.1.0:k3a_html2text/vendor/github.com/k3a/html2text \ kballard:go-shellquote:95032a82bc51:kballard_go_shellquote/vendor/github.com/kballard/go-shellquote \ klauspost:compress:v1.16.3:klauspost_compress/vendor/github.com/klauspost/compress \ kr:pretty:v0.3.0:kr_pretty/vendor/github.com/kr/pretty \ leporo:sqlf:v1.3.0:leporo_sqlf/vendor/github.com/leporo/sqlf \ lukechampine:uint128:v1.3.0:lukechampine_uint128/vendor/lukechampine.com/uint128 \ mattn:go-isatty:v0.0.18:mattn_go_isatty/vendor/github.com/mattn/go-isatty \ mattn:go-runewidth:v0.0.14:mattn_go_runewidth/vendor/github.com/mattn/go-runewidth \ mattn:go-shellwords:v1.0.12:mattn_go_shellwords/vendor/github.com/mattn/go-shellwords \ mhale:smtpd:v0.8.0:mhale_smtpd/vendor/github.com/mhale/smtpd \ olekukonko:tablewriter:v0.0.5:olekukonko_tablewriter/vendor/github.com/olekukonko/tablewriter \ pkg:errors:v0.9.1:pkg_errors/vendor/github.com/pkg/errors \ remyoudompheng:bigfft:24d4a6f8daec:remyoudompheng_bigfft/vendor/github.com/remyoudompheng/bigfft \ rivo:uniseg:v0.4.4:rivo_uniseg/vendor/github.com/rivo/uniseg \ satori:go.uuid:v1.2.0:satori_go_uuid/vendor/github.com/satori/go.uuid \ sirupsen:logrus:v1.9.0:sirupsen_logrus/vendor/github.com/sirupsen/logrus \ spf13:cobra:v1.6.1:spf13_cobra/vendor/github.com/spf13/cobra \ spf13:pflag:v1.0.5:spf13_pflag/vendor/github.com/spf13/pflag \ ssor:bom:6386211fdfcf:ssor_bom/vendor/github.com/ssor/bom \ tg123:go-htpasswd:v1.2.1:tg123_go_htpasswd/vendor/github.com/tg123/go-htpasswd \ valyala:bytebufferpool:v1.0.0:valyala_bytebufferpool/vendor/github.com/valyala/bytebufferpool USE_GITLAB= nodefault GL_TUPLE= \ cznic:cc:03159e8e41eec8d08c1e502bfc46868b9a03aa57:cznic_cc/vendor/modernc.org/cc/v3 \ cznic:ccgo:0641811a3b4e1b829e42b48fa6cf751b3a681ed5:cznic_ccgo/vendor/modernc.org/ccgo/v3 \ cznic:libc:1e22c18cf2de8aa86d5b19b165f354f99c70479c:cznic_libc/vendor/modernc.org/libc \ cznic:mathutil:b13e5b5643328f15fd2fcedc85f647f0d8f9180f:cznic_mathutil/vendor/modernc.org/mathutil \ cznic:memory:93bf078bc8d6adb7f31db2b81355b62eb168b17f:cznic_memory/vendor/modernc.org/memory \ cznic:opt:6b647abadf922391a4527f3a4fa1817eff08b7cd:cznic_opt/vendor/modernc.org/opt \ cznic:sqlite:df33b8d15107f3cc777799c0fe105f74ef499e62:cznic_sqlite/vendor/modernc.org/sqlite \ cznic:strutil:bba0c72b66bb9ced2dfd2ee521b7f16b2cbb39fa:cznic_strutil/vendor/modernc.org/strutil \ cznic:token:24e30cd78ee0f2d5d4516917d9cc1101e3ccc1ab:cznic_token/vendor/modernc.org/token pre-build: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} npm ci cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} npm run build # (for maintainer) helper target to generate node_modules tarball make-npm-cache: extract @cd ${WRKDIR} && ${RM} -r .npm @cd ${WRKSRC} && ${SETENV} HOME=${WRKDIR} npm ci @cd ${WRKDIR} \ && ${TAR} -c --zstd -f ${PORTNAME}-npm-cache-${DISTVERSION}${EXTRACT_SUFX} .npm \ && ${ECHO} "Please upload the file ${WRKDIR}/${PORTNAME}-npm-cache-${DISTVERSION}${EXTRACT_SUFX}" .include