2004-02-22 21:34:31 +00:00
|
|
|
# New ports collection makefile for: jc
|
|
|
|
# Date created: 20 Feb 2004
|
|
|
|
# Whom: Archie Cobbs <archie@freebsd.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= jc
|
2005-11-27 16:42:42 +00:00
|
|
|
PORTVERSION= 1.4.7
|
2006-02-23 10:40:44 +00:00
|
|
|
PORTREVISION= 1
|
2004-02-22 21:34:31 +00:00
|
|
|
CATEGORIES= java
|
2004-12-29 14:55:37 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR=jcvm/
|
2004-02-22 21:34:31 +00:00
|
|
|
|
2006-11-25 16:46:44 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2004-02-22 21:34:31 +00:00
|
|
|
COMMENT= JVM that converts class files to C source and compiles them with GCC
|
|
|
|
|
2005-05-11 14:59:58 +00:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/share/classpath/glibj.zip:${PORTSDIR}/java/classpath
|
2005-04-25 20:44:19 +00:00
|
|
|
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
|
2004-02-22 21:34:31 +00:00
|
|
|
|
2006-03-06 20:34:58 +00:00
|
|
|
NO_PACKAGE= Takes too many resources to build
|
|
|
|
|
2004-12-28 21:23:14 +00:00
|
|
|
MAN1= jc.1
|
|
|
|
|
2004-12-29 14:55:37 +00:00
|
|
|
USE_JAVA= yes
|
2004-02-22 21:34:31 +00:00
|
|
|
USE_GMAKE= yes
|
2005-04-25 20:44:19 +00:00
|
|
|
JAVA_BUILD= jre
|
2004-02-22 21:34:31 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2004-12-29 14:55:37 +00:00
|
|
|
CONFIGURE_ARGS= --with-classpath=${LOCALBASE}
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
|
2004-02-22 21:34:31 +00:00
|
|
|
INFO= jc
|
2004-02-23 23:08:53 +00:00
|
|
|
ONLY_FOR_ARCHS= i386
|
2004-02-22 21:34:31 +00:00
|
|
|
|
2004-12-29 14:55:37 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
2004-02-22 21:34:31 +00:00
|
|
|
|
2004-12-29 14:55:37 +00:00
|
|
|
post-install:
|
2005-01-10 20:12:54 +00:00
|
|
|
.for dir in ${PREFIX}/include/jc ${PREFIX}/lib/jc ${PREFIX}/share/jc
|
2004-12-29 14:55:37 +00:00
|
|
|
@${FIND} ${dir} ! -type d | \
|
|
|
|
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
|
|
|
|
@${FIND} ${dir} -type d | ${SORT} -r | \
|
|
|
|
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
|
2005-01-13 02:47:03 +00:00
|
|
|
@if [ -f ${PREFIX}/lib/libjc.a ]; then \
|
|
|
|
${ECHO} lib/libjc.a >> ${TMPPLIST}; \
|
|
|
|
fi
|
2004-12-29 14:55:37 +00:00
|
|
|
.endfor
|
2004-02-22 21:34:31 +00:00
|
|
|
|
2004-12-29 14:55:37 +00:00
|
|
|
.include <bsd.port.post.mk>
|