aboutsummaryrefslogtreecommitdiffstats
path: root/java/langspec/Makefile
blob: f82ada24f0280632cb6180ab6e51d50fd0185903 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# 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

USE_ZIP=    yes
NO_BUILD=   yes
WRKSRC=     ${WRKDIR}
PORTDOCS=   *

.if defined(NOPORTDOCS)
IGNORE=     installs *only* documentation, unset NOPORTDOCS
.endif

NO_STAGE=   yes
do-install:
    @${ECHO} -n ">> Installing documentation in ${DOCSDIR}..."
    @${MKDIR} ${DOCSDIR}
    @${CP} -R ${WRKSRC}/* ${DOCSDIR}
    @${ECHO} " [ DONE ]"

.include <bsd.port.mk>