1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/java/sablevm/Makefile
Tijl Coosemans 15c4a5ecf3 Replace USE_AUTOTOOLS=libltdl with an ordinary LIB_DEPENDS in all ports.
There are only 60 such ports so there doesn't need to be a separate
keyword or USES for this.

Approved by:	portmgr (bapt)
2014-09-17 07:38:15 +00:00

40 lines
1015 B
Makefile

# $FreeBSD$
PORTNAME= sablevm
PORTVERSION= 1.13
PORTREVISION= 11
CATEGORIES= java devel
MASTER_SITES= SF
MAINTAINER= java@FreeBSD.org
COMMENT= Java VM created by McGill University's Sable Research Group
LICENSE= LGPL21
LIB_DEPENDS= libpopt.so:${PORTSDIR}/devel/popt \
libffi.so:${PORTSDIR}/devel/libffi \
libltdl.so:${PORTSDIR}/devel/libltdl
RUN_DEPENDS= fastjar:${PORTSDIR}/archivers/fastjar
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USES= gettext gmake iconv libtool pkgconfig
USE_LDCONFIG= yes
CONFIGURE_ARGS= --includedir=${PREFIX}/include/${PORTNAME}
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= SVMCP
OPTIONS_DEFAULT=SVMCP
SVMCP_DESC= Install SableVM classpath
SVMCP_RUN_DEPENDS= ${LOCALBASE}/lib/sablevm-classpath/libjavalang.so:${PORTSDIR}/java/sablevm-classpath
post-patch:
@${REINPLACE_CMD} -e 's,^subdirs=".*,,' ${WRKSRC}/configure
@${REINPLACE_CMD} -e '/^sablevm_LDADD =/s/$$/ -lpopt/' \
${WRKSRC}/src/sablevm/Makefile.in
.include <bsd.port.mk>