Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jun 2021 12:24:46 GMT
From:      Renato Botelho <garga@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 3705eeafd2b6 - main - mail/dma: Pet portclippy and format with portfmt
Message-ID:  <202106301224.15UCOkOd084823@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by garga:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3705eeafd2b6a3fc443fc146fa8354f3d8b82321

commit 3705eeafd2b6a3fc443fc146fa8354f3d8b82321
Author:     Renato Botelho <garga@FreeBSD.org>
AuthorDate: 2021-06-30 12:23:55 +0000
Commit:     Renato Botelho <garga@FreeBSD.org>
CommitDate: 2021-06-30 12:24:10 +0000

    mail/dma: Pet portclippy and format with portfmt
---
 mail/dma/Makefile | 39 +++++++++++++++++++++------------------
 1 file changed, 21 insertions(+), 18 deletions(-)

diff --git a/mail/dma/Makefile b/mail/dma/Makefile
index 3f16970b5927..86f43819f8b9 100644
--- a/mail/dma/Makefile
+++ b/mail/dma/Makefile
@@ -1,8 +1,8 @@
 # Created by: Daniel Roethlisberger <daniel@roe.ch>
 
 PORTNAME=	dma
-DISTVERSION=	0.13.20210614
 DISTVERSIONPREFIX=	v
+DISTVERSION=	0.13.20210614
 PORTEPOCH=	1
 CATEGORIES=	mail
 
@@ -11,46 +11,49 @@ COMMENT=	DragonFly Mail Agent, a small MTA for local/outbound mail
 
 LICENSE=	BSD3CLAUSE
 
-USES=		uidfix ssl
+USES=		ssl uidfix
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	corecode
 GH_TAGNAME=	430f3b59074d6303ce3eb4d9fcf16dcf3538ba31
+USE_RC_SUBR=	dma_flushq
 
-BUILD_WRKSRC=	${WRKSRC}/bsd
-INSTALL_WRKSRC=	${WRKSRC}/bsd
-CFLAGS+=	-I${OPENSSLINC} \
-		-DCONF_PATH='\"${PREFIX}/etc/dma\"' \
-		-DDMA_ROOT_USER='\"mailnull\"' \
-		-DDMA_GROUP='\"mail\"'
-LDFLAGS+=	-L${OPENSSLLIB}
+MAKE_ENV=	__MAKE_CONF=/dev/null \
+		MANDIR=${PREFIX}/share/man/man \
+		MK_WERROR=no \
+		SRCCONF=/dev/null
 
-MAKE_ENV=	__MAKE_CONF=/dev/null SRCCONF=/dev/null MK_WERROR=no \
-		MANDIR=${PREFIX}/share/man/man
+CFLAGS+=	-DCONF_PATH='\"${PREFIX}/etc/dma\"' -DDMA_GROUP='\"mail\"' \
+		-DDMA_ROOT_USER='\"mailnull\"' -I${OPENSSLINC}
+LDFLAGS+=	-L${OPENSSLLIB}
 
-USE_RC_SUBR=	dma_flushq
+PORTSCOUT=	limit:^[0-9\.]*$$
 SUB_FILES=	pkg-message
 
-# Allow subports to extend.
-CONFFILES+=	dma.conf auth.conf
+BUILD_WRKSRC=	${WRKSRC}/bsd
+INSTALL_WRKSRC=	${WRKSRC}/bsd
 
 # 11.x has dma imported into base and /var/spool/dma added to mtree
 PLIST_SUB+=	VARDIR="@comment "
 
-PORTSCOUT=	limit:^[0-9\.]*$$
+# Allow subports to extend.
+CONFFILES+=	auth.conf dma.conf
 
 post-patch:
 	@${REINPLACE_CMD} -e 's,/etc/dma,${PREFIX}/etc/dma,g' \
 		${WRKSRC}/dma.8
 	@${REINPLACE_CMD} -e 's, /etc/dma, ${PREFIX}/etc/dma,g' \
 		${WRKSRC}/dma.conf
-	@${REINPLACE_CMD} -e '/^MK_MAN/d' -e 's/^NOMAN.*/MAN=/' \
+	@${REINPLACE_CMD} -e '/^MK_MAN/d' \
+		-e 's/^NOMAN.*/MAN=/' \
 		${WRKSRC}/bsd/dma-mbox-create/Makefile
 
 post-install:
 	${MKDIR} ${STAGEDIR}${ETCDIR}
 	${MKDIR} ${STAGEDIR}/var/spool/dma
-	${INSTALL_DATA} ${WRKSRC}/dma.conf ${STAGEDIR}${ETCDIR}/dma.conf.sample
-	${INSTALL_DATA} ${WRKSRC}/auth.conf ${STAGEDIR}${ETCDIR}/auth.conf.sample
+	${INSTALL_DATA} ${WRKSRC}/dma.conf \
+		${STAGEDIR}${ETCDIR}/dma.conf.sample
+	${INSTALL_DATA} ${WRKSRC}/auth.conf \
+		${STAGEDIR}${ETCDIR}/auth.conf.sample
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106301224.15UCOkOd084823>