summaryrefslogtreecommitdiff
path: root/emulators/hercules/Makefile
blob: 4681433abd671d2d9205c97e5e8c67dc03bd068c (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
# $NetBSD: Makefile,v 1.23 2010/01/17 08:00:47 dholland Exp $

DISTNAME=		hercules-2.11
PKGREVISION=		4
CATEGORIES=		emulators
MASTER_SITES=		http://www.conmicro.cx/hercules/

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://www.conmicro.cx/hercules/
COMMENT=		S370 emulator

PKG_DESTDIR_SUPPORT=	user-destdir

DEPENDS+=		hercules-images-[0-9]*:../../emulators/hercules-images

USE_TOOLS+=		gmake bash:run
MAKE_FILE=		makefile
MAKE_ENV+=		HOST_ARCH=${MACHINE_ARCH:Q}

REPLACE_BASH+=		dasdlist

PTHREAD_OPTS+=		require

INSTALLATION_DIRS+=	bin share/examples/hercules
SPECIAL_PERMS+=		${PREFIX}/bin/hercifc ${SETUID_ROOT_PERMS}

pre-install:
	${INSTALL_DATA} ${WRKSRC}/hercules.cnf ${DESTDIR}${PREFIX}/share/examples/hercules/
	${INSTALL_DATA} ${WRKSRC}/zzsa.cnf ${DESTDIR}${PREFIX}/share/examples/hercules/

.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"