Makefile 922 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # $OpenBSD: Makefile,v 1.6 2013/03/10 23:04:44 espie Exp $
  2. COMMENT= the definitive guide to CVS
  3. V= 1.21
  4. DISTNAME= cvsbook-${V}-all
  5. PKGNAME= cvs-guide-${V}
  6. CATEGORIES= books
  7. MASTER_SITES= http://cvsbook.red-bean.com/
  8. HOMEPAGE= http://cvsbook.red-bean.com/
  9. MAINTAINER= Anil Madhavapeddy <avsm@openbsd.org>
  10. # GPL
  11. PERMIT_PACKAGE_CDROM= Yes
  12. WRKDIST= ${WRKDIR}/cvsbook-${V}
  13. NO_BUILD= Yes
  14. NO_TEST= Yes
  15. PKG_ARCH= *
  16. INSTALL_LOC= ${PREFIX}/share/doc/cvs-guide
  17. HTML_DOCS= amazon-boycott.html cvsbook.html anoncvs.html \
  18. index.html errata.html
  19. PRINT_DOCS= cvsbook.ps cvsbook.pdf OSDevWithCVS_3E.pdf
  20. do-install:
  21. ${INSTALL_DATA_DIR} ${INSTALL_LOC}
  22. ${INSTALL_DATA_DIR} ${INSTALL_LOC}/html
  23. ${INSTALL_DATA_DIR} ${INSTALL_LOC}/print
  24. .for i in ${HTML_DOCS}
  25. ${INSTALL_DATA} ${WRKSRC}/${i} ${INSTALL_LOC}/html
  26. .endfor
  27. .for i in ${PRINT_DOCS}
  28. ${INSTALL_DATA} ${WRKSRC}/${i} ${INSTALL_LOC}/print
  29. .endfor
  30. .include <bsd.port.mk>