summaryrefslogtreecommitdiff
path: root/lang/jini/Makefile
diff options
context:
space:
mode:
authorjschauma <jschauma>2002-05-14 20:07:10 +0000
committerjschauma <jschauma>2002-05-14 20:07:10 +0000
commit8f98c3e81d5e2e8d20f22ff9a41b10038300c040 (patch)
tree94cb5e19b8054fdaf63cd3fae686770aa1e9cb6d /lang/jini/Makefile
parent06d7bd04b68e0ae7f398dbcd8c112b438b6cb81a (diff)
downloadpkgsrc-8f98c3e81d5e2e8d20f22ff9a41b10038300c040.tar.gz
Initial import of Sun's Jini Technology Starter Kit, consisting of the
Jini Technology Core Platform (JCP), the Jini Technology Extended Platform (JXP) and the Jini Software Kit (JSK). Jini[tm] network technology provides a simple infrastructure for delivering services in a network and for creating spontaneous interaction between programs that use these services regardless of their hardware/software implementation. For details, see http://www.sun.com/jini/ Sidenote: the package depends on revision 1.39 of sys/compat/linux/common/linux_socket.c to work properly on NetBSD - for the time being, it therefore contains ONLY_FOR_PLATFORM= NetBSD-1.5Z[C-Z]-* NetBSD-1.[6-9]-* Linux-*-* which can be commented out iff you use a kernel built using said file.
Diffstat (limited to 'lang/jini/Makefile')
-rw-r--r--lang/jini/Makefile57
1 files changed, 57 insertions, 0 deletions
diff --git a/lang/jini/Makefile b/lang/jini/Makefile
new file mode 100644
index 00000000000..2102afcc698
--- /dev/null
+++ b/lang/jini/Makefile
@@ -0,0 +1,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"