Makefile 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # $OpenBSD: Makefile,v 1.18 2017/01/29 06:08:51 czarkoff Exp $
  2. COMMENT= enhanced, MIME capable Berkeley Mail
  3. DISTNAME= s-nail-14.8.16
  4. CATEGORIES= mail
  5. HOMEPAGE= https://www.sdaoden.eu/code.html\#s-mailx
  6. # BSD
  7. PERMIT_PACKAGE_CDROM= Yes
  8. WANTLIB += c crypto iconv idn ssl
  9. MASTER_SITES= https://www.sdaoden.eu/downloads/
  10. MAINTAINER= Dmitrij D. Czarkoff <czarkoff@openbsd.org>
  11. MAKE_FILE= makefile
  12. MAKE_FLAGS= CC="${CC}" \
  13. CFLAGS="${CFLAGS}" \
  14. C_INCLUDE_PATH="${LOCALBASE}/include" \
  15. LDFLAGS="${LDFLAGS}" \
  16. LD_LIBRARY_PATH="${LOCALBASE}/lib" \
  17. MANDIR="${PREFIX}/man" \
  18. SYSCONFDIR="${SYSCONFDIR}" \
  19. WANT_AUTOCC=0 \
  20. WANT_EDITLINE=0 \
  21. WANT_NCL=1 \
  22. WANT_DOTLOCK=0 \
  23. SID=
  24. .if !empty(DEBUG)
  25. MAKE_FLAGS+= WANT_DEBUG=1
  26. FAKE_FLAGS+= WANT_DEBUG=1
  27. .endif
  28. MAKE_ENV= VERBOSE=Yes
  29. LIB_DEPENDS= converters/libiconv \
  30. devel/libidn
  31. INSTALL_TARGET= packager-install
  32. post-install:
  33. ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/nail
  34. mv ${DESTDIR}${SYSCONFDIR}/nail.rc ${PREFIX}/share/examples/nail
  35. .include <bsd.port.mk>