freebsd-ports/multimedia/projectx/Makefile
Herve Quiroz 586c7882c6 - Update to 0.90.3.01 [1]
- Use 'exec' to launch the JVM
- Add some $FreeBSD$ tag

PR:		94975 [1]
Submitted by:	maintainer [1]
2006-04-04 21:25:34 +00:00

47 lines
1.3 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.3.01
CATEGORIES= multimedia java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= project-x
DISTNAME= ProjectX_Source_${PORTVERSION}
MAINTAINER= nox@jelal.kn-bremen.de
COMMENT= DVB (mpeg) cutting/demux tool
RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
USE_ZIP= yes
USE_JAVA= yes
JAVA_VERSION= 1.3+
USE_JIKES= no
SUB_FILES= project-x.sh
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
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>