freebsd-ports/java/tya/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00

55 lines
1.1 KiB
Makefile

# New ports collection makefile for: tya
# Date created: 16 May 1999
# Whom: jburkhol@home.com
#
# $FreeBSD$
#
PORTNAME= tya
PORTVERSION= 1.8
PORTREVISION= 2
CATEGORIES= java
MASTER_SITES= ${MASTER_SITE_LOCAL:S|%SUBDIR%|glewis/tya|}
DISTNAME= tya18
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= A ``100% unofficial'' JIT-compiler for java
USE_JAVA= yes
JAVA_VERSION= 1.3
JAVAOS= native
WRKSRC= ${WRKDIR}/${DISTNAME:S/a1/a1./}
ONLY_FOR_ARCHS= i386
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-jdk=${JAVA_HOME}
JAVALIBDIR= ${PREFIX}/lib/tya
post-patch:
@${REINPLACE_CMD} -e "s|-malign|-falign|g" ${WRKSRC}/Makefile.in
post-configure:
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/README
do-install:
@${MKDIR} ${JAVALIBDIR}
@${INSTALL_PROGRAM} ${WRKSRC}/libtya.so ${JAVALIBDIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
@${ECHO_MSG} ""
@${ECHO_MSG} "See ${DOCSDIR}/README for usage instructions."
@${ECHO_MSG} ""
.endif
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700042
BROKEN= Does not compile with GCC 4.2
.endif
.include <bsd.port.post.mk>