Makefile 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # $OpenBSD: Makefile,v 1.20 2015/05/21 10:45:38 ajacoutot Exp $
  2. COMMENT-main= simple SMTP client
  3. COMMENT-chroot= simple SMTP client for chrooted web servers
  4. V= 1.0
  5. REVISION-main= 1
  6. REVISION-chroot=2
  7. DISTNAME= femail-${V}
  8. PKGNAME-main= femail-${V}
  9. PKGNAME-chroot= femail-chroot-${V}
  10. CATEGORIES= mail
  11. HOMEPAGE= http://bulabula.org/femail/
  12. MAINTAINER= Okan Demirmen <okan@openbsd.org>
  13. # BSD
  14. PERMIT_PACKAGE_CDROM= Yes
  15. MASTER_SITES= ${HOMEPAGE}
  16. EXTRACT_SUFX= .tgz
  17. NO_TEST= Yes
  18. MULTI_PACKAGES= -main -chroot
  19. PREFIX-chroot= ${VARBASE}/www
  20. WANTLIB-main= c
  21. # fake WANTLIB to ensure updates occur for major changes in base
  22. WANTLIB-chroot= c
  23. RUN_DEPENDS-chroot= ${BASE_PKGPATH},-main
  24. do-install:
  25. ${INSTALL_PROGRAM} ${WRKSRC}/femail ${PREFIX}/sbin
  26. ${INSTALL_MAN} ${WRKSRC}/femail.8 ${PREFIX}/man/man8
  27. ${INSTALL_PROGRAM_DIR} ${WRKINST}${PREFIX-chroot}/bin
  28. ${INSTALL_PROGRAM_DIR} ${WRKINST}${PREFIX-chroot}/usr/sbin
  29. ${INSTALL_PROGRAM} ${WRKSRC}/femail-static \
  30. ${WRKINST}${PREFIX-chroot}/bin/femail
  31. .include <bsd.port.mk>