2019-12-29 19:27:05 +00:00
|
|
|
COMMENT = simple, modern and secure file encryption tool
|
|
|
|
|
|
2020-10-22 12:07:42 +00:00
|
|
|
MODGO_MODNAME = filippo.io/age
|
2026-01-08 18:37:00 +00:00
|
|
|
MODGO_VERSION = v1.3.1
|
2020-10-22 12:07:42 +00:00
|
|
|
|
|
|
|
|
DISTNAME = age-${MODGO_VERSION}
|
2019-12-29 19:27:05 +00:00
|
|
|
|
|
|
|
|
CATEGORIES = security
|
|
|
|
|
|
|
|
|
|
HOMEPAGE = https://age-encryption.org/
|
|
|
|
|
|
2022-10-06 16:47:23 +00:00
|
|
|
MAINTAINER = Volker Schlecht <openbsd-ports@schlecht.dev>
|
|
|
|
|
|
2019-12-29 19:27:05 +00:00
|
|
|
# BSD3
|
|
|
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
|
|
|
|
|
|
WANTLIB += c pthread
|
|
|
|
|
|
|
|
|
|
MODULES = lang/go
|
|
|
|
|
|
2025-06-24 18:38:23 +00:00
|
|
|
MODGO_LDFLAGS = -X main.Version=${MODGO_VERSION}
|
2021-03-10 23:31:00 +00:00
|
|
|
|
2021-08-10 02:47:36 +00:00
|
|
|
pre-install:
|
|
|
|
|
${INSTALL_MAN} ${WRKDIR}/${MODGO_MODNAME}/doc/*.1 \
|
2024-06-20 19:01:58 +00:00
|
|
|
${PREFIX}/man/man1
|
|
|
|
|
|
|
|
|
|
# c2sp.org/!c!c!t!v/age contains some read-only files and directories
|
|
|
|
|
post-test:
|
|
|
|
|
chmod -R u+w ${MODGO_WORKSPACE}
|
2021-08-10 02:47:36 +00:00
|
|
|
|
2021-08-14 07:01:22 +00:00
|
|
|
.include "modules.inc"
|
2021-01-16 17:37:04 +00:00
|
|
|
|
2019-12-29 19:27:05 +00:00
|
|
|
.include <bsd.port.mk>
|