1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00
freebsd-ports/java/langspec/Makefile
Mathieu Arnold c6f651390a OPTIONS_SET/OPTIONS_UNSET are global variables, they cannot be used in ports Makefiles.
So, replace them with OPTIONS_SLAVE, OPTIONS_EXCLUDE, OPTIONS_DEFAULT,
where appropriate.

The ghostscript ports are doing something nasty that is certainly wrong,
but I don't want to try to understand it.

Sponsored by:	Absolight
2016-10-24 10:18:50 +00:00

27 lines
554 B
Makefile

# Created by: Alex Dupre <ale@FreeBSD.org>
# $FreeBSD$
PORTNAME= langspec
PORTVERSION= 3.0
CATEGORIES= java
MASTER_SITES= http://java.sun.com/docs/books/jls/download/
MAINTAINER= ale@FreeBSD.org
COMMENT= The Java Language Specification
USES= zip
NO_BUILD= yes
NO_WRKSUBDIR= yes
PORTDOCS= *
OPTIONS_DEFINE= DOCS
do-install:
@${ECHO} -n ">> Installing documentation in ${DOCSDIR}..."
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${CP} -R ${WRKSRC}/*.html ${WRKSRC}/*.gif ${WRKSRC}/chars \
${STAGEDIR}${DOCSDIR}
@${ECHO} " [ DONE ]"
.include <bsd.port.mk>