1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/java/bluej/Makefile
Ben Woods 520df03e1e java/bluej: Update to 4.1.1
- Change minimum supported JDK version to 8u60
- Take maintainership
- Remove fallback MASTER_SITE (no longer available)
- Add LICENSE details
- Add dependency on openjfx to fix runtime error
- Set NO_ARCH=yes
- Add desktop entry
- Move install location to ${JAVASHAREDIR}/${PORTNAME} as per porter's handbook

PR:		221162
Approved by:	lme (previous maintainer)
2017-10-21 01:58:27 +00:00

44 lines
987 B
Makefile

# Created by: Jeremy <karlj000@unbc.ca>
# $FreeBSD$
PORTNAME= bluej
PORTVERSION= 4.1.1
CATEGORIES= java editors
MASTER_SITES= http://www.bluej.org/download/files/
DISTNAME= BlueJ-generic-${PORTVERSION:S/.//g}
EXTRACT_SUFX= .jar
MAINTAINER= woodsb02@FreeBSD.org
COMMENT= Integrated Java environment designed for introductory teaching
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= ${JAVA_HOME}/bin/javafxpackager:java/openjfx8-devel
NO_ARCH= yes
NO_BUILD= yes
USE_JAVA= yes
JAVA_VERSION= 1.8+
SUB_FILES= bluej
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
DESKTOP_ENTRIES="BlueJ" \
"${COMMENT}" \
"${DATADIR}/icons/bluej-icon-512-embossed.png" \
"bluej" \
"Application;Development;" \
true
post-extract:
@${MKDIR} ${WRKSRC}
@${TAR} -xf ${WRKDIR}/bluej-dist.jar -C ${WRKSRC}
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}
cd ${WRKSRC}; ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
${INSTALL_SCRIPT} ${WRKDIR}/bluej ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>