summaryrefslogtreecommitdiff
path: root/emulators/compat12/Makefile
blob: 75ea522c448664d92401df646809cb5272455768 (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
# $NetBSD: Makefile,v 1.4 1998/04/15 10:38:23 agc Exp $
#

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

MAINTAINER=	tv@netbsd.org

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