Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. # $OpenBSD: Makefile,v 1.40 2016/09/13 16:12:14 naddy Exp $
  2. COMMENT= new MH mail handling program
  3. DISTNAME= nmh-1.6
  4. CATEGORIES= mail
  5. MASTER_SITES= ${MASTER_SITE_SAVANNAH:=nmh/}
  6. HOMEPAGE= http://www.nongnu.org/nmh/
  7. REVISION= 0
  8. # BSD-like
  9. PERMIT_PACKAGE_CDROM= Yes
  10. WANTLIB= c crypto edit iconv ssl termcap
  11. MAINTAINER= William Yodlowsky <william@openbsd.org>
  12. SYSCONFDIR= ${PREFIX}/lib/nmh
  13. CONFIGURE_STYLE= gnu
  14. CONFIGURE_ARGS= --libdir='$${exec_prefix}/libexec' \
  15. --with-locking=fcntl \
  16. --with-readline \
  17. --with-tls
  18. LIB_DEPENDS = converters/libiconv
  19. # needed for replyfilter
  20. RUN_DEPENDS= mail/p5-MIME-tools \
  21. textproc/par \
  22. www/w3m
  23. FLAVORS= sasl
  24. FLAVOR?=
  25. CONFIGURE_ENV= ac_cv_header_db_h=no \
  26. CPPFLAGS="-I${LOCALBASE}/include" \
  27. LDFLAGS="-L${LOCALBASE}/lib"
  28. USE_GROFF = Yes
  29. .if ${FLAVOR:Msasl}
  30. WANTLIB += sasl2
  31. LIB_DEPENDS+= security/cyrus-sasl2
  32. CONFIGURE_ARGS+= --with-cyrus-sasl
  33. .endif
  34. NO_TEST= Yes
  35. post-install:
  36. ${INSTALL_SCRIPT} ${PREFIX}/share/doc/nmh/contrib/replyfilter \
  37. ${PREFIX}/bin
  38. .include <bsd.port.mk>