Makefile 806 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # $OpenBSD: Makefile,v 1.7 2017/04/14 14:01:47 ian Exp $
  2. COMMENT= Sun's official Java Language Specification
  3. MAJOR= 8
  4. PKGNAME= JLS-${MAJOR}.0
  5. DISTNAME= jls${MAJOR}
  6. DISTFILES= ${DISTNAME}.pdf
  7. CATEGORIES= books
  8. SUBST_VARS= DISTFILES
  9. HOMEPAGE= https://docs.oracle.com/javase/specs/jls/
  10. MAINTAINER= Ian Darwin <ian@openbsd.org>
  11. # http://java.sun.com/docs/books/jls/third_edition/html/jcopyright.html
  12. PERMIT_PACKAGE_CDROM= Copyright
  13. PERMIT_PACKAGE_FTP= Copyright
  14. PERMIT_DISTFILES_FTP= Copyright
  15. MASTER_SITES= https://docs.oracle.com/javase/specs/jls/se${MAJOR}/
  16. EXTRACT_ONLY=
  17. NO_BUILD= Yes
  18. NO_TEST= Yes
  19. PKG_ARCH= *
  20. INSTALL_LOC= ${PREFIX}/share/doc/java
  21. do-install:
  22. ${INSTALL_DATA_DIR} ${INSTALL_LOC}
  23. ${INSTALL_DATA} ${FULLDISTDIR}/${DISTFILES} ${INSTALL_LOC}/${DISTFILES}
  24. .include <bsd.port.mk>