diff options
author | Renato Botelho <garga@FreeBSD.org> | 2021-06-30 12:23:55 +0000 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2021-06-30 12:24:10 +0000 |
commit | 3705eeafd2b6a3fc443fc146fa8354f3d8b82321 (patch) | |
tree | 1bfe22f7d4b2b61869959fc4aa766f4062ecba9c | |
parent | a5446834816f9ba1733f022f62b5b8166012ae24 (diff) | |
download | ports-3705eeafd2b6a3fc443fc146fa8354f3d8b82321.tar.gz ports-3705eeafd2b6a3fc443fc146fa8354f3d8b82321.zip |
mail/dma: Pet portclippy and format with portfmt
-rw-r--r-- | mail/dma/Makefile | 39 |
1 files 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> |