1999-06-10 10:10:15 +02:00
|
|
|
# New ports collection makefile for: tya
|
|
|
|
# Date created: 16 May 1999
|
2000-04-06 09:30:59 +02:00
|
|
|
# Whom: jburkhol@home.com
|
1999-06-10 10:10:15 +02:00
|
|
|
#
|
1999-08-25 08:16:32 +02:00
|
|
|
# $FreeBSD$
|
1999-06-10 10:10:15 +02:00
|
|
|
#
|
|
|
|
|
2000-04-12 08:21:15 +02:00
|
|
|
PORTNAME= tya
|
2003-10-27 19:56:27 +01:00
|
|
|
PORTVERSION= 1.8
|
1999-06-28 04:24:57 +02:00
|
|
|
CATEGORIES= java
|
2000-04-06 09:30:59 +02:00
|
|
|
MASTER_SITES= http://sax.sax.de/~adlibit/
|
2003-10-27 19:56:27 +01:00
|
|
|
DISTNAME= tya18
|
1999-06-10 10:10:15 +02:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2003-04-16 00:18:20 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A ``100% unofficial'' JIT-compiler for java
|
1999-06-10 10:10:15 +02:00
|
|
|
|
2002-06-16 03:54:07 +02:00
|
|
|
BUILD_DEPENDS= ${JAVADIR}/bin/java:${PORTSDIR}/java/jdk11
|
1999-06-10 10:10:15 +02:00
|
|
|
|
2000-07-21 19:22:35 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:S/a1/a1./}
|
1999-06-10 10:10:15 +02:00
|
|
|
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
|
2002-11-04 06:46:38 +01:00
|
|
|
USE_REINPLACE= yes
|
2000-09-11 09:37:23 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+= --with-jdk=${JAVADIR}
|
1999-06-10 10:10:15 +02:00
|
|
|
|
2001-09-10 20:28:51 +02:00
|
|
|
JAVADIR?= ${LOCALBASE}/jdk1.1.8
|
2000-09-11 09:37:23 +02:00
|
|
|
JAVALIBDIR= ${PREFIX}/lib/tya
|
1999-06-10 10:10:15 +02:00
|
|
|
|
2003-10-27 19:56:27 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} >= 500000
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e "s|-malign|-falign|g" ${WRKSRC}/Makefile.in
|
|
|
|
.endif
|
|
|
|
|
2000-09-25 09:32:43 +02:00
|
|
|
post-configure:
|
2002-11-04 06:46:38 +01:00
|
|
|
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/README
|
2000-09-25 09:32:43 +02:00
|
|
|
|
1999-06-10 10:10:15 +02:00
|
|
|
do-install:
|
2000-09-11 09:37:23 +02:00
|
|
|
@${MKDIR} ${JAVALIBDIR}
|
1999-06-10 10:10:15 +02:00
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/libtya.so ${JAVALIBDIR}
|
2003-10-27 19:56:27 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
|
1999-06-10 10:10:15 +02:00
|
|
|
@${ECHO_MSG} ""
|
2003-10-27 19:56:27 +01:00
|
|
|
@${ECHO_MSG} "See ${DOCSDIR}/README for usage instructions."
|
1999-06-10 10:10:15 +02:00
|
|
|
@${ECHO_MSG} ""
|
2003-10-27 19:56:27 +01:00
|
|
|
.endif
|
1999-06-10 10:10:15 +02:00
|
|
|
|
2003-10-27 19:56:27 +01:00
|
|
|
.include <bsd.port.post.mk>
|