summaryrefslogtreecommitdiff
path: root/emulators/compat11/Makefile
blob: e2db42df6a4654edb6f1a2bab2f7dadc92da8479 (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
# $NetBSD: Makefile,v 1.4 1998/04/15 10:38:23 agc 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 "../../mk/bsd.pkg.mk"

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