mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
Add an option to install demos and samples. Turned off by default.
This commit is contained in:
parent
a1aa5636ff
commit
f2df278013
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=295811
@ -17,6 +17,8 @@ COMMENT= Oracle Java 7 Development Kit for Linux
|
||||
|
||||
RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper
|
||||
|
||||
OPTIONS= DEMO "Install demos and samples" off
|
||||
|
||||
NO_CDROM= License does not allow distribution with fee
|
||||
RESTRICTED= Redistribution of repackaged binaries not permitted
|
||||
LATEST_LINK= linux-sun-jdk17
|
||||
@ -46,6 +48,16 @@ BIN_DIRS= bin jre/bin
|
||||
IGNORE?=You must manually fetch the J2SE SDK download for the Linux platform (${DISTNAME}${EXTRACT_SUFX}) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again
|
||||
.endif
|
||||
|
||||
.if defined(WITH_DEMO)
|
||||
.if !exists(${DISTDIR}/${DISTNAME}-demos${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING)
|
||||
IGNORE?=You must manually fetch the J2SE demos and samples for the Linux platform (${DISTNAME}-demos${EXTRACT_SUFX}) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again
|
||||
.endif
|
||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}-demos${EXTRACT_SUFX}
|
||||
PLIST_SUB+= DEMO=""
|
||||
.else
|
||||
PLIST_SUB+= DEMO="@comment "
|
||||
.endif
|
||||
|
||||
pre-everything::
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
|
@ -1,2 +1,4 @@
|
||||
SHA256 (jdk-7u4-linux-i586.tar.gz) = 023c288d33e15a5fd8ebccec9f3b82df5a32208dca96b85c80e64fd01357de28
|
||||
SIZE (jdk-7u4-linux-i586.tar.gz) = 82927766
|
||||
SHA256 (jdk-7u4-linux-i586-demos.tar.gz) = 36a712513fb7fef3df184ef7c082f9b29dac05181e3827312d088db80749dd9f
|
||||
SIZE (jdk-7u4-linux-i586-demos.tar.gz) = 14041524
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user