summaryrefslogtreecommitdiff
path: root/emulators/compat11/Makefile
blob: 19e538fe089a3b476ec1035ed6f1e2cc248f03e9 (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
# New ports collection makefile for:    compat11
# Version required:	1.1
# Date created:         17 Mar 1998
# Whom:                 tv@netbsd.org
#
# $NetBSD: Makefile,v 1.3 1998/03/26 17:35:39 tv Exp $
#

DISTNAME=	compat11
CATEGORIES=	emulators
MASTER_SITES=	${MASTER_SITE_LOCAL}
EXTRACT_SUFX=	_${ARCH}.tgz

MAINTAINER=	tv@netbsd.org

LIB_DEPENDS=	edit.0.:${PORTSDIR}/emulators/compat12 \
		g++.3.:${PORTSDIR}/emulators/compat12 \
		util.3.:${PORTSDIR}/emulators/compat12

HAS_CONFIGURE=	yes
NO_BUILD=	yes
WRKSRC=		${WRKDIR}/usr/lib
PLIST_SRC=	${WRKSRC}/.PLIST

pre-fetch:
	@case ${ARCH} in \
		amiga|atari|hp300|i386|mac68k|mvme68k|pc532|sparc|sun3) ;; \
		*) ${ECHO_MSG} "This package cannot be built on ${ARCH}."; exit 1;; \
	esac

pre-configure:
	@${INSTALL} -c -m 755 ${FILESDIR}/configure ${WRKSRC}

post-install:
	${LDCONFIG} || ${TRUE}

.include <bsd.port.mk>

# for sun3x in 1.3.x, get sun3 package
.if (${ARCH} == "sun3x")
ARCH=	sun3
.endif