aboutsummaryrefslogtreecommitdiff
path: root/mail/smtprelay/Makefile
blob: 629a9a196877b057270cc027be29d7ca99d21fde (plain) (blame)
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
27
28
29
30
31
# $FreeBSD$

PORTNAME=	smtprelay
DISTVERSIONPREFIX=v
DISTVERSION=	1.5.0
CATEGORIES=	mail

MAINTAINER=	decke@FreeBSD.org
COMMENT=	Simple Go SMTP relay/proxy server

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		go:modules
USE_RC_SUBR=	smtprelay

USE_GITHUB=	yes
GH_ACCOUNT=	decke

GH_TUPLE=	chrj:smtpd:v0.2.0:chrj_smtpd/vendor/github.com/chrj/smtpd \
		golang:crypto:eec23a3978ad:golang_crypto/vendor/golang.org/x/crypto \
		vharitonsky:iniflags:a33cd0b5f3de:vharitonsky_iniflags/vendor/github.com/vharitonsky/iniflags

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>