Makefile 969 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # $OpenBSD: Makefile,v 1.7 2013/03/11 11:20:27 espie Exp $
  2. CATEGORIES= books lang
  3. COMMENT= Icon programming language reference book
  4. MAINTAINER= Marc Espie <espie@openbsd.org>
  5. MASTER_SITES= http://www.cs.arizona.edu/icon/ftp/doc/
  6. # This documents version 9.3 of the language.
  7. V=9.3
  8. DISTNAME= icon-book-$V
  9. FLAVORS=two_sided
  10. FLAVOR?=
  11. .if ${FLAVOR} == "two_sided"
  12. DISTFILES= lb2up.pdf
  13. FULLPKGNAME= icon-book-two_sided-$V
  14. REVISION = 0
  15. .else
  16. DISTFILES= lb1up.pdf
  17. FULLPKGNAME= icon-book-$V
  18. .endif
  19. SUPDISTFILES= lb1up.pdf lb2up.pdf
  20. # Book says:
  21. # 'This book originally was published by Peer-to-Peer Communications.
  22. # It is out of print and the rights have reverted to the authors, who hereby
  23. # place it in the public domain'.
  24. PERMIT_PACKAGE_CDROM=Yes
  25. EXTRACT_ONLY=
  26. NO_BUILD=Yes
  27. PKG_ARCH=*
  28. do-install:
  29. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/icon
  30. ${INSTALL_DATA} ${FULLDISTDIR}/${DISTFILES} ${PREFIX}/share/doc/icon/icon-book${FLAVOR_EXT}.pdf
  31. .include <bsd.port.mk>