diff --git a/databases/goose/Makefile b/databases/goose/Makefile index 2608f6e27d62..dc940e66eca1 100644 --- a/databases/goose/Makefile +++ b/databases/goose/Makefile @@ -1,21 +1,24 @@ PORTNAME= goose DISTVERSIONPREFIX= v DISTVERSION= 3.27.0 CATEGORIES= databases PKGNAMESUFFIX= -db-migration-tool MAINTAINER= yuri@FreeBSD.org COMMENT= Database migration tool WWW= https://pressly.github.io/goose/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +ONLY_FOR_ARCHS= aarch64 amd64 +ONLY_FOR_ARCHS_REASON= module modernc.org/sqlite only supported on aarch64 and amd64 + USES= go:modules GO_MODULE= github.com/pressly/goose/v3 GO_TARGET= ./cmd/${PORTNAME} PLIST_FILES= bin/${PORTNAME} .include diff --git a/devel/git-pkgs/Makefile b/devel/git-pkgs/Makefile index a100d6b73f8d..6dc8318b1aba 100644 --- a/devel/git-pkgs/Makefile +++ b/devel/git-pkgs/Makefile @@ -1,27 +1,30 @@ PORTNAME= git-pkgs PORTVERSION= 0.15.0 DISTVERSIONPREFIX= v CATEGORIES= devel MAINTAINER= sunpoet@FreeBSD.org COMMENT= Dependency tools for git WWW= https://git-pkgs.dev/ \ https://github.com/git-pkgs/git-pkgs LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +ONLY_FOR_ARCHS= aarch64 amd64 +ONLY_FOR_ARCHS_REASON= module modernc.org/sqlite only supported on aarch64 and amd64 + USES= go:modules GO_BUILDFLAGS= -ldflags="-s -w -X github.com/git-pkgs/git-pkgs/cmd.version=${PORTVERSION}" GO_MODULE= github.com/git-pkgs/git-pkgs OPTIONS_DEFINE= MANPAGES OPTIONS_DEFAULT=MANPAGES OPTIONS_SUB= yes post-install-MANPAGES-on: @cd ${WRKSRC} && ${GO_CMD} run scripts/generate-man/main.go ${INSTALL_MAN} ${WRKSRC}/man/*.1 ${STAGEDIR}${PREFIX}/share/man/man1/ .include diff --git a/devel/gogs/Makefile b/devel/gogs/Makefile index ca108e1b1221..bc68e08b39ed 100644 --- a/devel/gogs/Makefile +++ b/devel/gogs/Makefile @@ -1,77 +1,80 @@ PORTNAME= gogs DISTVERSIONPREFIX= v DISTVERSION= 0.14.2 CATEGORIES= devel www MAINTAINER= siva@FreeBSD.org COMMENT= Painless self-hosted Git service WWW= https://gogs.io/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +ONLY_FOR_ARCHS= aarch64 amd64 +ONLY_FOR_ARCHS_REASON= module modernc.org/sqlite only supported on aarch64 and amd64 + BUILD_DEPENDS= go-bindata:devel/go-bindata RUN_DEPENDS= git:devel/git \ bash:shells/bash USES= cpe go:modules GO_MODULE= github.com/gogs/gogs GO_TARGET= :${PREFIX}/libexec/${PORTNAME}/${PORTNAME} GO_BUILDFLAGS= -tags "sqlite pam cert" SUB_FILES= gogs \ gogs-service \ gogs-rm-data \ pkg-message SUB_LIST= PORTNAME=${PORTNAME} \ PORTNAME_FANCY=${PORTNAME_FANCY} \ GOGS_USER=${USERS} \ GOGS_DBDIR=${GOGS_DBDIR} \ GOGS_LOGDIR=${GOGS_LOGDIR} USERS= git GROUPS= git PLIST_SUB= GOGS_USER=${USERS} \ GOGS_GROUP=${GROUPS} \ GOGS_DBDIR=${GOGS_DBDIR} \ GOGS_LOGDIR=${GOGS_LOGDIR} PORTDOCS= README.md OPTIONS_DEFINE= DOCS GOGS_DBDIR?= /var/db/gogs GOGS_LOGDIR?= /var/log/gogs PORTNAME_FANCY= Gogs post-patch: @${REINPLACE_CMD} \ -e '/^# \!\!\!/d' \ -e 's|^RUN_USER = git$$|RUN_USER = ${USERS}|' \ -e 's|^RUN_MODE = dev$$|RUN_MODE = prod|' \ -e 's|^ROOT =$$|ROOT = ${GOGS_DBDIR}/repositories|' \ -e 's|^ROOT_PATH =$$|ROOT_PATH = ${GOGS_LOGDIR}|' \ -e 's|^TYPE = postgres$$|DB_TYPE = sqlite3|' \ ${WRKSRC}/conf/app.ini post-install: ${INSTALL_SCRIPT} ${WRKDIR}/gogs ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_SCRIPT} ${WRKDIR}/gogs-rm-data ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_SCRIPT} ${WRKDIR}/gogs-service ${STAGEDIR}${PREFIX}/etc/rc.d/gogs @(cd ${WRKSRC} && ${COPYTREE_SHARE} "conf public templates" ${STAGEDIR}${PREFIX}/libexec/${PORTNAME}) @${MKDIR} ${STAGEDIR}${ETCDIR}/conf @${MKDIR} ${STAGEDIR}${ETCDIR}/https ${INSTALL_DATA} ${WRKSRC}/conf/app.ini ${STAGEDIR}${ETCDIR}/conf/app.ini.sample @${RLN} ${STAGEDIR}${ETCDIR} ${STAGEDIR}${PREFIX}/libexec/${PORTNAME}/custom @${MKDIR} ${STAGEDIR}${GOGS_DBDIR}/data ${STAGEDIR}${GOGS_DBDIR}/repositories @${LN} -sf ${GOGS_DBDIR}/data ${STAGEDIR}/${PREFIX}/libexec/${PORTNAME}/data @${MKDIR} ${STAGEDIR}${GOGS_LOGDIR} @${LN} -sf ${GOGS_LOGDIR} ${STAGEDIR}/${PREFIX}/libexec/${PORTNAME}/log post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/www/surge/Makefile b/www/surge/Makefile index 30606d6ddf68..747c91560162 100644 --- a/www/surge/Makefile +++ b/www/surge/Makefile @@ -1,20 +1,23 @@ PORTNAME= surge DISTVERSIONPREFIX= v DISTVERSION= 0.3.1 PORTREVISION= 3 CATEGORIES= www MAINTAINER= olgeni@FreeBSD.org COMMENT= High-performance download manager with TUI and CLI WWW= https://github.com/surge-downloader/surge LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +ONLY_FOR_ARCHS= aarch64 amd64 +ONLY_FOR_ARCHS_REASON= module modernc.org/sqlite only supported on aarch64 and amd64 + USES= go:modules GO_MODULE= github.com/surge-downloader/surge PLIST_FILES= bin/${PORTNAME} .include diff --git a/x11/histui/Makefile b/x11/histui/Makefile index fd9c22d96150..7bd1b08b2e45 100644 --- a/x11/histui/Makefile +++ b/x11/histui/Makefile @@ -1,31 +1,34 @@ PORTNAME= histui DISTVERSIONPREFIX= v DISTVERSION= 0.0.9 PORTREVISION= 1 CATEGORIES= x11 MAINTAINER= nivit@FreeBSD.org COMMENT= Highly themeable GTK4 notification daemon for Wayland WWW= https://jmylchreest.github.io/histui +ONLY_FOR_ARCHS= aarch64 amd64 +ONLY_FOR_ARCHS_REASON= module modernc.org/sqlite only supported on aarch64 and amd64 + LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS+= libadwaita-1.so:x11-toolkits/libadwaita \ libasound.so:audio/alsa-lib \ libfontconfig.so:x11-fonts/fontconfig \ libgraphene-1.0.so:graphics/graphene \ libgtk4-layer-shell.so:x11-toolkits/gtk4-layer-shell \ libvulkan.so:graphics/vulkan-loader USES= gnome go:modules pkgconfig USE_GNOME= cairo gdkpixbuf gtk40 introspection GO_MODULE= github.com/jmylchreest/histui GO_TARGET= ./cmd/histui ./cmd/histuid CGO_LDFLAGS= -s -w PLIST_FILES= bin/histui \ bin/histuid .include