Makefile 993 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # $OpenBSD: Makefile,v 1.5 2013/03/11 11:20:27 espie Exp $
  2. CATEGORIES= books lang
  3. COMMENT= Icon language implemention 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=6
  8. DISTNAME= icon-book-$V
  9. FLAVORS=two_sided
  10. FLAVOR?=
  11. .if ${FLAVOR} == "two_sided"
  12. DISTFILES= ib2up.pdf
  13. FULLPKGNAME= implementation-of-icon-two_sided-$V
  14. .else
  15. DISTFILES= ib1up.pdf
  16. FULLPKGNAME= implementation-of-icon-$V
  17. .endif
  18. SUPDISTFILES= ib1up.pdf ib2up.pdf
  19. # Book says:
  20. # 'This book originally was published by Princeton University Press.
  21. # It is out of print and the rights have reverted to the authors, who hereby
  22. # place it in the public domain'.
  23. PERMIT_PACKAGE_CDROM=Yes
  24. EXTRACT_ONLY=
  25. NO_BUILD=Yes
  26. PKG_ARCH=*
  27. do-install:
  28. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/icon
  29. ${INSTALL_DATA} ${FULLDISTDIR}/${DISTFILES} ${PREFIX}/share/doc/icon/implementation-of-icon${FLAVOR_EXT}.pdf
  30. .include <bsd.port.mk>