summaryrefslogtreecommitdiff
path: root/lang/jini/Makefile
blob: 2102afcc69884a7702584078156d0826c5b6db50 (plain)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# $NetBSD: Makefile,v 1.1 2002/05/14 20:07:10 jschauma Exp $
#

DISTNAME=	jini-1_2_1-src
PKGNAME=	jini-1.2.1
CATEGORIES=     lang
MASTER_SITES=   # empty
EXTRACT_SUFX=   .zip

MAINTAINER=     jschauma@netbsd.org
HOMEPAGE=       http://www.sun.com/jini/
COMMENT=	Suns Jini(tm) Technology Starter Kit

# depends on Rev 1.39 of sys/compat/linux/common/linux_socket.c
# comment out if you have a kernel built using that revision
ONLY_FOR_PLATFORM=	NetBSD-1.5Z[D-Z]-* NetBSD-1.[6-9]-* Linux-*-*

LICENSE=	scsl3-jini-tsa-1.0-license
RESTRICTED= "Redistribution of repackaged binaries not permitted"
NO_SRC_ON_CDROM=${RESTRICTED}
NO_SRC_ON_FTP=  ${RESTRICTED}
NO_BIN_ON_CDROM=${RESTRICTED}
NO_BIN_ON_FTP=  ${RESTRICTED}

USE_JAVA=	yes
PKG_JVM=	sun-jdk

.include "../../mk/bsd.prefs.mk"

.if !defined(JINI_HOME)
JINI_HOME:=	${LOCALBASE}/jini
.endif
MESSAGE_SUBST+=	JINI_HOME=${JINI_HOME}

NO_BUILD=	yes

DOWNLOAD=	http://wwws.sun.com/software/communitysource/jini/download.html
WRKSRC=		${WRKDIR}/jini1_2_1

_FETCH_MESSAGE=	\
	${ECHO} "======================================================================"; \
	${ECHO} ; \
	${ECHO} " The file ${DISTNAME}${EXTRACT_SUFX} containing the Jini(TM)"; \
	${ECHO} " Technology Starter Kit must be fetched into ${DISTDIR} from "; \
	${ECHO} " ${DOWNLOAD}."; \
	${ECHO} ; \
	${ECHO} "======================================================================"

do-install:
	${INSTALL_PROGRAM_DIR} ${PREFIX}/jini
	${CHOWN} -hR ${BINOWN}:${BINGRP} ${WRKSRC}
	${GTAR} -C ${WRKSRC} -cf- . | ${GTAR} -C ${PREFIX}/jini -xpf-

cleandir: clean
	${RM} -fr ${JINI_HOME}

.include "../../mk/bsd.pkg.mk"