1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/java/jc/Makefile

50 lines
1.2 KiB
Makefile
Raw Normal View History

# 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
PORTREVISION= 1
CATEGORIES= java
2004-12-29 14:55:37 +00:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=jcvm/
MAINTAINER= archie@freebsd.org
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
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
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
USE_GMAKE= yes
JAVA_BUILD= jre
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"
INFO= jc
ONLY_FOR_ARCHS= i386
2004-12-29 14:55:37 +00:00
.include <bsd.port.pre.mk>
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}
@if [ -f ${PREFIX}/lib/libjc.a ]; then \
${ECHO} lib/libjc.a >> ${TMPPLIST}; \
fi
2004-12-29 14:55:37 +00:00
.endfor
2004-12-29 14:55:37 +00:00
.include <bsd.port.post.mk>