git: d396e8428a4a - main - net/openrsync: Improve port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 05 May 2025 11:44:59 UTC
The branch main has been updated by vvd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d396e8428a4aada5c29a2281dd47c5be60cdff8f
commit d396e8428a4aada5c29a2281dd47c5be60cdff8f
Author: Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2025-05-05 11:24:55 +0000
Commit: Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-05-05 11:44:30 +0000
net/openrsync: Improve port
- Fix warnings from portclippy.
- Adjust whitespaces: allign values in LICENSE* variables, remove/add
several empty lines.
- Remove GNU_CONFIGURE_MANPREFIX.
- Use "${DISTVERSION:S/./-/g}" in GH_TAGNAME instead of hardcoded
version "1-4-2".
- Use ${PORTNAME} instead of "opendmarc" in GH_TAGNAME and USE_RC_SUBR.
PR: 286588
Approved by: Dan Mahoney <freebsd@gushi.org> (maintainer)
---
mail/opendmarc/Makefile | 38 ++++++++++++++++++--------------------
1 file changed, 18 insertions(+), 20 deletions(-)
diff --git a/mail/opendmarc/Makefile b/mail/opendmarc/Makefile
index e3064382bd2e..ed7afab32169 100644
--- a/mail/opendmarc/Makefile
+++ b/mail/opendmarc/Makefile
@@ -1,5 +1,5 @@
PORTNAME= opendmarc
-PORTVERSION= 1.4.2
+DISTVERSION= 1.4.2
PORTREVISION= 4
CATEGORIES= mail security
MASTER_SITES= GH
@@ -8,8 +8,12 @@ MAINTAINER= freebsd@gushi.org
COMMENT= DMARC library and milter implementation
WWW= http://www.trusteddomain.org/opendmarc.html
-LICENSE= BSD3CLAUSE SENDMAIL
-LICENSE_COMB= multi
+LICENSE= BSD3CLAUSE SENDMAIL
+LICENSE_COMB= multi
+LICENSE_GROUPS_SENDMAIL= FSF OSI
+LICENSE_NAME_SENDMAIL= Sendmail Open Source License
+LICENSE_FILE_SENDMAIL= ${WRKSRC}/LICENSE.Sendmail
+LICENSE_PERMS_SENDMAIL= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
RUN_DEPENDS= p5-Switch>=0:lang/p5-Switch \
p5-DBI>=0:databases/p5-DBI \
@@ -18,21 +22,22 @@ RUN_DEPENDS= p5-Switch>=0:lang/p5-Switch \
public_suffix_list>=0:dns/public_suffix_list
USES= cpe libtool mysql perl5 shebangfix autoreconf
-LICENSE_FILE_SENDMAIL= ${WRKSRC}/LICENSE.Sendmail
-LICENSE_GROUPS_SENDMAIL= FSF OSI
-LICENSE_NAME_SENDMAIL= Sendmail Open Source License
-LICENSE_PERMS_SENDMAIL= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
-
CPE_VENDOR= trusteddomain
-USE_LDCONFIG= yes
-USE_RC_SUBR= opendmarc
-
USE_GITHUB= yes
GH_ACCOUNT= trusteddomainproject
-GH_TAGNAME= rel-opendmarc-1-4-2
GH_PROJECT= OpenDMARC
+GH_TAGNAME= rel-${PORTNAME}-${DISTVERSION:S/./-/g}
+USE_LDCONFIG= yes
+USE_RC_SUBR= ${PORTNAME}
+
+SHEBANG_FILES= reports/opendmarc-expire.in \
+ reports/opendmarc-import.in \
+ reports/opendmarc-params.in \
+ reports/opendmarc-reports.in
+
GNU_CONFIGURE= yes
-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
+
+PORTDOCS= *
OPTIONS_DEFINE= SPF DOCS
OPTIONS_DEFAULT= SPF
@@ -44,13 +49,6 @@ SPF_CONFIGURE_ON= --with-spf \
--with-spf2-include=${LOCALBASE}/include/spf2 \
--with-spf2-lib=${LOCALBASE}/lib
-SHEBANG_FILES= reports/opendmarc-expire.in \
- reports/opendmarc-import.in \
- reports/opendmarc-params.in \
- reports/opendmarc-reports.in
-
-PORTDOCS= *
-
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/mail/sendmail/bsd.milter.mk"