Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. # $OpenBSD: Makefile,v 1.42 2017/06/07 02:17:01 schwarze Exp $
  2. COMMENT= filtering local mail delivery agent
  3. DISTNAME= procmail-3.22
  4. CATEGORIES= mail
  5. REVISION= 7
  6. MASTER_SITES= ${HOMEPAGE} \
  7. http://mirror.switch.ch/ftp/mirror/procmail/ \
  8. http://ftp.kfki.hu/packages/mail/procmail/ \
  9. http://ftp.ucsb.edu/pub/mirrors/procmail/ \
  10. http://www.ring.gr.jp/archives/net/mail/procmail/ \
  11. ftp://ftp.informatik.rwth-aachen.de/pub/packages/procmail/ \
  12. ftp://ftp.fu-berlin.de/pub/unix/mail/procmail/
  13. HOMEPAGE= http://www.procmail.org/
  14. # GPLv2+
  15. PERMIT_PACKAGE_CDROM= Yes
  16. WANTLIB= c m
  17. FLAVORS= lmtp
  18. FLAVOR?=
  19. .if ${FLAVOR:Mlmtp}
  20. CFLAGS+= -DLMTP
  21. .endif
  22. RUN_DEPENDS= sysutils/lockfile
  23. MAKE_FLAGS= BASENAME="${PREFIX}" CC="${CC}" CFLAGS0="${CFLAGS}" LOCKINGTEST="110"
  24. NO_TEST= Yes
  25. do-install:
  26. ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/procmail
  27. cd ${WRKBUILD}/new && \
  28. ${INSTALL_PROGRAM} formail procmail ${PREFIX}/bin && \
  29. ${INSTALL_SCRIPT} mailstat ${PREFIX}/bin && \
  30. ${INSTALL_MAN} formail.1 procmail.1 ${PREFIX}/man/man1 && \
  31. ${INSTALL_MAN} procmailex.5 procmailrc.5 procmailsc.5 ${PREFIX}/man/man5
  32. ${INSTALL_DATA} ${WRKSRC}/examples/* \
  33. ${PREFIX}/share/examples/procmail
  34. .include <bsd.port.mk>