mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
090059a210
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)
50 lines
1.2 KiB
Makefile
50 lines
1.2 KiB
Makefile
# New ports collection makefile for: jc
|
|
# Date created: 20 Feb 2004
|
|
# Whom: Archie Cobbs <archie@freebsd.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= jc
|
|
PORTVERSION= 1.4.7
|
|
PORTREVISION= 3
|
|
CATEGORIES= java
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR=jcvm/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= JVM that converts class files to C source and compiles them with GCC
|
|
|
|
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
|
|
|
|
MAN1= jc.1
|
|
|
|
USE_JAVA= yes
|
|
USE_GMAKE= yes
|
|
JAVA_BUILD= jre
|
|
USE_LDCONFIG= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-classpath=${LOCALBASE}
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
|
|
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
|
|
INFO= jc
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-install:
|
|
.for dir in ${PREFIX}/include/jc ${PREFIX}/lib/jc ${PREFIX}/share/jc
|
|
@${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
|
|
.endfor
|
|
|
|
.include <bsd.port.post.mk>
|