mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
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
50 lines
1.5 KiB
Makefile
50 lines
1.5 KiB
Makefile
# New ports collection makefile for: projectx
|
|
# Date created: Sun Jul 18 15:07:26 CEST 2004
|
|
# Whom: Juergen Lock <nox@jelal.kn-bremen.de>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= projectx
|
|
PORTVERSION= 0.90.4.00
|
|
PORTREVISION= 2
|
|
CATEGORIES= multimedia java
|
|
MASTER_SITES= SF/project-x/project-x/ProjectX_Source_${PORTVERSION}
|
|
DISTNAME= ProjectX_Source_${PORTVERSION}
|
|
DISTFILES= ProjectX_Source_eng_${PORTVERSION}${EXTRACT_SUFX} \
|
|
ProjectX_LanguagePack_${PORTVERSION}${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= nox@FreeBSD.org
|
|
COMMENT= DVB (mpeg) cutting/demux tool
|
|
|
|
RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
|
|
|
|
USE_ZIP= yes
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.5+
|
|
|
|
SUB_FILES= project-x.sh
|
|
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:C/\.00$//}
|
|
EXTRACT_BEFORE_ARGS+= -aq
|
|
|
|
do-configure:
|
|
${SED} -e "s|^javac|${JAVAC}|" ${WRKSRC}/build.sh >${WRKSRC}/build-fbsd.sh
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && ${MKDIR} build && ${SH} build-fbsd.sh
|
|
|
|
do-install:
|
|
${MKDIR} ${DATADIR}/lib
|
|
${INSTALL_DATA} ${WRKSRC}/ProjectX.jar ${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/lib/commons-net-1.3.0.jar ${DATADIR}/lib
|
|
${INSTALL_DATA} ${WRKSRC}/lib/jakarta-oro-2.0.8.jar ${DATADIR}/lib
|
|
${MKDIR} ${DATADIR}/htmls/images ${DATADIR}/htmls/de
|
|
${INSTALL_DATA} ${WRKSRC}/*.txt ${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/htmls/*.html ${DATADIR}/htmls
|
|
${INSTALL_DATA} ${WRKSRC}/htmls/de/*.html ${DATADIR}/htmls/de
|
|
${INSTALL_DATA} ${WRKSRC}/htmls/images/* ${DATADIR}/htmls/images
|
|
${INSTALL_SCRIPT} ${WRKDIR}/project-x.sh ${PREFIX}/bin/project-x
|
|
|
|
.include <bsd.port.mk>
|