06e6677793
remove support for them from bsd.java.mk. As Jikes is not available in Java 1.5 or higher, remove it from bsd.java.mk too (suggested by hq@) and from the ports which used it (only occurences were USE_JIKES=no). Support for the Blackdown VM is also removed, as it is not available in Java 1.5 and higher. Also remove the mapping from Java 1.1-1.4 to Java 1.5+ in bsd.java.mk to detect old, broken ports; therefore bump the minimal value of JAVA_VERSION to 1.5. While here, replace static values of JAVA_VERSION in files/*.in by %%JAVA_VERSION%% . PR: ports/158969 Submitted by: rene Tested on: pointyhat-west -exp
47 lines
1.3 KiB
Makefile
47 lines
1.3 KiB
Makefile
# New ports collection makefile for: freemind
|
|
# Date created: 22 september 2004
|
|
# Whom: cartola (Carlos E. G. Carvalho)
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= freemind
|
|
PORTVERSION= 0.8.1
|
|
PORTREVISION= 1
|
|
PORTEPOCH= 1
|
|
CATEGORIES= deskutils editors java
|
|
MASTER_SITES= SF
|
|
DISTNAME= ${PORTNAME}-bin-max-${PORTVERSION:S/./_/g}
|
|
|
|
MAINTAINER= wenheping@gmail.com
|
|
COMMENT= Free mind-mapping software written in Java
|
|
|
|
BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip \
|
|
zip:${PORTSDIR}/archivers/zip
|
|
RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
|
|
|
|
USE_ZIP= yes
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.5+
|
|
|
|
DATADIR= ${JAVASHAREDIR}/${PORTNAME}-${PORTVERSION}
|
|
DATAFILES= accessories doc lib license patterns.xml plugins user.properties
|
|
|
|
EXTRACT_AFTER_ARGS= -d ${WRKSRC}
|
|
ZIP_CMD= zip
|
|
|
|
SUB_FILES= freemind.sh
|
|
|
|
do-build:
|
|
(cd ${WRKSRC}; \
|
|
${UNZIP_CMD} lib/freemind.jar freemind.properties; \
|
|
${REINPLACE_CMD} -e '/^keystroke_node_increase_font_size/ s/PLUS/EQUALS/;/^keystroke_branch_increase_font_size/ s/PLUS/EQUALS/;s|./doc/freemind.mm|file:${DATADIR}/doc/freemind.mm|' freemind.properties; \
|
|
${ZIP_CMD} -u lib/freemind.jar freemind.properties)
|
|
|
|
do-install:
|
|
cd ${WRKSRC} \
|
|
&& ${FIND} ${DATAFILES} -type d -exec ${MKDIR} ${DATADIR}/{} \; \
|
|
&& ${FIND} ${DATAFILES} -type f -exec ${INSTALL_DATA} {} ${DATADIR}/{} \;
|
|
${INSTALL_SCRIPT} ${WRKDIR}/freemind.sh ${PREFIX}/bin/freemind
|
|
|
|
.include <bsd.port.mk>
|