1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Update to new java infrastructure, deploy USE_JAVA

This commit is contained in:
Mario Sergio Fujikawa Ferreira 2002-03-28 14:48:49 +00:00
parent 16f4385330
commit dc2fbbac16
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=56789
9 changed files with 22 additions and 57 deletions

View File

@ -15,11 +15,9 @@ EXTRACT_SUFX= .tgz
MAINTAINER= lioux@FreeBSD.org
RUN_DEPENDS= ${JAVAVM}:${PORTSDIR}/java/javavmwrapper \
${LOCALBASE}/etc/javavms:${PORTSDIR}/java/jre \
${LOCALBASE}/jdk1.3.1/bin/java:${PORTSDIR}/java/jdk13
USE_JAVA= 1.3+
NO_BUILD= yes
JAVA_NO_BUILD_DEPENDS= yes
PLIST_SUB= JAR_DIR=${JAR_DIR}
JAVAVM= ${LOCALBASE}/bin/javavm

View File

@ -13,19 +13,12 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= lioux@FreeBSD.org
BUILD_DEPENDS= ${LOCALBASE}/jdk${JDK_VERSION}/bin/jar:${PORTSDIR}/java/jdk12-beta
RUN_DEPENDS= ${JAVAVM}:${PORTSDIR}/java/javavmwrapper \
${LOCALBASE}/etc/javavms:${PORTSDIR}/java/jre \
${LOCALBASE}/jdk${JDK_VERSION}/bin/java:${PORTSDIR}/java/jdk12-beta
USE_JAVA= 1.2+
WRKSRC= ${WRKDIR}/DirectConnect${PORTVERSION}
BUILD_WRKSRC= ${WRKDIR}/classes
PLIST_SUB= JAR_DIR=${JAR_DIR} \
JAR_FILE=${JAR_FILE}
JDK_VERSION= 1.2.2
JAVAC_CMD= ${LOCALBASE}/jdk${JDK_VERSION}/bin/javac
JAR_CMD= ${LOCALBASE}/jdk${JDK_VERSION}/bin/jar
JAVAVM= ${LOCALBASE}/bin/javavm
JAR_DIR= share/java/jar/${PORTNAME}
JAR_MANIFEST= ${FILESDIR}/manifest
@ -41,9 +34,9 @@ post-patch:
# as far as build goes... ;)
do-build:
@${MKDIR} ${BUILD_WRKSRC}
@${JAVAC_CMD} -d ${BUILD_WRKSRC} -classpath ${BUILD_WRKSRC} ${CLASS_SRCDIR}/*.java 2>/dev/null
@${JAVAC} -d ${BUILD_WRKSRC} -classpath ${BUILD_WRKSRC} ${CLASS_SRCDIR}/*.java 2>/dev/null
@${CP} ${CLASS_SRCDIR}/*.txt ${BUILD_WRKSRC}
@cd ${BUILD_WRKSRC} && ${JAR_CMD} -cmf ${JAR_MANIFEST} ${WRKDIR}/${JAR_FILE} *
@cd ${BUILD_WRKSRC} && ${JAR} -cmf ${JAR_MANIFEST} ${WRKDIR}/${JAR_FILE} *
do-install:
@${MKDIR} ${PREFIX}/${JAR_DIR}

View File

@ -14,16 +14,13 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= lioux@FreeBSD.org
RUN_DEPENDS= ${JAVAVM}:${PORTSDIR}/java/javavmwrapper \
${LOCALBASE}/etc/javavms:${PORTSDIR}/java/jre \
${LOCALBASE}/jdk${JDK_VERSION}/bin/java:${PORTSDIR}/java/jdk13
USE_JAVA= 1.3+
USE_ZIP= yes
NO_BUILD= yes
JAVA_NO_BUILD_DEPENDS= yes
PLIST_SUB= JAR_DIR=${JAR_DIR} \
JAR_FILE=${JAR_FILE}
JDK_VERSION= 1.3.1
JAVAVM= ${LOCALBASE}/bin/javavm
JAR_DIR= share/java/jar/${PORTNAME}/
JAR_MANIFEST= ${FILESDIR}/manifest

View File

@ -15,11 +15,9 @@ EXTRACT_SUFX= .tgz
MAINTAINER= lioux@FreeBSD.org
RUN_DEPENDS= ${JAVAVM}:${PORTSDIR}/java/javavmwrapper \
${LOCALBASE}/etc/javavms:${PORTSDIR}/java/jre \
${LOCALBASE}/jdk1.3.1/bin/java:${PORTSDIR}/java/jdk13
USE_JAVA= 1.3+
NO_BUILD= yes
JAVA_NO_BUILD_DEPENDS= yes
PLIST_SUB= JAR_DIR=${JAR_DIR}
JAVAVM= ${LOCALBASE}/bin/javavm

View File

@ -16,17 +16,15 @@ EXTRACT_ONLY=
MAINTAINER= lioux@FreeBSD.org
RUN_DEPENDS= donkey:${PORTSDIR}/net/edonkey-core \
${JAVAVM}:${PORTSDIR}/java/javavmwrapper \
${LOCALBASE}/etc/javavms:${PORTSDIR}/java/jre \
${LOCALBASE}/jdk${JDK_VERSION}/bin/java:${PORTSDIR}/java/jdk13
RUN_DEPENDS= donkey:${PORTSDIR}/net/edonkey-core
USE_JAVA= 1.3+
NO_BUILD= yes
JAVA_NO_BUILD_DEPENDS= yes
PLIST_SUB= JAR_DIR=${JAR_DIR} \
JAR_FILE=${JAR_FILE} \
WRAPPER=${PORTNAME}${PKGNAMESUFFIX}
JDK_VERSION= 1.3.1
JAVAVM= ${LOCALBASE}/bin/javavm
JAR_DIR= share/java/jar/${PORTNAME}

View File

@ -13,19 +13,12 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= lioux@FreeBSD.org
BUILD_DEPENDS= ${LOCALBASE}/jdk${JDK_VERSION}/bin/jar:${PORTSDIR}/java/jdk12-beta
RUN_DEPENDS= ${JAVAVM}:${PORTSDIR}/java/javavmwrapper \
${LOCALBASE}/etc/javavms:${PORTSDIR}/java/jre \
${LOCALBASE}/jdk${JDK_VERSION}/bin/java:${PORTSDIR}/java/jdk12-beta
USE_JAVA= 1.2+
WRKSRC= ${WRKDIR}/DirectConnect${PORTVERSION}
BUILD_WRKSRC= ${WRKDIR}/classes
PLIST_SUB= JAR_DIR=${JAR_DIR} \
JAR_FILE=${JAR_FILE}
JDK_VERSION= 1.2.2
JAVAC_CMD= ${LOCALBASE}/jdk${JDK_VERSION}/bin/javac
JAR_CMD= ${LOCALBASE}/jdk${JDK_VERSION}/bin/jar
JAVAVM= ${LOCALBASE}/bin/javavm
JAR_DIR= share/java/jar/${PORTNAME}
JAR_MANIFEST= ${FILESDIR}/manifest
@ -41,9 +34,9 @@ post-patch:
# as far as build goes... ;)
do-build:
@${MKDIR} ${BUILD_WRKSRC}
@${JAVAC_CMD} -d ${BUILD_WRKSRC} -classpath ${BUILD_WRKSRC} ${CLASS_SRCDIR}/*.java 2>/dev/null
@${JAVAC} -d ${BUILD_WRKSRC} -classpath ${BUILD_WRKSRC} ${CLASS_SRCDIR}/*.java 2>/dev/null
@${CP} ${CLASS_SRCDIR}/*.txt ${BUILD_WRKSRC}
@cd ${BUILD_WRKSRC} && ${JAR_CMD} -cmf ${JAR_MANIFEST} ${WRKDIR}/${JAR_FILE} *
@cd ${BUILD_WRKSRC} && ${JAR} -cmf ${JAR_MANIFEST} ${WRKDIR}/${JAR_FILE} *
do-install:
@${MKDIR} ${PREFIX}/${JAR_DIR}

View File

@ -13,22 +13,15 @@ MASTER_SITE_SUBDIR= ${PORTNAME:L}
MAINTAINER= lioux@FreeBSD.org
BUILD_DEPENDS= ${LOCALBASE}/jdk${JDK_VERSION}/bin/jar:${PORTSDIR}/java/jdk12-beta
RUN_DEPENDS= ${JAVAVM}:${PORTSDIR}/java/javavmwrapper \
${LOCALBASE}/etc/javavms:${PORTSDIR}/java/jre \
${LOCALBASE}/jdk${JDK_VERSION}/bin/java:${PORTSDIR}/java/jdk12-beta
BROKEN= 'Does not currently work'
USE_JAVA= 1.2+
USE_ZIP= yes
NO_WRKSUBDIR= yes
BUILD_WRKSRC= ${WRKSRC}/classes
PLIST_SUB= JAR_DIR=${JAR_DIR} \
JAR_FILE=${JAR_FILE}
JDK_VERSION= 1.2.2
JAVAC_CMD= ${LOCALBASE}/jdk${JDK_VERSION}/bin/javac
JAR_CMD= ${LOCALBASE}/jdk${JDK_VERSION}/bin/jar
JAVAVM= ${LOCALBASE}/bin/javavm
JAR_DIR= share/java/jar/${PORTNAME}
JAR_MANIFEST= ${FILESDIR}/manifest
@ -52,9 +45,9 @@ post-patch:
do-build:
@${MKDIR} ${BUILD_WRKSRC}
.for dir in ${CLASS_SRCDIRS}
@${JAVAC_CMD} -d ${BUILD_WRKSRC} -classpath ${BUILD_WRKSRC} -sourcepath ${WRKDIR} ${WRKDIR}/${CLASS_PACKAGE}/${dir}/*.java
@${JAVAC} -d ${BUILD_WRKSRC} -classpath ${BUILD_WRKSRC} -sourcepath ${WRKDIR} ${WRKDIR}/${CLASS_PACKAGE}/${dir}/*.java
.endfor
@cd ${BUILD_WRKSRC} && ${JAR_CMD} -cmf ${JAR_MANIFEST} ${WRKDIR}/${JAR_FILE} *
@cd ${BUILD_WRKSRC} && ${JAR} -cmf ${JAR_MANIFEST} ${WRKDIR}/${JAR_FILE} *
do-install:
@${MKDIR} ${PREFIX}/${JAR_DIR}

View File

@ -14,16 +14,13 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= lioux@FreeBSD.org
RUN_DEPENDS= ${JAVAVM}:${PORTSDIR}/java/javavmwrapper \
${LOCALBASE}/etc/javavms:${PORTSDIR}/java/jre \
${LOCALBASE}/jdk${JDK_VERSION}/bin/java:${PORTSDIR}/java/jdk13
USE_JAVA= 1.3+
USE_ZIP= yes
NO_BUILD= yes
JAVA_NO_BUILD_DEPENDS= yes
PLIST_SUB= JAR_DIR=${JAR_DIR} \
JAR_FILE=${JAR_FILE}
JDK_VERSION= 1.3.1
JAVAVM= ${LOCALBASE}/bin/javavm
JAR_DIR= share/java/jar/${PORTNAME}/
JAR_MANIFEST= ${FILESDIR}/manifest

View File

@ -15,11 +15,9 @@ EXTRACT_SUFX= .tgz
MAINTAINER= lioux@FreeBSD.org
RUN_DEPENDS= ${JAVAVM}:${PORTSDIR}/java/javavmwrapper \
${LOCALBASE}/etc/javavms:${PORTSDIR}/java/jre \
${LOCALBASE}/jdk1.3.1/bin/java:${PORTSDIR}/java/jdk13
USE_JAVA= 1.3+
NO_BUILD= yes
JAVA_NO_BUILD_DEPENDS= yes
PLIST_SUB= JAR_DIR=${JAR_DIR}
JAVAVM= ${LOCALBASE}/bin/javavm