aboutsummaryrefslogtreecommitdiffstats
path: root/comms/rxtx/Makefile
blob: 66031f8c8dcf70687c66eab7e498b21a6858a1a5 (plain) (blame)
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
# Created by: Jean-Baptiste Quenot <jb.quenot@caraldi.com>
# $FreeBSD$

PORTNAME=   rxtx
PORTVERSION=    2.2p2
PORTREVISION=   2
CATEGORIES= comms java
MASTER_SITES=   http://rxtx.qbang.org/pub/rxtx/ \
        ftp://jarvi.dsl.frii.com/pub/rxtx/
PKGNAMESUFFIX=  -${JAVA_PORT:S/java\///}
DISTNAME=   ${PORTNAME}-${PORTVERSION:S/p/pre/}

MAINTAINER= james@elstone.net
COMMENT=    Native interface to serial ports in Java

USES=       gmake libtool zip
USE_LINUX=  c6

USE_JAVA=   yes
JAVA_VERSION=   1.6+
JAVA_OS=    native
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  JAVA_HOME=${JAVA_HOME}
INSTALL_TARGET= install-strip

USE_LDCONFIG=   yes

PLIST_SUB=  ARCH=${ARCH} JAVA_HOME=${JAVA_HOME:S,^${PREFIX}/,,}

.include <bsd.port.mk>