aboutsummaryrefslogtreecommitdiffstats
path: root/java/langspec/Makefile
blob: 372095f5ca557d2e3f8fb6be8ece7a7decd796bf (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
29
30
31
# New ports collection makefile for:    langspec
# Date created:         18 October 2004
# Whom:             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

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

.include <bsd.port.mk>