1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/multimedia/projectx/Makefile
Baptiste Daroussin 9c526f7217 Decommissioning java 1.5 (EOLed since October 2009):
suppress any reference to JAVA_VERSION=	1.5+ (part3)
2012-12-10 13:43:43 +00:00

46 lines
1.4 KiB
Makefile

# Created by: 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.6+
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>