pkgsrc/emulators/klh10/Makefile
ryoon 1d79531a39 Import klh10-2.0h as emulators/klh10.
PDP-10 KL10B model emulator. KL10B model supports extended addressing.
Tap networking support is from http://www.falu.nl/~rhialto/klh-diffs2 .

This package is potentially built on i386, amd64, arm, alpha, sparc,
and powerpc platforms. But this package supports i386 and amd64 only now,
and only amd64 build is tested, due to lack of my test environments.
2013-10-17 15:41:09 +00:00

32 lines
817 B
Makefile

# $NetBSD: Makefile,v 1.1 2013/10/17 15:41:09 ryoon Exp $
DISTNAME= panda-dist
PKGNAME= klh10-2.0h
CATEGORIES= emulators
MASTER_SITES= http://panda.trailing-edge.com/
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= http://panda.trailing-edge.com/
COMMENT= PDP-10 KL10B CPU model emulator
#LICENSE= # KLH10 Free-Fork License
DIST_SUBDIR= ${PKGNAME_NOREV}
WRKSRC= ${WRKDIR}/${DISTNAME}/klh10-2.0h
USE_TOOLS+= pax
BUILD_DIRS= bld/nbx86
BUILD_TARGET= base-kl
CFLAGS+= -DKLH10_NET_TAP_BRIDGE
INSTALL_MAKE_FLAGS+= KLH10_HOME=${DESTDIR}${PREFIX}/share/klh10/bin
post-install:
cd ${WRKSRC}/run; ${FIND} . -type f \! -name '*.orig' -print | \
pax -rw ${DESTDIR}${PREFIX}/share/klh10
cd ${WRKSRC}/doc; ${FIND} . -type f \! -name '*.orig' -print | \
pax -rw ${DESTDIR}${PREFIX}/share/klh10
.include "../../mk/bsd.pkg.mk"