summaryrefslogtreecommitdiff
path: root/mail/smtprelay/Makefile
blob: f1846cbf582a291a44aef8ba85a9a47bf8bdbdbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
PORTNAME=	smtprelay
DISTVERSIONPREFIX=v
DISTVERSION=	1.10.0
PORTREVISION=	7
CATEGORIES=	mail

MAINTAINER=	decke@FreeBSD.org
COMMENT=	Simple Go SMTP relay/proxy server
WWW=		https://github.com/decke/smtprelay

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		go:modules
GO_MODULE=	github.com/decke/smtprelay

USE_RC_SUBR=	smtprelay

PLIST_FILES=	bin/${PORTNAME} \
		"@sample ${ETCDIR}/smtprelay.ini.sample"

post-install:
		${MKDIR} ${STAGEDIR}${ETCDIR}
		${INSTALL_DATA} ${WRKSRC}/smtprelay.ini ${STAGEDIR}${ETCDIR}/smtprelay.ini.sample

.include <bsd.port.mk>