aboutsummaryrefslogtreecommitdiffstats
path: root/comms/rxtx/Makefile
blob: 1d184fb6952718cd7f5e42b3f6735422f6dc3142 (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
31
32
# Created by: Jean-Baptiste Quenot <jb.quenot@caraldi.com>
# $FreeBSD$

PORTNAME=   rxtx
PORTVERSION=    2.2p2
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= mirror176@cox.net
COMMENT=    Native interface to serial ports in Java

USE_ZIP=    yes
USE_GMAKE=  yes
USE_JAVA=   yes
JAVA_VERSION=   1.6+
JAVA_OS=    native
GNU_CONFIGURE=  yes

USE_LDCONFIG=   yes
CONFIGURE_ENV=  JAVA_HOME=${JAVA_HOME}
PREFIX=     ${JAVA_HOME}/jre
NO_MTREE=   yes

PLIST_SUB=  ARCH=${ARCH}

post-patch:
    @${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure ${WRKSRC}/ltconfig

.include <bsd.port.mk>