1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/comms/java-commapi/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00

52 lines
1.3 KiB
Makefile

# 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.3
PORTREVISION= 3
CATEGORIES= comms java
MASTER_SITES= #
DISTNAME= comm${PORTVERSION}
MAINTAINER= ari.suutari@syncrontech.com
COMMENT= Sun's Java Communications API
USE_ZIP= yes
USE_JAVA= yes
JAVA_VERSION= 1.3+
NO_CDROM= Sun has a funky license for this software
RESTRICTED= no commercial use
NO_BUILD= YES
WRKSRC= ${WRKDIR}
DISTDESCR= "the Java Communications API ${PORTVERSION} for Solaris/SPARC"
DOWNLOAD_URL= "http://java.sun.com/products/javacomm/"
PORTDESTDIR= ${JAVA_HOME}/jre/lib/ext
DISTFILE= ${DISTNAME}${EXTRACT_SUFX}
DISTPATH= ${DISTDIR}/${DISTFILE}
PLIST_SUB+= JAVA_HOME=${JAVA_HOME:S/${PREFIX}\///}
PLIST_FILES+= %%JAVA_HOME%%/jre/lib/ext/comm.jar
.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>