Custom FreeBSD Ports Overlay
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile 939B

1234567891011121314151617181920212223242526272829303132333435
  1. # $FreeBSD$
  2. PORTNAME= smtprelay
  3. DISTVERSIONPREFIX=v
  4. DISTVERSION= 1.2.0
  5. CATEGORIES= mail
  6. MASTER_SITES= https://code.bluelife.at/decke/smtprelay/archive/ \
  7. LOCAL/decke/smtprelay/
  8. DISTFILES= ${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}${EXTRACT_SUFX}
  9. DIST_SUBDIR= ${PORTNAME}
  10. MAINTAINER= decke@FreeBSD.org
  11. COMMENT= Simple Go SMTP relay/proxy server
  12. LICENSE= MIT
  13. LICENSE_FILE= ${WRKSRC}/LICENSE
  14. USES= go
  15. USE_RC_SUBR= smtprelay
  16. USE_GITHUB= nodefault
  17. GH_TUPLE= chrj:smtpd:v0.1.2:smtpd/vendor/github.com/chrj/smtpd \
  18. vharitonsky:iniflags:a33cd0b5f3de:iniflags/vendor/github.com/vharitonsky/iniflags \
  19. golang:crypto:505ab145d0a9:golang/vendor/golang.org/x/crypto
  20. MAKE_ENV+= GOFLAGS=-mod=vendor
  21. PLIST_FILES= bin/${PORTNAME} \
  22. "@sample ${ETCDIR}/smtprelay.ini.sample"
  23. post-install:
  24. ${MKDIR} ${STAGEDIR}${ETCDIR}
  25. ${INSTALL_DATA} ${WRKSRC}/smtprelay.ini ${STAGEDIR}${ETCDIR}/smtprelay.ini.sample
  26. .include <bsd.port.mk>