diff options
author | Ernst de Haan <znerd@FreeBSD.org> | 2002-07-05 08:33:58 +0000 |
---|---|---|
committer | Ernst de Haan <znerd@FreeBSD.org> | 2002-07-05 08:33:58 +0000 |
commit | 2676aa9874c48dcf2757955ff180b98d7774ade1 (patch) | |
tree | 11edd8c36faca9ae75eaabc5f1fcba9d1f73d5fe /comms/java-commapi/Makefile | |
parent | 54646ecfd5374db16ccc8b1d5a69ea763aeb41fe (diff) | |
download | ports-2676aa9874c48dcf2757955ff180b98d7774ade1.tar.gz ports-2676aa9874c48dcf2757955ff180b98d7774ade1.zip |
Notes
Diffstat (limited to 'comms/java-commapi/Makefile')
-rw-r--r-- | comms/java-commapi/Makefile | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/comms/java-commapi/Makefile b/comms/java-commapi/Makefile new file mode 100644 index 000000000000..ff540d3c46fd --- /dev/null +++ b/comms/java-commapi/Makefile @@ -0,0 +1,45 @@ +# New ports collection makefile for: Java Commapi +# Date created: 2001/07/01 +# Whom: Ari Suutari <ari.suutari@syncrontech.com> +# +# $FreeBSD$ +# + +PORTNAME= java-commapi +PORTVERSION= 2.0.2 +CATEGORIES= comms java +MASTER_SITES= # +DISTNAME= javax_comm-${PORTVERSION:S/./_/g}-solsparc +EXTRACT_SUFX= .tar.Z + +MAINTAINER= ari.suutari@syncrontech.com + +RUN_DEPENDS= ${LOCALBASE}/jdk1.3.1/bin/java:${PORTSDIR}/java/jdk13 + +NO_CDROM= "Sun has a funky license for this software" +RESTRICTED= "no commercial use" +NO_BUILD= YES + +WRKSRC= ${WRKDIR}/commapi +DISTDESCR= "the Java Communications API ${PORTVERSION} for Solaris/SPARC archive" +DOWNLOAD_URL= "http://java.sun.com/Download4?config-file=javacomm-${PORTVERSION:S/./_/g}.config&platform=solsparc&button=continue" +PORTDESTDIR= ${PREFIX}/jdk1.3.1/jre/lib/ext +DISTFILE= ${DISTNAME}${EXTRACT_SUFX} +DISTPATH= ${DISTDIR}/${DISTFILE} + +.if defined(BATCH) || defined(PACKAGE_BUILDING) +IGNORE= "Should be fetched manually" +.endif + +.include <bsd.port.pre.mk> + +.if !exists(${DISTPATH}) +IGNORE=You must manually fetch ${DISTDESCR} (${DISTFILE}) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again. +.endif + +do-install: + @${ECHO} -n ">> Copying comm.jar to ${PORTDESTDIR}..." + @${INSTALL_DATA} ${WRKSRC}/comm.jar ${PORTDESTDIR} + @${ECHO} " [ DONE ]" + +.include <bsd.port.post.mk> |