9fc2d7d281
need them, for example RESTRICTED and SUBST_MESSAGE.*.
63 lines
1.7 KiB
Makefile
63 lines
1.7 KiB
Makefile
# $NetBSD: Makefile,v 1.22 2006/04/22 09:22:10 rillig Exp $
|
|
#
|
|
|
|
DISTNAME= jini-${SUN_VERSION}-src
|
|
PKGNAME= jini-${VERSION}
|
|
PKGREVISION= 2
|
|
CATEGORIES= lang java
|
|
MASTER_SITES= # empty
|
|
EXTRACT_SUFX= .zip
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://www.sun.com/jini/
|
|
COMMENT= Suns Jini(tm) Technology Starter Kit
|
|
|
|
ONLY_FOR_PLATFORM= Darwin-*-* Linux-*-* NetBSD-1.[6-9]*-*
|
|
ONLY_FOR_PLATFORM+= NetBSD-[2-9]*-*
|
|
# depends on Rev 1.39 of sys/compat/linux/common/linux_socket.c
|
|
ONLY_FOR_PLATFORM+= NetBSD-1.5Z[D-Z]-*
|
|
|
|
INTERACTIVE_STAGE= fetch
|
|
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}
|
|
|
|
WRKSRC= ${WRKDIR}/jini${SUN_VERSION}
|
|
VERSION= 1.2.1
|
|
SUN_VERSION= ${VERSION:C/\./_/g}_001
|
|
USE_JAVA= run
|
|
PKG_JVMS_ACCEPTED= sun-jdk13 sun-jdk14 jdk14
|
|
|
|
.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
|
|
|
|
_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}
|
|
cd ${WRKSRC} && ${PAX} -rw . ${PREFIX}/jini
|
|
|
|
cleandir: clean
|
|
${RM} -fr ${JINI_HOME}
|
|
|
|
.include "../../mk/java-vm.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|