openbsd-ports/books/JLS/Makefile
2013-03-10 23:04:44 +00:00

36 lines
815 B
Makefile

# $OpenBSD: Makefile,v 1.6 2013/03/10 23:04:44 espie Exp $
COMMENT= Sun's official Java Language Specification
VERSION= 3.0
PKGNAME= JLS-${VERSION}
DISTNAME= langspec-${VERSION}
DISTFILES= ${DISTNAME}.pdf
CATEGORIES= books
SUBST_VARS+= VERSION
HOMEPAGE= http://java.sun.com/docs/books/jls/
MAINTAINER= Ian Darwin <ian@openbsd.org>
# http://java.sun.com/docs/books/jls/third_edition/html/jcopyright.html
PERMIT_PACKAGE_CDROM= Copyright
PERMIT_PACKAGE_FTP= Copyright
PERMIT_DISTFILES_FTP= Copyright
MASTER_SITES= http://java.sun.com/docs/books/jls/download/
EXTRACT_ONLY=
NO_BUILD= Yes
NO_TEST= Yes
PKG_ARCH= *
INSTALL_LOC= ${PREFIX}/share/doc/java
do-install:
${INSTALL_DATA_DIR} ${INSTALL_LOC}
${INSTALL_DATA} ${FULLDISTDIR}/${DISTFILES} ${INSTALL_LOC}/JLS-${VERSION}.pdf
.include <bsd.port.mk>