Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # $OpenBSD: Makefile,v 1.12 2014/04/07 14:51:25 sthen Exp $
  2. COMMENT= SNPP, TAP, email notification application
  3. V= 1.000003
  4. REVISION= 0
  5. DISTNAME= sendpage-${V}
  6. PKGNAME= p5-SendPage-${V}
  7. CATEGORIES= comms
  8. HOMEPAGE= http://sendpage.org/
  9. MAINTAINER= Todd T. Fries <todd@openbsd.org>
  10. # GPL
  11. PERMIT_PACKAGE_CDROM= Yes
  12. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sendpage/}
  13. RUN_DEPENDS= comms/p5-Device-SerialPort \
  14. mail/p5-Mail-Tools \
  15. net/p5-Net-SNPP \
  16. databases/p5-DBI
  17. BUILD_DEPENDS= ${RUN_DEPENDS}
  18. CONFIGURE_STYLE= perl
  19. SAMPLES= email2page.conf sendpage.cf snpp.conf
  20. DOCS= Changes FEATURES README THANKS
  21. DOCS2= PagingCentrals.txt README pc-testing.txt postfix.txt \
  22. sendmail.txt sendpage.php
  23. post-install:
  24. ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/sendpage
  25. .for f in ${SAMPLES}
  26. ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/examples/sendpage
  27. .endfor
  28. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sendpage
  29. .for f in ${DOCS}
  30. ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/sendpage
  31. .endfor
  32. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sendpage/docs
  33. .for f in ${DOCS2}
  34. ${INSTALL_DATA} ${WRKSRC}/docs/${f} ${PREFIX}/share/doc/sendpage/docs
  35. .endfor
  36. .include <bsd.port.mk>