Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # $OpenBSD: Makefile,v 1.44 2017/03/26 13:34:06 rpe Exp $
  2. COMMENT = SMTP plugin for MUAs
  3. DISTNAME = msmtp-1.6.6
  4. CATEGORIES = mail
  5. HOMEPAGE = http://msmtp.sourceforge.net/
  6. # GPLv3
  7. PERMIT_PACKAGE_CDROM = Yes
  8. WANTLIB = c crypto ssl idn
  9. MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=msmtp/}
  10. EXTRACT_SUFX = .tar.xz
  11. LIB_DEPENDS = devel/libidn
  12. MODULES = devel/gettext
  13. SEPARATE_BUILD = Yes
  14. CONFIGURE_STYLE = gnu
  15. CONFIGURE_ARGS = --with-libgsasl=no \
  16. --with-libidn=yes \
  17. --with-tls=openssl \
  18. --without-libsecret
  19. post-install:
  20. ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/msmtp
  21. ${INSTALL_DATA_DIR} ${PREFIX}/share/msmtp/msmtpqueue
  22. ${INSTALL_DATA} ${WRKSRC}/doc/*.example ${PREFIX}/share/examples/msmtp
  23. ${INSTALL_DATA} ${WRKSRC}/scripts/msmtpqueue/{README,ChangeLog} \
  24. ${PREFIX}/share/msmtp/msmtpqueue
  25. ${INSTALL_DATA} ${WRKSRC}/scripts/msmtpq/README.msmtpq \
  26. ${PREFIX}/share/msmtp
  27. ${INSTALL_SCRIPT} ${WRKSRC}/scripts/set_sendmail/set_sendmail.sh \
  28. ${PREFIX}/share/examples/msmtp
  29. ${INSTALL_SCRIPT} ${WRKSRC}/scripts/msmtpqueue/*.sh \
  30. ${PREFIX}/share/examples/msmtp
  31. ${INSTALL_SCRIPT} ${WRKSRC}/scripts/msmtpq/{msmtpq,msmtp-queue} \
  32. ${PREFIX}/share/examples/msmtp
  33. .include <bsd.port.mk>