aboutsummaryrefslogtreecommitdiff
path: root/comms/rxtx/Makefile
blob: a0e4349251dcc273b568c6f8ebaa82e05acfa236 (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
33
34
# New ports collection makefile for:	rxtx
# Whom:					Jean-Baptiste Quenot <jb.quenot@caraldi.com>
# Date Created:				2004-04-10 00:15:35
#
# $FreeBSD$
#

PORTNAME=	rxtx
PORTVERSION=	2.1.7r2
PORTREVISION=	1
CATEGORIES=	comms java
MASTER_SITES=	ftp://jarvi.dsl.frii.com/pub/rxtx/
PKGNAMESUFFIX=	-${JAVA_PORT:S/java\///}
DISTNAME=	${PORTNAME}-${PORTVERSION:C/\.([^\.]*)$/-\1/:S/p/pre/}

MAINTAINER=	jb.quenot@caraldi.com
COMMENT=	Native interface to serial ports in Java

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

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

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

.include <bsd.port.mk>