summaryrefslogtreecommitdiff
path: root/lang/ETHOberonV4/Makefile
blob: d1bd746ef9535b17874ccfec8729c2b825c79378 (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
# 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

# XXX - how to fix the following?
RUN_DEPENDS=	/compat/linux/usr/i486-linux-libc5/lib/libc.so.5:${PORTSDIR}/emulators/linux_base

ONLY_FOR_ARCHS=	i386
NO_CDROM=	licensing
NO_PACKAGE=	no version number on distfile
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>