aboutsummaryrefslogtreecommitdiffstats
path: root/lang/ETHOberonV4/Makefile
blob: 3e26e983c3b6bcfa3b4492a32ee1451c95b1ef3f (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
36
37
38
39
40
41
42
43
44
45
46
# New ports collection makefile for:    ETHOberonV4
# Date created:     12 July 1998
# Whom:         Jerry Hicks <jhicks@glenatl.glenayre.com>
#
# $FreeBSD$
#

PORTNAME=   ETHOberonV4
PORTVERSION=    0.9
CATEGORIES= lang linux
MASTER_SITES=   ftp://ftp.inf.ethz.ch/pub/Oberon/OberonV4/Linux/latest/
DISTNAME=   ETHLinuxOberon
EXTRACT_SUFX=   .tgz

MAINTAINER= jhicks@glenatl.glenayre.com
COMMENT=    Oberon-2/V4 from ETH (Linux emulation)

BROKEN=     "Does not run"
NO_CDROM=   licensing
NO_PACKAGE= no version number on distfile

ONLY_FOR_ARCHS= i386

USE_LINUX=  yes
WRKSRC=     ${WRKDIR}/${UNTAR_DIR}
UNTAR_DIR=  usr/local/ETHOberon

do-build:
    @${RM} -fr ${WRKSRC}/.Fonts
    @${ECHO_MSG} "Do a \`make install' as root."

do-install:
    @(if [ ! -d ${PREFIX}/lib ] ; then \
        ${MKDIR} ${PREFIX}/lib ; \
    fi)
    @(if [ -e ${PREFIX}/lib/ETHOberonV4 ] ; then \
        ${ECHO_MSG} "error: ${PREFIX}/lib/ETHOberonV4 already exists" 1>&2 ; \
        exit 1 ; \
    fi)
    @${MV} ${WRKSRC} ${PREFIX}/lib/ETHOberonV4
    @${SCRIPTDIR}/MakeStartV4 ${PREFIX}
    @${ECHO_MSG} ""
    @${ECHO_MSG} " '${PREFIX}/bin/StartV4' will launch ETH Oberon V4"
    @${ECHO_MSG} ""

.include <bsd.port.mk>