blob: 1f32cfc393a2c1c559723d23cdd9f461c8a9cec0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# 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= 1
CATEGORIES= comms java
MASTER_SITES= #
DISTNAME= javax_comm-${PORTVERSION:S/./_/g}-solsparc
EXTRACT_SUFX= .tar.Z
MAINTAINER= ari.suutari@syncrontech.com
COMMENT= Sun's Java Communications API
USE_JAVA= 1.3+
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"
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}\///}
.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>
|