freebsd-ports/java/sablevm/Makefile
Pav Lucistnik b0a5eaa553 - Update to 1.13
- Take maintainership
- Split classpath into separate port
- Switch to libffi-devel to allow build on !386

PR:		ports/118288, ports/118312
Submitted by:	Bjoern Koenig <bkoenig@alpha-tierchen.de>
2007-12-15 18:31:01 +00:00

49 lines
1.2 KiB
Makefile

# New ports collection makefile for: sablevm
# Date created: 9 July 2002
# Whom: Archie Cobbs <archie@freebsd.org>
#
# $FreeBSD$
#
PORTNAME= sablevm
PORTVERSION= 1.13
CATEGORIES= java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= sablevm
MAINTAINER= bkoenig@alpha-tierchen.de
COMMENT= Java VM created by McGill University's Sable Research Group
LIB_DEPENDS= popt:${PORTSDIR}/devel/popt \
ffi:${PORTSDIR}/devel/libffi-devel
GNU_CONFIGURE= yes
USE_AUTOTOOLS= libltdl
USE_GMAKE= yes
USE_LDCONFIG= yes
CONFIGURE_ENV= CFLAGS="-I${PREFIX}/include -L${PREFIX}/lib -I${LOCALBASE}/include -L${LOCALBASE}/lib"
OPTIONS= SVMCP "Install SableVM classpath" ON \
MAN "Build and install man pages" ON
CONFLICTS= classpath-*
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_SVMCP)
RUN_DEPENDS+= ${LOCALBASE}/share/sablevm-classpath/java/lang/Object.class:${PORTSDIR}/java/sablevm-classpath
.endif
.if !defined(WITHOUT_MAN)
MAN1= java-sablevm.1 sablevm.1
.else
.endif
post-extract:
@${REINPLACE_CMD} -e 's,^subdirs=".*,,' ${WRKSRC}/configure
.if defined(WITHOUT_MAN)
@${REINPLACE_CMD} -e 's,^\(man_MANS = \).*,\1,' ${WRKSRC}/doc/Makefile.in
.endif
.include <bsd.port.post.mk>