summaryrefslogtreecommitdiffstats
path: root/java/sablevm/Makefile
blob: 844bee395ad11887fb9329121ca0e8f4881107bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# New ports collection makefile for:    sablevm
# Date created:         		9 July 2002
# Whom:                 		Archie Cobbs <archie@freebsd.org>
#
# $FreeBSD$
#

PORTNAME=	sablevm
PORTVERSION=	1.1.6
PORTREVISION=	2
CATEGORIES=	java
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=sablevm
DISTFILES=	${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
		${PORTNAME}-classpath-${PORTVERSION}${EXTRACT_SUFX}

MAINTAINER=	roman@ontographics.com
COMMENT=	Java VM created by McGill University's Sable Research Group

BUILD_DEPENDS=	jikes:${PORTSDIR}/java/jikes
LIB_DEPENDS=	popt:${PORTSDIR}/devel/popt \
		ffi:${PORTSDIR}/devel/libffi \
		gtk-x11-2.0:${PORTSDIR}/x11-toolkits/gtk20 \
		art_lgpl_2:${PORTSDIR}/graphics/libart_lgpl2

USE_AUTOCONF_VER=259
#GNU_CONFIGURE=	yes
USE_GMAKE=	yes
USE_LIBTOOL_VER=15
USE_LIBLTDL=	yes
INSTALLS_SHLIB=	yes
PLIST_SUB=	PORTVERSION=${PORTVERSION}
CONFIGURE_ENV=	CFLAGS="-I${PREFIX}/include -L${PREFIX}/lib"
ONLY_FOR_ARCHS=	i386

MAN1=		java-sablevm.1 sablevm.1

INFO=		hacking vmintegration

# Directories for the SableVM source components
SABLEVMDIR=	${PORTNAME}-${PORTVERSION}
CLASSPATHDIR=	${PORTNAME}-classpath-${PORTVERSION}

post-build:
		@${ECHO} "===>    ${CLASSPATHDIR}"
		@( cd ${.CURDIR} && ${MAKE} do-configure \
		    CONFIGURE_WRKSRC=${WRKDIR}/${CLASSPATHDIR})
		@( cd ${.CURDIR} && ${MAKE} do-build \
		    BUILD_WRKSRC=${WRKDIR}/${CLASSPATHDIR} )

post-install:
		@${ECHO} "===>    ${CLASSPATHDIR}"
		@( cd ${.CURDIR} && ${MAKE} do-install \
		    INSTALL_WRKSRC=${WRKDIR}/${CLASSPATHDIR} )

.include <bsd.port.mk>
OpenPOWER on IntegriCloud