1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/java/sablevm/Makefile
Mathieu Arnold cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00

38 lines
942 B
Makefile

PORTNAME= sablevm
PORTVERSION= 1.13
PORTREVISION= 13
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:devel/popt \
libffi.so:devel/libffi \
libltdl.so:devel/libltdl
RUN_DEPENDS= fastjar: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: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>