1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00
freebsd-ports/java/sablevm/Makefile
Jung-uk Kim e2756cb835 - Reset maintainership. See ports/164941.
- Fix conflicts with java/classpath.  Note security provider configuration
is moved to ${PREFIX}/lib/security/SableVM.security.  This file is always
loaded first because the short vendor name is SableVM.  If it does not
exist, then classpath.security is loaded (java/security/Security.java).
- Reduce Makefile headers, add licenses, and convert to optionsNG.
2012-10-04 16:13:00 +00:00

53 lines
1.2 KiB
Makefile

# Creaetd by: Archie Cobbs <archie@freebsd.org>
# $FreeBSD$
PORTNAME= sablevm
PORTVERSION= 1.13
PORTREVISION= 10
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= popt:${PORTSDIR}/devel/popt \
ffi:${PORTSDIR}/devel/libffi
RUN_DEPENDS= fastjar:${PORTSDIR}/archivers/fastjar
GNU_CONFIGURE= yes
USE_AUTOTOOLS= libltdl
USE_GETTEXT= yes
USE_GMAKE= yes
USE_ICONV= yes
USE_LDCONFIG= yes
USE_PKGCONFIG= build
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --includedir=${PREFIX}/include/${PORTNAME}
OPTIONS_DEFINE= MAN SVMCP
OPTIONS_DEFAULT=MAN SVMCP
MAN_DESC= Build and install man pages
SVMCP_DESC= Install SableVM classpath
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MMAN}
MAN1= java-sablevm.1 sablevm.1
.endif
.if ${PORT_OPTIONS:MSVMCP}
RUN_DEPENDS+= ${LOCALBASE}/lib/sablevm-classpath/libjavalang.so:${PORTSDIR}/java/sablevm-classpath
.endif
post-extract:
@${REINPLACE_CMD} -e 's,^subdirs=".*,,' ${WRKSRC}/configure
.if empty(PORT_OPTIONS:MMAN)
@${REINPLACE_CMD} -e 's,^\(man_MANS = \).*,\1,' ${WRKSRC}/doc/Makefile.in
.endif
.include <bsd.port.mk>