2002-07-09 18:08:30 -04:00
|
|
|
# New ports collection makefile for: sablevm
|
|
|
|
# Date created: 9 July 2002
|
|
|
|
# Whom: Archie Cobbs <archie@freebsd.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= sablevm
|
2007-12-15 13:31:01 -05:00
|
|
|
PORTVERSION= 1.13
|
2012-06-01 01:26:28 -04:00
|
|
|
PORTREVISION= 9
|
2008-04-04 08:59:53 -04:00
|
|
|
CATEGORIES= java devel
|
2008-02-21 05:06:57 -05:00
|
|
|
MASTER_SITES= SF
|
2002-07-09 18:08:30 -04:00
|
|
|
|
2007-12-15 13:31:01 -05:00
|
|
|
MAINTAINER= bkoenig@alpha-tierchen.de
|
2003-03-07 01:14:21 -05:00
|
|
|
COMMENT= Java VM created by McGill University's Sable Research Group
|
2002-07-09 18:08:30 -04:00
|
|
|
|
2004-06-17 11:25:29 -04:00
|
|
|
LIB_DEPENDS= popt:${PORTSDIR}/devel/popt \
|
2008-02-21 05:06:57 -05:00
|
|
|
ffi:${PORTSDIR}/devel/libffi
|
2002-07-09 18:08:30 -04:00
|
|
|
|
2007-12-15 13:31:01 -05:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_AUTOTOOLS= libltdl
|
2002-07-09 18:08:30 -04:00
|
|
|
USE_GMAKE= yes
|
2008-04-04 08:59:53 -04:00
|
|
|
USE_GETTEXT= yes
|
|
|
|
USE_ICONV= yes
|
2007-07-03 08:47:23 -04:00
|
|
|
USE_LDCONFIG= yes
|
2003-06-26 18:58:32 -04:00
|
|
|
|
2008-04-04 08:59:53 -04:00
|
|
|
USE_GNOME= pkgconfig
|
|
|
|
PKG_CONFIG?= ${LOCALBASE}/bin/pkg-config
|
2011-09-23 18:26:39 -04:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include `${PKG_CONFIG} libffi --cflags`
|
2008-06-21 05:20:11 -04:00
|
|
|
CONFIGURE_ARGS= --includedir=${PREFIX}/include/${PORTNAME}
|
2007-12-15 13:31:01 -05:00
|
|
|
|
|
|
|
OPTIONS= SVMCP "Install SableVM classpath" ON \
|
|
|
|
MAN "Build and install man pages" ON
|
2002-08-15 19:17:48 -04:00
|
|
|
|
2007-12-15 13:31:01 -05:00
|
|
|
CONFLICTS= classpath-*
|
2004-02-23 17:01:29 -05:00
|
|
|
|
2007-12-15 13:31:01 -05:00
|
|
|
.include <bsd.port.pre.mk>
|
2002-08-19 01:10:00 -04:00
|
|
|
|
2007-12-15 13:31:01 -05:00
|
|
|
.if !defined(WITHOUT_SVMCP)
|
2008-04-04 08:59:53 -04:00
|
|
|
RUN_DEPENDS+= ${LOCALBASE}/lib/sablevm-classpath/libjavalang.so:${PORTSDIR}/java/sablevm-classpath
|
2007-12-15 13:31:01 -05:00
|
|
|
.endif
|
2007-07-03 08:47:23 -04:00
|
|
|
|
2007-12-15 13:31:01 -05:00
|
|
|
.if !defined(WITHOUT_MAN)
|
|
|
|
MAN1= java-sablevm.1 sablevm.1
|
|
|
|
.endif
|
2002-08-15 19:17:48 -04:00
|
|
|
|
2007-12-15 13:31:01 -05:00
|
|
|
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
|
2002-07-09 18:08:30 -04:00
|
|
|
|
2007-12-15 13:31:01 -05:00
|
|
|
.include <bsd.port.post.mk>
|