RESTRICTED="Redistribution of pre-compiled binaries isn't permitted"
MAKEFILE= GNUmakefile
MAKE_ENV=HAVE_DPS="no"\
ALT_BOOTDIR="${JDK12DIR}"\
ALT_ODBCDIR="${LOCALBASE}"\
ALT_MOTIF_DIR="${X11BASE}"\
OPENWINHOME="${X11BASE}"\
_JDK11DIR="${JDK11DIR}"\
SYS_CFLAGS="${CFLAGS}"
ALL_TARGET= release-images
PATCH_CMD=${PATCH} -p1 -s <
PLIST_SUB+=JDK_VERSION=${JDK_VERSION}
JDKIMAGEDIR=${WRKSRC}/jdk-image-i386
JDKIMAGEDIR_G=${WRKSRC}/jdk-debug-image-i386
JREIMAGEDIR=${WRKSRC}/jre-image-i386
.ifdefined(NODEBUG)
PLIST_SUB+= DEBUG:="@comment "
PKGNAMESUFFIX= -nodebug
.else
PLIST_SUB+= DEBUG:=""
.endif
.ifdefined(BATCH)||defined(PACKAGE_BUILDING)
IGNORE="You can not legally distribute pre-compiled binaries"
.endif
.include<bsd.port.pre.mk>
.forfilein${DISTFILES}
.if!exists(${DISTDIR}/${file})
IGNORE=You must manually fetch the source distribution and FreeBSD patches (${DISTFILES}) from http://www.sun.com/software/communitysource/java2/ and http://www.eyesbeyond.com/freebsddom/java/jdk.html, place it in ${DISTDIR} and then run make again