summaryrefslogtreecommitdiff
path: root/sysutils/freebsd-rustdate/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/freebsd-rustdate/Makefile')
-rw-r--r--sysutils/freebsd-rustdate/Makefile16
1 files changed, 13 insertions, 3 deletions
diff --git a/sysutils/freebsd-rustdate/Makefile b/sysutils/freebsd-rustdate/Makefile
index ed15537cb351..391fe581c018 100644
--- a/sysutils/freebsd-rustdate/Makefile
+++ b/sysutils/freebsd-rustdate/Makefile
@@ -1,6 +1,6 @@
PORTNAME= freebsd-rustdate
-DISTVERSION= 1.2.1
-PORTREVISION= 2
+DISTVERSION= 1.3.1
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= https://rustdate.over-yonder.net/dl/ \
https://distfiles.over-yonder.net/freebsd-rustdate/
@@ -14,13 +14,23 @@ WWW= https://rustdate.over-yonder.net/
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= cargo ssl tar:xz
+USES= cargo tar:xz
PLIST_FILES= bin/freebsd-rustdate \
etc/bash_completion.d/freebsd-rustdate.bash \
share/fish/completions/freebsd-rustdate.fish \
share/zsh/site-functions/_freebsd-rustdate
+OPTIONS_DEFINE= BUNDLED_OPENSSL
+OPTIONS_DEFAULT= BUNDLED_OPENSSL
+
+BUNDLED_OPENSSL_DESC= Build with bundled OpenSSL
+
+BUNDLED_OPENSSL_USES= gmake perl5
+BUNDLED_OPENSSL_USES_OFF= ssl
+BUNDLED_OPENSSL_USE= PERL5=build
+BUNDLED_OPENSSL_VARS_OFF= CARGO_FEATURES+=--no-default-features
+
post-install:
@${MKDIR} \
${STAGEDIR}${PREFIX}/etc/bash_completion.d \