1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/java/jc/Makefile

48 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-07-26 19:36:13 +00:00
PORTVERSION= 1.4.6
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
2004-12-28 21:23:14 +00:00
MAN1= jc.1
2004-07-26 14:28:11 +00:00
USE_LIBTOOL_VER=15
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>