aboutsummaryrefslogtreecommitdiffstats
path: root/java/javavmwrapper/Makefile
blob: 2df0c9dc8af3ff000e33dda119fcc92bf6e524b1 (plain) (blame)
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
# New ports collection makefile for:    javavmwrapper
# Date created:             10 June 2000
# Whom:                 Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
# This port is self contained in the src directory.
#

PORTNAME=   javavmwrapper
PORTVERSION=    1.2
CATEGORIES= java
MASTER_SITES=   # none
DISTFILES=  # none

MAINTAINER= sobomax@FreeBSD.org

NO_BUILD=   yes
NO_WRKSUBDIR=   yes

SRC=        ${.CURDIR}/src

do-fetch:
    @${DO_NADA}

do-configure:
    ${SED} 's|%%PREFIX%%|${PREFIX}|' \
        < ${SRC}/javavmwrapper.sh > ${WRKDIR}/javavmwrapper.sh

do-install:
    ${INSTALL_SCRIPT} ${WRKDIR}/javavmwrapper.sh ${PREFIX}/bin/javavm
    ${LN} -sf ${PREFIX}/bin/javavm ${PREFIX}/bin/registervm
    ${LN} -sf ${PREFIX}/bin/javavm ${PREFIX}/bin/unregistervm

.include <bsd.port.mk>