2006-04-22 11:22:05 +02:00
|
|
|
# $NetBSD: Makefile,v 1.22 2006/04/22 09:22:10 rillig Exp $
|
2002-05-14 22:07:10 +02:00
|
|
|
#
|
|
|
|
|
2002-09-25 22:20:14 +02:00
|
|
|
DISTNAME= jini-${SUN_VERSION}-src
|
|
|
|
PKGNAME= jini-${VERSION}
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 2
|
2003-08-23 17:13:56 +02:00
|
|
|
CATEGORIES= lang java
|
2002-09-25 22:20:14 +02:00
|
|
|
MASTER_SITES= # empty
|
|
|
|
EXTRACT_SUFX= .zip
|
2002-05-14 22:07:10 +02:00
|
|
|
|
2006-04-03 01:07:06 +02:00
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
2002-09-25 22:20:14 +02:00
|
|
|
HOMEPAGE= http://www.sun.com/jini/
|
|
|
|
COMMENT= Suns Jini(tm) Technology Starter Kit
|
2002-05-14 22:07:10 +02:00
|
|
|
|
2002-09-11 01:46:22 +02:00
|
|
|
ONLY_FOR_PLATFORM= Darwin-*-* Linux-*-* NetBSD-1.[6-9]*-*
|
2004-03-22 04:34:35 +01:00
|
|
|
ONLY_FOR_PLATFORM+= NetBSD-[2-9]*-*
|
2002-09-11 15:51:31 +02:00
|
|
|
# depends on Rev 1.39 of sys/compat/linux/common/linux_socket.c
|
|
|
|
ONLY_FOR_PLATFORM+= NetBSD-1.5Z[D-Z]-*
|
2002-05-14 22:07:10 +02:00
|
|
|
|
2002-09-25 22:20:14 +02:00
|
|
|
INTERACTIVE_STAGE= fetch
|
|
|
|
LICENSE= scsl3-jini-tsa-1.0-license
|
2006-04-22 11:22:05 +02:00
|
|
|
RESTRICTED= Redistribution of repackaged binaries not permitted
|
2002-09-25 22:20:14 +02:00
|
|
|
NO_SRC_ON_CDROM= ${RESTRICTED}
|
|
|
|
NO_SRC_ON_FTP= ${RESTRICTED}
|
|
|
|
NO_BIN_ON_CDROM= ${RESTRICTED}
|
|
|
|
NO_BIN_ON_FTP= ${RESTRICTED}
|
2002-05-14 22:07:10 +02:00
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}/jini${SUN_VERSION}
|
2002-09-25 22:20:14 +02:00
|
|
|
VERSION= 1.2.1
|
|
|
|
SUN_VERSION= ${VERSION:C/\./_/g}_001
|
|
|
|
USE_JAVA= run
|
2005-11-04 19:47:51 +01:00
|
|
|
PKG_JVMS_ACCEPTED= sun-jdk13 sun-jdk14 jdk14
|
2002-05-14 22:07:10 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if !defined(JINI_HOME)
|
2002-09-25 22:20:14 +02:00
|
|
|
JINI_HOME:= ${LOCALBASE}/jini
|
2002-05-14 22:07:10 +02:00
|
|
|
.endif
|
2002-09-25 22:20:14 +02:00
|
|
|
MESSAGE_SUBST+= JINI_HOME=${JINI_HOME}
|
2002-05-14 22:07:10 +02:00
|
|
|
|
2002-09-25 22:20:14 +02:00
|
|
|
NO_BUILD= yes
|
2002-05-14 22:07:10 +02:00
|
|
|
|
2002-09-25 22:20:14 +02:00
|
|
|
DOWNLOAD= http://wwws.sun.com/software/communitysource/jini/download.html
|
2002-05-14 22:07:10 +02:00
|
|
|
|
|
|
|
_FETCH_MESSAGE= \
|
|
|
|
${ECHO} "======================================================================"; \
|
|
|
|
${ECHO} ; \
|
|
|
|
${ECHO} " The file ${DISTNAME}${EXTRACT_SUFX} containing the Jini(TM)"; \
|
|
|
|
${ECHO} " Technology Starter Kit must be fetched into ${DISTDIR} from "; \
|
2002-09-25 20:56:06 +02:00
|
|
|
${ECHO} " ${DOWNLOAD}"; \
|
2002-05-14 22:07:10 +02:00
|
|
|
${ECHO} ; \
|
|
|
|
${ECHO} "======================================================================"
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM_DIR} ${PREFIX}/jini
|
|
|
|
${CHOWN} -hR ${BINOWN}:${BINGRP} ${WRKSRC}
|
2002-09-25 22:20:14 +02:00
|
|
|
cd ${WRKSRC} && ${PAX} -rw . ${PREFIX}/jini
|
2002-05-14 22:07:10 +02:00
|
|
|
|
|
|
|
cleandir: clean
|
|
|
|
${RM} -fr ${JINI_HOME}
|
|
|
|
|
2002-12-26 21:52:09 +01:00
|
|
|
.include "../../mk/java-vm.mk"
|
2002-05-14 22:07:10 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|